The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how can i print the output of the shell script in bigger size mail2sant Shell Programming and Scripting 2 04-14-2008 01:07 AM
Print to ps2pdf print queue Sean_69 SUN Solaris 2 10-22-2007 08:00 AM
Print to a ps2pdf print queue. Sean_69 UNIX for Dummies Questions & Answers 1 10-22-2007 07:58 AM
How to override the default paper size received by a print job ukarthik HP-UX 4 07-07-2007 07:45 PM
How do I get awk to print a " in it's print part? LordJezo Shell Programming and Scripting 2 06-27-2006 06:16 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-30-2007
Registered User
 

Join Date: May 2007
Posts: 3
Print Problem in UNIX. Need to know the option to specify the print paper size

Hi,

Could any one please let me know what is the option
available in UNIX to print by specifying the paper size?
We are using Unix11i. I could n't see any option specified in the 'lp' command to print the report by specifying the size of the paper. It would be of great help to me, if anyone can help me in this regard.

thanks in advance,
Karthik.
Reply With Quote
Forum Sponsor
  #2  
Old 06-07-2007
Registered User
 

Join Date: Feb 2005
Location: Canada
Posts: 133
Here is what I can tell you. They are many options available for lp such as :

-onobanner
-otrayX
-olegal
-olandscape
-oc
-otmXX
-olpix
etc.

For ie., let's say you want to print using tray3 for special paper and remove the banner from the top.

lp -dprinter -onobanner -otray3

We use all HP printer and are able send request to the printer using -olegal option and don't have to tell what tray cause the printer knows where the legal paper is:

lp -dprinter -onobanner -olegal

We also use option -olpix for special sized paper so we are able to change number of line per inch. You can also look at -otmXX for margins.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:33 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0