Operating System - HP-UX
1832535 Members
7538 Online
110043 Solutions
New Discussion

Re: printing in landscape by default

 
SOLVED
Go to solution
Rick Garland
Honored Contributor

printing in landscape by default

Hi all:

HPUX 11.11 HP LaserJet 8100 printer

Just loaded HP11e134.SD JetDirect software - no problems

When I print, the banner page comes out in portrait but the rest of the prints are in landscape.
If I use the -oportrait option then it prints in portrait. Where is this setting to have it default to portrait?
5 REPLIES 5
DCE
Honored Contributor

Re: printing in landscape by default



The model script is in /etc/lp/interface/model.orig
do a search for Orientation in the file for your printer name


HTH
Dave
Rick Garland
Honored Contributor

Re: printing in landscape by default

Yes, I know /etc/lp/interface

All the orientation = "p"
Paul Sperry
Honored Contributor

Re: printing in landscape by default

I think DCE is on the right track. I have modified the files in /etc/lp/interface for certain printers to output more than one copy
In my case I changed copy=$4 to copy=2.
In your case I'd think you would need to change options=$5 to options="landscape" or maybe options="="Landscape raw lpi8 fp12"

You'll just have to play with it.
Good luck.
Bill Hassell
Honored Contributor
Solution

Re: printing in landscape by default

The JetDirect scripts are fairly complex to read and understand, but all the default settings are located in the section that looks like this:

orientation="def"
paper="def"
length="def"

If someone has changed from "def", that is where "def" would be changed to "l". However, someone may have hardcoded rotate=yes somewhere in the script for this printer. I would suggest replacing the script with the net_ljx000 from /opt/hpnpl/sh.


Bill Hassell, sysadmin
Rick Garland
Honored Contributor

Re: printing in landscape by default

Hardcoded rotate=yes.

Grabbed a copy of the model script from another system and all is well.

Thanks