Operating System - HP-UX
1833732 Members
2747 Online
110063 Solutions
New Discussion

Re: HPUX11.0 lp command options

 
Roger Waldersen
Occasional Contributor

HPUX11.0 lp command options

The HPUX11.0 printer configuration file for our LaserJet 5si does not support options for paper size and layout, like they used to in HPUX10.2. Is there a work around that allows these lp options to be restored. Example

lp -daetd111111 -olandscape -otray3
3 REPLIES 3
Ted Ellis_2
Honored Contributor

Re: HPUX11.0 lp command options

hmmm... that does not seem right. We are not using 5si printers, but we do use more than a dozen different flavors of HP laser jet and they are all supporting the options you listed...

I have some scripts that are run to force the formats we need for some special software that needs to print in landscape... here is an example entry of the command:

lp -o"simplex landscape lm3 lpi11 vsi5.4 fp13" -dxxx_HP5

don;t worry about all the special options here.. they just tweak things like font and line per inch.
A. Clay Stephenson
Acclaimed Contributor

Re: HPUX11.0 lp command options

I suspect that you did not select the correct interface model script. In the worst case, you can copy the portions from the 10.20 version to your new interface file.

If you are running the same version of JetAdmin software (or the newer JetDirect), you can simply copy the entire interface over to 11x. If you are running the older version on 10.20 and the newer on 11x then the older interface file will require a little work. You will need to replace the section that does the hpnpf with the newer commands.
If it ain't broke, I can fix that.
Steve Steel
Honored Contributor

Re: HPUX11.0 lp command options

Hi


Certainly seems a bad script.

If jetdirect

export MANPATH=/opt/hp???/man:$MANPATH

Then you have manpages for all the scripts
with options.

man net_lj5x

net_lj5x(1) net_lj5x(1)

NAME
net_lj5x

SYNOPSIS
lp [ -o option [ -o option ] ...]

DESCRIPTION
This manpage lists -o options provided by model script net_lj5x.
net_lj5x is one of net_lj* scripts included in JetAdmin distribution.
While most options are common among net_lj*, net_lj5x contains new
options specifically for HP LaserJet 5Si: -omtype, more
media size selections, and more output bin selection.

net_lj5x will not print the following files: shar file, executable,
archive, library, object, and compressed. Instead, it prints out a
single page, indicating the reason.



You can download interface scripts from
http://www.hp.com/pond/modelscripts/

Steve Steel


If you want truly to understand something, try to change it. (Kurt Lewin)