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
Solved

Adjust net_lj5x for multibin options

Posted on 2000-04-25
3
159 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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.:

840 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