The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > 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 04:07 AM
Print to ps2pdf print queue Sean_69 SUN Solaris 2 10-22-2007 11:00 AM
Print to a ps2pdf print queue. Sean_69 UNIX for Dummies Questions & Answers 1 10-22-2007 10:58 AM
How to override the default paper size received by a print job ukarthik HP-UX 4 07-07-2007 10:45 PM
How do I get awk to print a " in it's print part? LordJezo Shell Programming and Scripting 2 06-27-2006 09:16 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-30-2007
ukarthik ukarthik is offline
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.
  #2 (permalink)  
Old 06-07-2007
qfwfq qfwfq is offline
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 12:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0