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 Problem in UNIX. Need to know the option to specify the print paper size ukarthik HP-UX 1 06-07-2007 06:35 AM
Printing spits out paper!!! penguin-friend SUN Solaris 1 05-28-2005 06:51 AM
Research paper pantsusan UNIX for Dummies Questions & Answers 1 05-13-2005 12:05 PM

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

Join Date: May 2007
Posts: 3
How to override the default paper size received by a print job

Hi,

Kindly help me with your valid suggestions to solve the below problem:

"How to override the default paper size received by a print job. Ex. The output file is generated with a default paper size of 11x17 and we need to print on 11x14 paper. When printing this file from HP Unix, is there a command to override the size and specify 11x14 in the lp command."

It would be great if some one can help me out of this problem.

Thanks in Advance,
Karthik.
Reply With Quote
Forum Sponsor
  #2  
Old 06-08-2007
Registered User
 

Join Date: Feb 2005
Location: Canada
Posts: 133
As I suggest in your last post, you could specify the tray number or use -olegal option. Isn't working this way?
Reply With Quote
  #3  
Old 06-08-2007
Registered User
 

Join Date: May 2007
Posts: 3
No Sir, The problem is we are using this 'lp' command with in another label formatting command ('ubfmt' command, which is used to convert the data file in to a barcode. We are giving the 'lp' command with in this formatting command. And, The system doesn't recognize the lp command with the
option -Otray1. It is not picking from the tray mentioned in the -O option.
We need to override this by some way.
Reply With Quote
  #4  
Old 07-07-2007
Registered User
 

Join Date: Apr 2007
Posts: 7
Use RedHat Linux printer queue

We've gave up on this one. To print on a certain paper size. I created a printer queue on a RedHat Linux system. With set default paper size to create a queue that default paper size is 11x14. Then, redirect hp printer queue to created printer queue on RedHat Linux system. Worked all the time.
Reply With Quote
  #5  
Old 07-07-2007
jgt jgt is offline
Registered User
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 348
Is the printer expecting PCL or Postscript input?
The tray selection commands in PCL are not universal, so you would have to know the exact model printer, and how many trays are actually installed.
See:http://www.digitalissues.co.uk/html/.../pcl_page.html
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 05:16 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