Operating System - HP-UX
1823065 Members
3065 Online
109645 Solutions
New Discussion юеВ

Re: Printing problem from HP-UX to Panasonic FP-D605

 
Igor Baranov
Advisor

Printing problem from HP-UX to Panasonic FP-D605

Hello,
I have HP -UX 11 connected to Panasonic printer through the network.
I have problem with printing. The right side for every page is cats off.
I was trying to use lp ???olandscape but it does not print as a landscape.
Is any body can help?
Thanks a lot for all advices.
7 REPLIES 7
Hai Nguyen_1
Honored Contributor

Re: Printing problem from HP-UX to Panasonic FP-D605

Can you try this and see if it helps?

# pr file_to_print | lp

Hai
Igor Baranov
Advisor

Re: Printing problem from HP-UX to Panasonic FP-D605

Thanks. I did it but unfortunally the same problem.
Jeff Schussele
Honored Contributor

Re: Printing problem from HP-UX to Panasonic FP-D605

Hi Igor,

Did you try lp -oc like I suggested on your earlier post?
Is this printer set to emulate an HP LaserJet?

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Igor Baranov
Advisor

Re: Printing problem from HP-UX to Panasonic FP-D605

Hi Jeff,
Yes I did. But I have the same problem.
I am using standard BSD interface. But this interface does not have a landscape option.
Probably you can recommend how can I put this option.
Thanks a lot!
Igor
Bill Hassell
Honored Contributor

Re: Printing problem from HP-UX to Panasonic FP-D605

There are no -o options available to a remote printer. -olandscape requires knowing the printer's language (Postscript, PCL, etc) and adding the appropriate codes where necessary. Remote printing in HP-UX requires that all special formatting and printing options be performed locally before using the lp command. This is a common feature for SysV versions of the spooling subsystem.


Bill Hassell, sysadmin
Igor Baranov
Advisor

Re: Printing problem from HP-UX to Panasonic FP-D605

Thank you Bill!
So, what is solution can be?
Thanks.
Bill Hassell
Honored Contributor

Re: Printing problem from HP-UX to Panasonic FP-D605

HP-UX provides good support for HP LaserJet printers (minimal support for HP DeskJets and other inkjet printers) using HP's JetDirect interface cards (or external JetDirect box). However, unless the Panasonic printer uses the HP PCL printer language, you've got a lot of script writing to do. Unlike PC Windows, there is no printing subsystem where images are created in a universal meta-language which is then translated to the target printer using a driver.

Now the good news is that most print jobs on HP-UX are simple ASCII files and the only filter you need for remote printers is ux2dos as in:

ux2dos /some_file | lp -dremote_printer

Or if the printer allows setting options from the front panel, tell the printer to treat LF as if CR+LF then ux2dos would not be necessary. As far as setting landscape mode, you would have to dig out the Panasonic technical reference manual to determine how to change the fonts or rotate the image using special characters or escape sequences.

If the Panasonic printer supports PCL as a printer language (ie, ASCII with HP enhancements) then you can connect the printer to the network through a parallel cable to an HP JetDirect external box. That way, PCs as well as HP-UX would have direct access to the printer and the JetDirect software in HP-UX and -olandscape will work just fine (assuming the Panasonic is PCL-compatible).


Bill Hassell, sysadmin