The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

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
Script to print multiple copies of the same file Alpha7 Shell Programming and Scripting 1 11-10-2006 03:56 PM
Remote Dial-up Modem Printing With Out Cpu On The Remote Side! jayvee SUN Solaris 0 08-23-2005 05:23 AM
Printing a number of copies of a txt file stebradshaw AIX 5 07-14-2005 07:02 AM
lp not printing multiple copies hassan2 UNIX for Advanced & Expert Users 2 09-02-2003 02:41 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-24-2005
Registered User
 

Join Date: May 2005
Location: Atlanta
Posts: 6
Printing multiple copies via remote queue

Hi all,

I have an interesting problem. Using remote queues to print using jetdirect printers I am unable to get a printer to print multiple copies of a print job.

command being used:
lpr -P[printername] -#3 ./test
(one copy prints)
Also tried:
enq -P[printername] -C3 ./test
(same results)

Any ideas?

Thanks,
Joe
Reply With Quote
Forum Sponsor
  #2  
Old 05-25-2005
Registered User
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 186
Have you tried qprt? Do a man qprt for the different options.
Reply With Quote
  #3  
Old 05-25-2005
Registered User
 

Join Date: May 2005
Location: Atlanta
Posts: 6
I tried the qprt command. Thanks for the response. It only prints one copy even though I specified -N 3.
Reply With Quote
  #4  
Old 05-25-2005
Registered User
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 186
I typed this:
qprt -Plawis -N2 IBM

and received two copies of the file IBM. My print que being lawis. You don't put a space between the flag and the value.
Reply With Quote
  #5  
Old 05-25-2005
Registered User
 

Join Date: May 2005
Location: Atlanta
Posts: 6
Thanks for the clarification, here is what I typed:

qprt -Pl300lj09 -N2 test

I still got only one copy and the file test was modified with what looks like PCL stuff.

In anycase, I am thinking that the queue definition is incorrect. I am a consultant here and I think the print queues were created by one of the people that are no longer here.

Anything come to mind I should look at?

Thanks for the help.
Reply With Quote
  #6  
Old 05-25-2005
Registered User
 

Join Date: Nov 2001
Location: Flint, MI
Posts: 186
You might try setting up a new print que and point to the hostname for the printer you want to print to. When I set up a print que I usually select Jetdirect and them IBM4039. I
Reply With Quote
  #7  
Old 05-25-2005
Registered User
 

Join Date: May 2005
Location: Atlanta
Posts: 6
Some success

I was able to make a printer utilize the jetdirect settings and it worked from the command line for multiple pages.

However, the form no longer works..

Below is the queue definitions from qconfig. Maybe someone can see something I can't seem to see..

Notice l300lj10 prints the multiple copies without the form.
Other variations except l300lj10 do not print.


l300lj10:
device = hp@l300lj10
hp@l300lj10:
file = /var/spool/lpd/pio/@local/dev/hp@l300lj10#hpJetDirect#9100
header = never
trailer = never
access = both
backend = /sx/script/pclbak3 -d oem
l300lj10a:
device = hp@l300lj10
hp@l300lj10:
file = /var/spool/lpd/pio/@local/dev/hp@l300lj10#hpJetDirect#9100
header = never
trailer = never
access = both
backend = /usr/lib/lpd/pio/etc/piojetd l300lj10 9100
l300lj10b:
device = @l300lj10
host = l300lj10
rq = raw
s_statfilter = /usr/lib/lpd/aixshort
l_statfilter = /usr/lib/lpd/aixlong
@l300lj10:
header = never
trailer = never
access = both
backend = /usr/lib/lpd/pio/etc/piorlfb -f +
l300lj10c:
device = @l300lj10
up = TRUE
host = l300lj10
s_statfilter = /usr/lib/lpd/aixshort
l_statfilter = /usr/lib/lpd/aixlong
rq = raw
@l300lj10:
backend = /sx/script/pclbak2 -d oem
l300lj10d:
device = @l300lj10
host = l300lj10
rq = raw
s_statfilter = /usr/lib/lpd/aixshort
l_statfilter = /usr/lib/lpd/aixlong
@l300lj10:
header = never
trailer = never
access = both
backend = /usr/lib/lpd/pio/etc/piorlfb -f !
l300lj10e:
device = @l300lj10
host = l300lj10
rq = raw
s_statfilter = /usr/lib/lpd/aixshort
l_statfilter = /usr/lib/lpd/aixlong
@l300lj10:
header = never
trailer = never
access = both
backend = /usr/lib/lpd/pio/etc/piorlfb -f !
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:34 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