Operating System - HP-UX
1752471 Members
6876 Online
108788 Solutions
New Discussion юеВ

remote prt setup from specific tray

 
SOLVED
Go to solution
Peter Gillis
Super Advisor

remote prt setup from specific tray

Hi...
hpux11.11v1, rp2470.
Is it possible to define a printer id to print from a particular tray in a multitray printer when the printer is a remote printer? If so, How??
thanks, and by the way...Happy New YeAr!!!
Maria
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: remote prt setup from specific tray

The way to handle such things is to send escape codes to the printer.

Those vary from printer to printer and are found in the documentation or the manufacturers website.

For exact help you'll need to tell us the make and model of the printer.

I was wondering what happened with the possible spam relay problem you posted a few weeks back?

Happy New Year.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Peter Gillis
Super Advisor

Re: remote prt setup from specific tray

hi Steve, Printer is a xerox dc350.
Regards spam - will be looking further into that issue in the next 2 months. For now, have turned off sendmail.
Thanks for help.
Maria
Bill Hassell
Honored Contributor
Solution

Re: remote prt setup from specific tray

Remote printers for a SysV style spooling system have no printer scripts with options to select features such as trays and landscape printing. Even if the Xerox printer was locally connected to the HP-UX machine, unless it emulates an HP printer, you would have to get a technical reference manual for the pritner to discover the appropriate codes needed to control the printer, then modify the printer script.

With your current situation, you'll have to create a wrapper script, that is, a script that you use as a substitute for lp. You might call it lpxerox or something similar. The script would have options for tray number, duplex, other options, then insert the appropriate codes just prior to the file to be printed. You'll still need the Xerox tech ref manual.


Bill Hassell, sysadmin