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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-08-2007
ukarthik ukarthik is offline
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.
  #2 (permalink)  
Old 06-08-2007
qfwfq qfwfq is offline
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?
  #3 (permalink)  
Old 06-08-2007
ukarthik ukarthik is offline
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.
  #4 (permalink)  
Old 07-07-2007
bugsandbunny bugsandbunny is offline
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.
  #5 (permalink)  
Old 07-07-2007
jgt jgt is offline
Registered User
  
 

Join Date: Apr 2007
Location: 44.21.48N 80.50.15W
Posts: 451
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
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 02:15 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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