Operating System - HP-UX
1833776 Members
2156 Online
110063 Solutions
New Discussion

format of the printing job

 
SOLVED
Go to solution
Olga_1
Regular Advisor

format of the printing job

Hello,
How to specify in the command line the desired format of the printing job (letter, legal), when printing a pdf file on a network printer.

Thank you.
12 REPLIES 12
Pete Randall
Outstanding Contributor
Solution

Re: format of the printing job

lp -o letter

--or--

lp -o legal


Pete

Pete
RAC_1
Honored Contributor

Re: format of the printing job

Depends on the interface script you are using.

It should be lp -o letter/lp -o legal
There is no substitute to HARDWORK
Olga_1
Regular Advisor

Re: format of the printing job

in both cases -o legal or -o letter it prints in letter format
Pete Randall
Outstanding Contributor

Re: format of the printing job

When you say a "network printer", how is it connected?

Pete

Pete
Pete Randall
Outstanding Contributor

Re: format of the printing job

I guess I could be a little more specific - is the printer defined with JetAdmin/HP Printer Installer? Or is it defined as a simple remote printer through SAM?

We have a Novell network with all the printers defined on it and then defined as remote on the HP side. Printer options do not seem to work in this configuration.

Pete

Pete
Olga_1
Regular Advisor

Re: format of the printing job

Pete,

This is exactly what we have:
a Novell network with all the printers defined on it and then defined as remote on the HP side.

So there is no work around it?
Pete Randall
Outstanding Contributor

Re: format of the printing job

Olga,

It's my understanding that the only way to fix it is to use JetAdmin or HPPI. It's on my todo list to try it - maybe by next Christmas I'll find a chance.

Pete

Pete
Olga_1
Regular Advisor

Re: format of the printing job

Pete, Anil,
I do not know how it happened that I assigned you "0" points. I was choosing 10.
Sorry ....
Pete Randall
Outstanding Contributor

Re: format of the printing job

No problem, Olga. If you do get a chance to try HPPI, I'll be interested to hear how it turns out.

Pete

Pete
Bill Hassell
Honored Contributor

Re: format of the printing job

You are out of luck since the printers are remote, not directly connected using HP JetDirect cards. hppi (the HP Printer Installer) works *only* with printers that have HP JetDirect cards installed. Remote printers (those connected to a server such as Novell) will ignore *all* -o options. This is a feature of SysV remote printing which HP-UX uses. HP-UX can specify -o options for lp but they are passed over to the server for processing. If the server is another HP-UX box, all is well assuming that the remote box's printer script understands the -o options being used.

But if the box is not HP-UX (ie, Windows_something) then the options are silently thrown away. You'll have to include the appropriate codes inside the print job, virtually impossible without support from the Acrobat Reader program. Unlike Windows, HP-UX provides no printer subsystem and associated drivers. In Windows, all print requests use a meta-language that is translated into the appropriate data stream by the driver. In HP-UX (and most other Unices) the spooler simply passes the output to the printer, sometime prepending or postpending control codes. An exception is BSD style printing where there are local formatters thatt can translate jobs before sending them off to be printed.


Bill Hassell, sysadmin
Yogeeraj_1
Honored Contributor

Re: format of the printing job

hi,

We were in the same situation as you and could not find any better solution than using JetAdmin or HPPI.

Hope this helps!
Best Regards
Yogeeraj


No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Olga_1
Regular Advisor

Re: format of the printing job

The point assingnment works funny. I assigned 9 point to Yogeeraj, but it came out as 0 points.

OK I installed HPPI, but -o does not work.
Probably Bill is right.

Yogeeraj, you said that HPPI helped you to get -o working, right? Did you have to re-configure the printer itself to get it working?

Thank you.