Link to home
Start Free TrialLog in
Avatar of gbouwman
gbouwman

asked on

Adjust net_lj5x for multibin options

I am using a HP mopier 5 si with a sun Solaris. I want to use the -o options but i only have the -o tray1 and -o tray2 and -o bin1 -o bin2 but i need the bin 4 and 5. I think i have to adjust the script net_lj5x but i am not sure and i dont know how to do it. I have the necessary escape codes for the printer. What i want is to sent multiple copies from different trays to the stacker and i think it has to be done with a script which says something like this:

lp -dmopier -otray1 -obin1
lp -dmopier -otray2 -obin1

Who knows?

kind regards,

Gert-Jan
Avatar of tfewster
tfewster
Flag of United Kingdom of Great Britain and Northern Ireland image

The interface script that actually gets used (a copy of net_lj5x) will be
/var/spool/lp/admins/lp/interfaces/model.orig/mopier; Looking at a HP Laserjet
5Si on my Solaris system, the interface script will cope with bin4 etc -
it sends a PJL command SET OUTBIN = OPTIONALOUTBIN4 to the printer (which will
ignore the command if it doesn't have a bin4)

So you don't need to hack the interface and your script would be like :
lp -dmopier -otray1 -obin4 -n number_of_copies front_cover_page
lp -dmopier -otray2 -obin4 -n number_of_copies other_pages
lp -dmopier -otray1 -obin4 -n number_of_copies back_cover_page

Hope this helps, Tim
Avatar of ianB
ianB

We have opened up a new Solaris Topic Area.  

To increase the visibility of questions, we moved questions we felt
appropriate to the new Solaris Topic Area where they will be easier for
Solaris experts to find and answer. You may view your question at
https://www.experts-exchange.com/Computers/Operating_Systems/Solaris/ 

If you have any questions about the new topic area you can contact
Community Support by posting a comment at the following URL or by
emailing us at cs@experts-exchange.com.
https://www.experts-exchange.com/Customer_Service/Experts_Exchange/ 

Ian
Community Support @ Experts Exchange

ASKER CERTIFIED SOLUTION
Avatar of tfewster
tfewster
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial