Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Printing to HP LaserJet from SunOS

Posted on 1997-02-22
1
Medium Priority
?
407 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
[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
1 Comment
 
LVL 1

Accepted Solution

by:
marc123096 earned 100 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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.

730 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