Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

lp command

Status
Not open for further replies.

bonsky

MIS
Apr 23, 2001
280
US
anybody tried to configure the AIX to use printers using lp command.
I have already configure it using systemV environment, however, some of my switches like lp -y landscape, and other declaration of sizes of paper doesnt work..
any idea?

thanks alot!
 
I know the man page says to use the -y flag with the landscape option but I have had success using the -o flag with the landscape option. ex. lp -o landscape


Jim Hirschauer
 
so if my lp -o -c compressed is working, does it mean that my -o landscape will work as well? have you done any changes or make use of the lpfilter to activate the this option?
 
yes, I would expect that to work also. I think you use lpfilter if you want to put some sort of data filtering in place for your output stream (such as PCL output). I had to us3e a raw stream so did not need to use the lpfilter command. I would think the following command would work for compressed landscape output.... "lp -o compressed -o landscape"


Jim Hirschauer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top