Sponsored Content
Full Discussion: print queue jobs
Top Forums Shell Programming and Scripting print queue jobs Post 302328613 by methyl on Wednesday 24th of June 2009 06:28:20 PM
Old 06-24-2009
Can you see the queued print jobs with any of these commands:

Code:
lpstat -oqname

lpstat qname


Or even:

lpstat -o

(Where qname is print queue name)
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

jobs stalled in remote print queue

I have a printer in another state that is setup as follows: lj8100 printer connected to their printserver (a w2k box); users connect to a unix app on our Sun server via Exceed (we are two states away via WAN); users submit print jobs through an established print queue through the unix app to... (0 Replies)
Discussion started by: antalexi
0 Replies

2. SCO

Print jobs getting stuck on the queue

I have implemented Laser printers using USB printer servers connected to a SCO server. Sometimes print jobs get stuck on the queue and I havent found a way of getting the printer back to work without canceling the jobs and rebooting the system. Why jobs get stuck? How do I get this solved... (9 Replies)
Discussion started by: iNetForce
9 Replies

3. UNIX for Dummies Questions & Answers

Print to a ps2pdf print queue.

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

4. Solaris

Print to ps2pdf print queue

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

5. HP-UX

Print Queue jobs stuck

Hello, I have a print queue that the jobs are getting stuck in. I've disabled and enabled the queue, lpshut and lpsched the print spooler, and killed a suspected corrupt job. But new requests still get stuck. I can ping the printer by DNS with no problem. What else can I look for? I'm a little... (3 Replies)
Discussion started by: mizzleman
3 Replies

6. Shell Programming and Scripting

print queue jobs

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

7. AIX

Print queue setup

Hi I had setup a print queue named test in the AIX server. When I try to print 96 char per line.. it prints only 80 and the rest is skipped to the next line. however there are 16 spaces left as blank in the first line any help is appriciated (0 Replies)
Discussion started by: antointoronto
0 Replies

8. UNIX for Advanced & Expert Users

[Solved] remove all print jobs from a print queue

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

9. 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

10. AIX

Print jobs stuck in queue

Hi, have an aix system with something I've never seen happening. All printers are not printing. I see jobs Queued and printer status as READY but jobs just keep getting queued and nothing's printing. Seems to be a system wide problem since it's affecting all printers. Help... (2 Replies)
Discussion started by: flash88
2 Replies
lpq(1)                                                              Apple Inc.                                                              lpq(1)

NAME
lpq - show printer queue status SYNOPSIS
lpq [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ -a ] [ -l ] [ +interval ] DESCRIPTION
lpq shows the current print queue status on the named printer. Jobs queued on the default destination will be shown if no printer or class is specified on the command-line. The +interval option allows you to continuously report the jobs in the queue until the queue is empty; the list of jobs is shown once every interval seconds. OPTIONS
lpq supports the following options: -E Forces encryption when connecting to the server. -P destination[/instance] Specifies an alternate printer or class name. -U username Specifies an alternate username. -a Reports jobs on all printers. -h server[:port] Specifies an alternate server. -l Requests a more verbose (long) reporting format. SEE ALSO
cancel(1), lp(1), lpr(1), lprm(1), lpstat(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 16 June 2008 CUPS lpq(1)
All times are GMT -4. The time now is 11:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy