I see that is possible to configure some PCL scripts for the printer using the PCL commands to select the tray like Ec&l1H and so on.. But anyone knows where I set and configure those scripts?
Thanks
Main Topics
Browse All TopicsHi
I trying to configure a printer in my Solaris 10 box to print in a specific tray. I have to print some documents using tray 1 and others using the tray 2. The printers are set in a Windows Print Server. I have configured 2 queues in Windows servers pointing to the different trays but when I send the jobs from Solaris both queues are printing in the same tray. Is there a way to configure a script in Solaris to set the tray? The printer is a HP LaserJet 4015 and a HP LaserJet 9040. I´m a newbie in Unix.
Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You should use their drivers:
http://h20000.www2.hp.com/
You need hpijs filter and maybe foomatic to create correct postscript from queue.
Ghostscript can juggle both PCL and PostScript given correct PPD file
IT WILL NOT WORK WITHOUT EXTRA SOFTWARE INSTALLED.
The Solaris printer driver probably sends the PCL command to select the tray, overriding the Windows queue settings. Many of the common printer options will be supported in the Solaris (HP) printer driver, and can be specified from the Unix command line, e.g.
lp -dmyprinter -olb myfile # the "lb" says to use the Lower bin; "ub" would be the Upper bin
The printer scripts will be somewhere like /var/spool/lp/interface; You can see the list of supported options for each printer within that script (& the PCL commands that are used)
Business Accounts
Answer for Membership
by: CyberLexPosted on 2009-08-20 at 12:01:01ID: 25145921
I have no clue on Unix, but I guess you might need these to access specific trays?
elscripts/ index2.htm l
HP Device Modelscripts for Unix:
http://www.hp.com/pond/mod
cheers
Lex