10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
Sometimes i need to clear all the jobs of a print queue and it is really annoying to cancel one by one.
Is there a way to cancel all print jobs for a specific print queue with a single command instead of cancelling them one by one?
My AIX system is 5.3
Thank you for your attention (2 Replies)
Discussion started by: omonoiatis9
2 Replies
2. AIX
Hi,
I'm at AIX 5.3, I have a print queue named chqprinter, I want to allow access to print only 2 users to that print queue, jobs printed by all other users to above queue should be deleted.
Any idea how to achieve that?
---------- Post updated at 10:33 AM ---------- Previous update was at... (5 Replies)
Discussion started by: tayyabq8
5 Replies
3. AIX
So I've got this asc file that someone sent me for setting up a Zebra printer on AIX.
When I use smit or the command line I get this error when I try to setup the printer up:
File /usr/lib/lpd/pio/predef/master does not exist.
The master file is there. This only happens when I setup a... (2 Replies)
Discussion started by: Hurmoth
2 Replies
4. Shell Programming and Scripting
Hi,
I have one queue that have status QUEUE and 10 jobs are waiting.Can any one guide me how i can get total number of jobs on this queue.i can see 10 jobs but i need to get count 10 for this queue.Please help me out thanks in advance
sagii (2 Replies)
Discussion started by: sagii
2 Replies
5. UNIX for Dummies Questions & Answers
I am trying to setup a remote printer (home users printer) through Solaris 8. The IP address is 172.16.17.10 and I can ping the printer, a local windows printer queue has been setup and works but now I am trying to setup a remote Unix printer queue.
With this being a remote printer, do I need to... (2 Replies)
Discussion started by: miredale
2 Replies
6. Solaris
I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (2 Replies)
Discussion started by: Sean_69
2 Replies
7. UNIX for Dummies Questions & Answers
I am trying to create a printer queue, on a SunOS 5.7 system, that outputs a pdf file. There is an application running on the system that has a print button, which sends print files to the default printer. If I disable the printer, I am able to manually capture the files in /var/spool/lp/tmp and... (1 Reply)
Discussion started by: Sean_69
1 Replies
8. UNIX for Dummies Questions & Answers
I have a problem with a print queue that keeps going down on me every couple of days. When it happens I run an 'enable' and all is fine for a few more days.
Can anyone can tell me where to start looking to debug this problem as i am new to UNIX
Thanx (1 Reply)
Discussion started by: carell
1 Replies
9. UNIX for Dummies Questions & Answers
We have a 3rd party print queue installed on HP-UX 11.11 that interfaces with a binary. Basically we use the lp command to send reports to the print queue, which then interfaces with a binary to capture those reports into a reporting warehouse.
The problem lies in the way that HP uses a link to... (6 Replies)
Discussion started by: dangral
6 Replies
10. UNIX for Advanced & Expert Users
how do I setup my unix workstation to print to NT Printer server queue? any helps greatly appreciated. I can setup print staight to printer, however, I can not print it to NT server queue.
thanks, (1 Reply)
Discussion started by: phapvn
1 Replies
lpstat(1) General Commands Manual lpstat(1)
Name
lpstat - printer status information
Syntax
lpstat [ options ]
Description
The utility prints the status of the system printers.
Without any options, prints the status of print requests made to the default printer.
This command exists for X/OPEN compatibility.
Options
Some of the options can be followed by a list of arguments. The arguments must be specified as follows:
lpstat -uuser1,user2,user3
List items can be separated by spaces, but the list must be enclosed in quotes. If you do not include any arguments, all the information
relevant to the option is printed.
The valid options for are:
-a (R)[ printer1, printer2, ... (R)]
Print whether or not printers are accepting print requests.
-d Print the name of the default system printer.
-o (R)[ printer1, printer2, ... (R)]
Print the status of print requests.
-p (R)[ printer1, printer2, ... (R)]
Print the status of printers.
-r Print the status of the line printer daemon,
-s Print a status summary, including the status of the line printer daemon and the default system printer.
-t Print all status information.
-u (R)[ user1, user2, ... (R)]
Print the status of users' print requests.
See Also
lp(1), lpq(1), lpr(1), lpc(8)
lpstat(1)