Operating System - HP-UX
1758809 Members
3179 Online
108875 Solutions
New Discussion юеВ

Re: HPUX: Printing Using "lp"

 
SOLVED
Go to solution
LG Porter
Frequent Advisor

HPUX: Printing Using "lp"

Using the "lp" command, what is the syntax for printing a document landscape?
7 REPLIES 7
Scott Van Kalken
Esteemed Contributor

Re: HPUX: Printing Using "lp"

lp -d -o landscape


or

lp -o landscape -d printer


A. Clay Stephenson
Acclaimed Contributor
Solution

Re: HPUX: Printing Using "lp"

In general though only your interface file knows for sure, it's:
lp -dmyprinter -o landscape myfile

You really have to examine your interface file in /var/spool/lp/interface to know for sure.
If it ain't broke, I can fix that.
Helen French
Honored Contributor

Re: HPUX: Printing Using "lp"

Hi,

Use the '-o landscape' option:

# lp -o landscape -dprinter_name

HTH,
Shiju
Life is a promise, fulfill it!
Michael Tully
Honored Contributor

Re: HPUX: Printing Using "lp"

-o landscape
Anyone for a Mutiny ?
Sanjay_6
Honored Contributor

Re: HPUX: Printing Using "lp"

Hi,

As already suggested, use,

lp -o landscape -dprinter_name

Hope this helps.

Regds
Choi Eun Kyoung
Occasional Advisor

Re: HPUX: Printing Using "lp"

lp -dprinter_name -o landscape filename
Bill Hassell
Honored Contributor

Re: HPUX: Printing Using "lp"

The answers presented are accurate UNLESS the printer is not attached to your HP-UX box (ie, a remote PC running NT or another Unix box). In that case, the -o options are ignored by the remote system.


Bill Hassell, sysadmin