Solved

Printing to HP LaserJet from SunOS

Posted on 1997-02-22
1
402 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 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
how to monitor remote shell execution on linux 9 113
FTP on FreeBSD server 2 167
Parsing a file using ksh 10 82
spectrum scale snapshot  resotre/mount 1 58
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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.
Suggested Courses

738 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