The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Printing Multiple Copies capeme UNIX for Dummies Questions & Answers 0 12-12-2007 06:19 AM
Printing multiple problem issue simka SUN Solaris 4 10-09-2007 09:14 PM
Script to print multiple copies of the same file Alpha7 Shell Programming and Scripting 1 11-10-2006 03:56 PM
Printing a number of copies of a txt file stebradshaw AIX 5 07-14-2005 07:02 AM
Printing multiple copies via remote queue Luck AIX 6 05-25-2005 10:39 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-02-2003
Registered User
 

Join Date: Mar 2002
Location: London, England
Posts: 262
lp not printing multiple copies

I'm trying to print multiple copies of a file on sun solaris 8 with the lp -n command to no
avail. No matter what numeric value I supply -n, I still only get 1 copy
of the file printed.

The command I'm using is 'lp -d SNY_IT5000-2 -n2 file'

The printer is an HP Laserjet 4000 with a Jetdirect card. My printers.conf
entry is:

SNY_IT5000-2:\
:bsdaddr=10.10.21.17,10.10.21.17:\
:description=SNY_IT5000-2:


Printing in this manner works fine otherwise, it just won't print multiple copies.

Can you help please?

Thanks in Advance

Last edited by hassan2; 09-02-2003 at 09:24 AM.
Forum Sponsor
  #2  
Old 09-02-2003
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
I haven't had to mess with printing for some time (all done on the NT side) but if I remember correctly, it's something to do with /etc/lp/interfaces/yourprintername files.

SeeSame question at HP

(Turk182 - good movie)
  #3  
Old 09-02-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,609
That HP link is for a different problem. Hassan2 always gets 1 copy but wants more copies. The link addresses an issue where the user gets an infinite number of copies.

We no longer have laserjets, but we still have the software which really should have been removed. I can look at the software, but I can't test anything. So this is a shot in the dark.

We have two interface scripts, one in /etc/lp/interfaces and the second in /etc/lp/interfaces/model.orig. The first calls the second. In the second one I see some code...
Code:
if [ $ "$topaz" = "yes" ]
then
  echo "@PJL SET QTY = $copies"
  copies="1"
fi
This looks like an attempt to send the job to the printer once and have the printer print it multiple times.

If you have the same code, you might look at the printer options to see if you can get this to work. Or try commenting out that paragraph.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0