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

Printing to HP LaserJet from SunOS

Posted on 1997-02-22
1
394 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

828 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