Solved

Print outs sent to different trays of a printer using UNIX

Posted on 2001-06-04
3
274 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
[X]
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
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 21

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

733 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