Solved

Adjust net_lj5x for multibin options

Posted on 2000-04-25
3
157 Views
Last Modified: 2013-12-27
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
0
Comment
Question by:gbouwman
  • 2
3 Comments
 
LVL 20

Expert Comment

by:tfewster
ID: 2750662
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
0
 
LVL 5

Expert Comment

by:ianB
ID: 2855586
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
http://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.
http://www.experts-exchange.com/Customer_Service/Experts_Exchange/ 

Ian
Community Support @ Experts Exchange

0
 
LVL 20

Accepted Solution

by:
tfewster earned 100 total points
ID: 2891121
gbouwman, as you haven't responded to my comment, I'll assume it solved the problem :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now