thomas_b
26th August 2004, 16:23
Good morning,

I'm curious if anyone out there has any sample device drivers for HP laserjet printers, printing from AIX. We've tried using the standard ones Baan provided, and have run into some problems.

Appreciate any feedback.

Thanks

~Vamsi
26th August 2004, 18:54
What kind of problems?

thomas_b
26th August 2004, 23:07
Sorry, I wasn't more specific originally. The problems thusfar include unrecognizable characters printing in place of the lines. Also, landscape printing wraps at the same character width as portrait.

Appreciate any feedback or advice.

Thanks

~Vamsi
27th August 2004, 01:16
Is there some one from Nilfisk-Advance (http://www.nilfisk-advance.com) on the board? About five years ago I had a brief consulting stint at that company. The solution turned out to be something in the way the printers were setup in AIX. If memory serves me correctly no changes had to be made to the HP drivers supplied by Baan.

The problems we had were with the line spacing and line drawing characters.

Here is one way to troubleshoot your problem. Run the code from http://www.baanboard.com/baanboard/showthread.php?t=5824. You should have an output file. FTP the file with binary option to the windows system and then issue a copy command as follows:

copy sourcefile \\printserver\printer /b

If the printout looks good, then you know that the printer setup in Unix is the culprit.

thomas_b
27th August 2004, 17:07
Vamsi,

Thanks for the help. I ran the script and the printout turned out fine, indicating the problem is most likely in the printer setup. I'm having my unix admin have a look and we'll try it with some different setup options. If you have any specifics regarding the printer setup, please let me know.

I really appreciate the help.

Thanks

~Vamsi
27th August 2004, 18:24
Thomas,

Post the device setup of the printer in Baan from session ttaad3100s000.

thomas_b
27th August 2004, 19:55
Attached is a screenshot of the device setup in ttaad3100m000

~Vamsi
27th August 2004, 22:05
Thomas,

I need to read your responses more clearly :).
landscape printing wraps at the same character width as portrait.

That is a clear indication that the lp command is formatting the file you are passing it.

O' Mighty Unix Gurus!
What does Thomas need to do so that lp does not do any additional formatting.

Will -oraw work?

While the Gurus think about it, how about changing your device queue to:
lpr -Pgna_pr05 -t -#%d %s
Try that incantation first at the command prompt.

thomas_b
27th August 2004, 23:26
Vamsi,

Appreciate all the help. We've pretty much resolved the issue. There is a printer setting in AIX called Printer File Type, or something along those lines. Anyhow, there are 5 options, ASCII, PCL, Postscript, Passthrough, and one that I can't recall. The printer was setup with the ASCII option, so on a hunch, we changed it to passthrough. This changed corrected the formatting problems we were having. My guess is that the passthrough option suppressed any internal formatting done by the lp command and let the device drivers control the format. We still have a minor issue with a blank page printing after each report, which we're currently working on.

Thanks,
Thomas

~Vamsi
27th August 2004, 23:32
Thomas,

Can I request you to document this in the Wiki.