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

Have you tried qprt? Do a man qprt for the different options.

I tried the qprt command. Thanks for the response. It only prints one copy even though I specified -N 3.

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.

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.

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

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 !