Printing multiple copies via remote queue


 
Thread Tools Search this Thread
Operating Systems AIX Printing multiple copies via remote queue
# 1  
Old 05-24-2005
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
# 2  
Old 05-25-2005
Have you tried qprt? Do a man qprt for the different options.
# 3  
Old 05-25-2005
I tried the qprt command. Thanks for the response. It only prints one copy even though I specified -N 3.
# 4  
Old 05-25-2005
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.
# 5  
Old 05-25-2005
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.
# 6  
Old 05-25-2005
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
# 7  
Old 05-25-2005
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 !
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to make multiple copies?

At work I have to create multiple copies of a file all the time. Example: I have a file called Sec30p01.txt I need thirty of these, then I edit one line in each to make 30 different control files. So I end up with Sec30p02.txt, Sec30p03.txt and so on up to 30 Currently I copy the first file... (8 Replies)
Discussion started by: faaslave
8 Replies

2. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

3. AIX

Remote printing to Linux CUPS queue

Hello all. I am setting up a queue under AIX 4.2.1 to print to a remote Linux CUPS queue. At present I can print to the queue remotely from Windows but not AIX. What I am seeing is lpstat reads the state of the remote queue but at job submission time I am getting backend exit fatal errors. The... (4 Replies)
Discussion started by: tgx
4 Replies

4. Shell Programming and Scripting

Help configuring sudo for multiple file copies

Hiya, I want to allow some users to copy all filenames of a specific filetype, to a limited directory. 3+ users: need to be able to copy(as root) any *.war file to /usr/local/tomcat/current/webapps/ I tried the following... dmurphy huskar=/tmp/who.sh,/bin/cp *.war... (2 Replies)
Discussion started by: infinitiguy
2 Replies

5. AIX

Printing queue in rs6000

Hi, I'm at following old machine:@rs6000:/:> uname -a AIX rs6000 2 4 007016224C00 We are facing some problems with print queues, whenever a print queue gets stuck we cannot cancel it, we don't have any other option except restarting the machine, we have following queues:@rs6000:/etc:> lpstat... (23 Replies)
Discussion started by: nervous
23 Replies

6. UNIX for Dummies Questions & Answers

multiple copies at once

Dear all, Today I spend almost all my day with something I hope any of you can help me with... I'm trying to write a small script (!/bin/sh) to be able to make 900 copies of one file. Can anyone help me with this? I couldn't figure this out (maybe I need to create some sort of loop) and couldn't... (8 Replies)
Discussion started by: marjocello
8 Replies

7. UNIX for Dummies Questions & Answers

Printing Multiple Copies

Has anyone come accross and solved an issue where only 1 copy of a doc prints after you use the -n flag and specify more then 1. My exact syntax is lp -dprintername -n3 documentname enq command does same thing. Both commands show the 3 copies in the queue but only 1 ever prints I am using AIX... (0 Replies)
Discussion started by: capeme
0 Replies

8. Shell Programming and Scripting

Script to print multiple copies of the same file

Hi, this is my first post so I hope I have placed it in the appropriate section! I have created a looping script to print a text file multiple times. The script works great, and it displays the job numbers of all the prints that result from its execution. The trouble is, only the first job... (1 Reply)
Discussion started by: Alpha7
1 Replies

9. AIX

Printing a number of copies of a txt file

Hi, We have an application running on AIX5.3 that generates text files that are sent to be printed using the lp command. The user can specify the number of copies they want printed, but only one copy ever gets printed. I've checked the lp command that is used, and it correctly specifies... (5 Replies)
Discussion started by: stebradshaw
5 Replies

10. UNIX for Advanced & Expert Users

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... (2 Replies)
Discussion started by: hassan2
2 Replies
Login or Register to Ask a Question