Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Print outs sent to different trays of a printer using UNIX

Posted on 2001-06-04
3
273 Views
Last Modified: 2013-12-06
Can I redirect my printouts to different trays of a printer in UNIX and is it possible in VMS. Please do let me know at the earliest.
0
Comment
Question by:okhari
3 Comments
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 50 total points
ID: 6152910
Are we talking about an HP Laserjet or some other brand of printer?

You need to determine the appropriate escape sequence for the printer and either embed it in your output stream, modify the lp spooler files so you can select the tray with a command line option (usually -o tray2, or -o tray3 in Solaris or HP-UX), or modify your application's printer driver to support this feature.

For HP PCL5 printers, try the following where ESC = ASCII 27, to select the input paper tray.  You can also select on certain models, where the paper is to go.

ESC&l#H (replace # with tray number)


0
 
LVL 20

Expert Comment

by:tfewster
ID: 7705115
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation for this question in the Cleanup topic area as follows:
- Answered by DRRYAN3

Please leave any comments here within the next 7 days

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

tfewster (I don't work here, I'm just an Expert :-)
0
 

Expert Comment

by:modulo
ID: 7757473
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ftpcommand 2 67
Unix Question 19 50
Solaris 4.1.3 cloning and booting 13 84
Expiration and Locking of Unix/Solaris OS Accounts 7 49
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question