Solved

Printing to HP LaserJet from SunOS

Posted on 1997-02-22
1
396 Views
Last Modified: 2013-12-16
I've been able to print Postscript files to an HP LaserJet 5SiMX printer on my network using either the lp or lpr commands on my SunOS.  The plots I've made have all been on 8 1/2" x 11" (A-size) paper. This printer has an upper and lower tray as well as a manual bypass tray on the side.  The bypass tray is loaded with B-size paper. I'd like to plot B-size postscript files on this plotter usingthe B-size paper in the bypass tray. I believe that I need to embed the appropriate 'paper source select' command *in* the postscript command stream I send to the printer. I don't have the manual for the HP Laserjet so I need to know what command to embed to make the plot go to the bypass tray.  
0
Comment
Question by:belkin
1 Comment
 
LVL 1

Accepted Solution

by:
marc123096 earned 50 total points
ID: 1811796
you have to use PCL command (even if you want to print with PS). To select the paper source, you have to send: Ec&l#H
Ec is escape (27h) and # could be :
0 : paper source remains unchanged
1 : Feed paper from a printer-specific tray
2 : Feed paper from manual input
3 : Feed envelope from manual feed
4 : Feed paper from lower tray
5 :  Feed from optinnal paper source
6 : Feed envelope from optionnal env. feeder

You, perhaps, need reset the printer before:
Ec%-12345XEcE then set the paper source, send your PS file then EcEEc%-12345X
0

Featured Post

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
netstat -a in AIX unix 8 51
Bad Block Relocation for Synchronous GLVM AIX 7.1 2 79
Convert OverPunch 25 67
How to Insert a File Using Text Editor 9 100
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

679 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