When attempt to remote print several copies of a document with the command 'lp -n2 -d printer file', leaves printed one copies. as it can be the problem? as I can see if SCO is really sending a copy or two to the printer?
System = SCO_SV
Release = 3.2v5.0.6
Print Server = Lexmark MarkNet
More Articles by anonymous
/Forum/anonymous25.html copyright August 2005 anonymous All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.
Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.
Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Click here to add your comments
Fri Aug 26 15:20:14 2005: Subject: TonyLawrence
OK, but the answer is still the same:
Printing is all controlled by interface scripts, which you can read all about at http://aplawrence.com/Unixart/printing.html
Examine your script and see why it is not printing. It's probably not even looking at $4 (copies). Or you are trying to send that to some remote lpd printer that doesn't understand or care.
Mon Aug 29 10:27:39 2005: Subject: Print copies problem anonymous
I feel it, but I cannot find script to modify.
In order to register the printer I make the following:
scoadmin printer manager
Printer --> Add remote --> UNIX
Deselect the Extended remote printing protocol
See http://wdb1.sco.com/kb/showta?taid=112842&qid=1849847991&sid=1350611185&pgnum=1
After I verify if script has creates some in /usr/spool/lp/admins/lp/interfaces or /var/spool/lp/admins/lp/interfaces and does not exist any file with the name of the printer.
Files:
$ cat /usr/spool/lp/admins/lp/printers/PRT9400_0/configuration
Banner:
Device: PRT9400_0@imp94006
Interface:
Printer type:
Remote: PRT9400_0@imp94006
$ cat /etc/printcap
PRT9400_0:\
:lp=imp94006:ex:sd=/usr/spool/lpd/PRT9400_0:mx#0:of=/usr/bin/lp_addcrff:
Greetings,
Mon Aug 29 11:11:42 2005: Subject: TonyLawrence
You are printing to a remote printer. As already noted, that's where the problem is: either your end isn't passing the args or the other end doesn't care.
One way to handle that is to "front-end" with a virtual printer that sends the job to the real printer as many times as requested in $4. There are examples of virtual printers at http://aplawrence.com/SCOFAQ/FAQ_scotec7virtualprint.html and a search here for "virtual printer" will turn up other examples.
Wed Aug 31 12:29:17 2005: Subject: Print copies problem anonymous
Solved problem.
I have created a local printer (model:network and device:/dev/null) and later I have associated it in the file /usr/spool/lp/remote with the remote printer.
The remote printer has a filter that adds CR-LF and FF, as well as the escape sequences that need to us.
Thank you very much by the aid
Don't miss responses! Subscribe to Comments by RSS or by Email
Click here to add your comments
If you want a picture to show with your comment, go get a Gravatar