lpstat print queue remain SENDING status


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers lpstat print queue remain SENDING status
# 1  
Old 03-17-2011
lpstat print queue remain SENDING status

Hi All,

When I type the following command:
lpstat -pthcgl240

I get the following :
Code:
Queue   Dev   Status    Job Files              User         PP %   Blks  Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
thcgl24 @CGBP SENDING   636 00dJNFg1.P00       p00adm                11   1   1
thcgl240: no entries

I keep on entering the lpstat command, and I getting the same results ( SENDING status for the same Job File )

Do you know what is this meant ?

I did ping the print queue : thcgl240, it is ping-able, and I did telnet to it, and I am able to do so. No idea what is this meant ..

Besides, do you know what is meant by "thcgl240: no entries" ?

Best Regards,
Ken

Last edited by pludi; 03-17-2011 at 08:18 AM.. Reason: code tags, please
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX Print Queue

I am trying to print from Aix 6.1 using a remote queue to a Brother 7360N All in one, I can see the printer, but only output is blank pages. My smit setup is: Name of queue: testprt Hostname if Remote Printer: testprt (I added name to etc/hosts) Name of queue on remote printer: testprt (I... (4 Replies)
Discussion started by: Al Metz
4 Replies

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

3. UNIX for Dummies Questions & Answers

print queue hung in "SENDING" status

Dear All, Realized recently some of the print queue configured with rembak, are hung in "SENDING" status. The only workaround for this is to disable and enable back the print queue. This issue happen very random and frequent. I turned on the debug mode for a print queue and the... (0 Replies)
Discussion started by: nj1986
0 Replies

4. Shell Programming and Scripting

print queue jobs

Hi, i m having problem to get number of jobs waiting using lpstat.my printer is out of paper and 10jobs are in queue but i run lpstat -pqname it didnt show any thing.any one have idea whats wrong here. thanks sagii (2 Replies)
Discussion started by: sagii
2 Replies

5. Shell Programming and Scripting

Print Queue Montior

I am very new to scripting could use some assistance polishing up my script. I have had issues with a print queue going down and needing some TLC to get it going again, however currently I have to wait for a user to complain about the issue. I have written a little script to monitor the print queue... (0 Replies)
Discussion started by: tdiYUZER
0 Replies

6. UNIX for Dummies Questions & Answers

Sending a structure through a message queue

Hi, I browsed thru the previous posts and couldnt find a solution for my problem. Hence I decided to post it. I have a buffer array that I want to send thru a message queue. The array consists of a header structure and a payload structure memcopied to it. When I print the contents of the... (1 Reply)
Discussion started by: zeebie
1 Replies

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

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

9. UNIX for Dummies Questions & Answers

Print Queue Problems

Hi All Does anyone know what is meant by PRINTER STATUS CONNECT concerning print queues? At work we run a Perle/Connectix JetStream 8500 (RJ45 Model) to connect our dot matrix printers and often we get the Connect Status. Nobody I speak to knows what the status means. When the printer... (0 Replies)
Discussion started by: nickbungus
0 Replies

10. UNIX for Dummies Questions & Answers

Sending mail, status checking

After I send a mail thr unix with following command uuencode tmpFile | mailx -s "sub1" emailid Yet, I havent received this mail at intended mail client. In order to find out if the sent mail action resulted in failure, I checked at /usr/spool/mail/userid But there also I couldnt find... (1 Reply)
Discussion started by: videsh77
1 Replies
Login or Register to Ask a Question
lpstat(1)						      General Commands Manual							 lpstat(1)

NAME
lpstat - print information about the status of the LP print service SYNOPSIS
lpstat [ -A ] [ -d ] [ -r ] [ -R ] [ -s ] [ -t ] [ -a [list] ] [ -c [list] ] [ -f [list] [ -l ] ] [ -o [list] ] [ -p [list] [ -D ] [ -l ] ] [ -P ] [ -S [list] [ -l ] ] [ -u [login-ID-list] ] [ -v [list] ] [ -Tdebugoptions ] [list] DESCRIPTION
The lpstat command prints information about the current status of the LP print service. This is implemented as a front end to the LPRng lpq(1) program, and does not have the full functionality of the native lpstat program. If no options are given, then lpstat prints the status of all the user's print requests made by lp on the default printer. (see lp(1) and lpr(1)). Any arguments that are not options are assumed to be request-IDs as returned by lp or printer names. The lpstat command prints the status of such requests. The options may appear in any order and may be repeated and intermixed with other arguments. Some of the keyletters below may be followed by an optional list that can be in one of two forms: a list of items separated from one another by a comma, or a list of items separated from one another by spaces enclosed in quotes. For example: example% lpstat -u "user1 user2 user3" Specifying all after any keyletter that takes list as an argument causes all information relevant to the keyletter to be printed. For example, the command: example% lpstat -o all prints the status of all output requests. The omission of a list following such key letters causes all information relevant to the key letter to be printed. For example, the com- mand: example% lpstat -o prints the status of all output requests. OPTIONS
The following options are supported: -A Use authentication specified by the value of the AUTH environment variable. -a [list] Reports whether print destinations are accepting requests. list is a list of printer names. -c [list] Print name of all classes and their members. list is a list of class names. (Same effect as -o.) -d Print the system default destination for output requests. -f [list] [-l] Print list of printers supporting the specified forms option is ignored. -o [list] Print the status of output requests: list is a list of intermixed printer names, class names, and request-IDs. The keylet- ter -o may be omitted. -p [list] Print the status of printers. list is a list of printer names. (Same effect as -o.) -P Print the paper types. Ignored. -r Print the status of the LP request scheduler. -R Print a number showing the position of each job in the print queue. Ignored. -s Print a status summary. Produces a short status listing. -S [list] [-l] List or verify character sets of printers. (Ignored.) -t Print all status information. -u [login-ID-list] Print the status of output requests for users. (Same effect as -o.) -v [list] Print the path names of the printer output devices. (Ignored.) -D Combined with the -p flag prints description of printer. -Toptions Set debugging options. Use -T= to get lpstat to provide a list. ENVIRONMENT
By default, the destination printer is taken from the command line dest value, then the environment variables PRINTER, LPDEST, NPRINTER, NGPRINTER, then first entry in the printcap information, and and finally the default_printer entry from the configuration file, and then the compile time default. EXIT STATUS
The following exit values are returned: zero (0) Successful completion. non-zero (!=0) An error occurred. FILES
The files used by LPRng are set by values in the printer configuration file. The following are a commonly used set of default values. /etc/lpd.conf LPRng configuration file ${HOME}/.printcap user printer description file /etc/printcap printer description file /etc/lpd.perms permissions /var/run/lpd lock file for queue control /var/spool/lpd spool directories /var/spool/lpd/QUEUE/control queue control /var/spool/lpd/QUEUE/log trace or debug log file /var/spool/lpd/QUEUE/acct accounting file /var/spool/lpd/QUEUE/status status file SEE ALSO
lpd.conf(5), lpc(8), lpd(8), checkpc(8), lpr(1), lpq(1), lprm(1), printcap(5), lpd.perms(5), pr(1), lprng_certs(1), lprng_index_certs(1). DIAGNOSTICS
Most of the diagnostics are self explanatory. If you are puzzled over the exact cause of failure, set the debugging level on (-T5) and run again. The debugging information will help you to pinpoint the exact cause of failure. HISTORY
LPRng is a enhanced printer spooler system with functionality similar to the Berkeley LPR software. The LPRng mailing list is lprng@lprng.com; subscribe by sending mail to lprng-request@lprng.com with the word subscribe in the body. The software is available from ftp://ftp.lprng.com/pub/LPRng. AUTHOR
Patrick Powell <papowell@lprng.com>. 7 Feb 1994 lpstat(1)