06-06-2012
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...
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
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
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
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
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. Shell Programming and Scripting
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
8. Programming
in a single main() function,so need signal handling. Use Posix Message Queue IPC mechanism , can ignore the priority and other linked list message,to implement the scenario:
client:Knock Knock
server:who's there
client: Eric
Server:Eric,Welcome.
client:exit
all process terminated
... (1 Reply)
Discussion started by: ouou
1 Replies
9. 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
10. UNIX for Dummies Questions & Answers
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
lpc(8) System Manager's Manual lpc(8)
NAME
lpc - Line printer control program
SYNOPSIS
lpc [command [argument ...] ]
DESCRIPTION
The lpc command is used by the system administrator to control the operation of the line printer system. For each line printer configured
in the /etc/printcap file, the lpc command may be used for disabling or enabling a printer; disabling or enabling the printer spooling
queue; rearranging the order of jobs in a spooling queue or finding the status of printers, their associated spooling queues, and the
printer daemons.
Without arguments, lpc prompts for commands from the standard input. When arguments are supplied, lpc interprets the first argument as a
command and any remaining arguments as command parameters. The standard input may be redirected so that lpc reads commands from a file.
The following is the list of recognized lpc commands: Prints a short description of each command specified in the argument list or, when no
arguments are supplied, a list of the recognized commands. Prints a short description of each command specified in the argument list or,
when no arguments are supplied, a list of the recognized commands. Terminates an active spooling daemon running on the local host, and
then disables printing. This prevents new daemons from being started by lpr or lp for the specified printers. Removes any temporary files,
data files, and control files that cannot be printed (files that do not form a complete printer job) from the specified printer queue(s) on
the local machine. Turns the specified printer queues off. This prevents new printer jobs from being entered into the queue by lpr or lp.
Turns the specified printer queue off, disables printing, and puts a message in the printer status file. The message does not need to be
quoted because remaining arguments are treated the same as echo. The down command is normally used to take a printer down and let others
know why. (The lpq command indicates that the printer is down and prints a status message.) Enables spooling on the local queue for the
listed printers. This allows lpr or lp to put new jobs in the spool queue. Exit from lpc. Exit from lpc. Attempts to start a new
printer daemon. This is useful when some abnormal condition causes the daemon to terminate unexpectedly and leave jobs in the queue. lpq
reports that there is no daemon present when this condition occurs. When a daemon is stuck, you must first kill it and then restart.
Enables printing and starts a spooling daemon for the listed printers. Displays the status of daemons and queues on the local machine.
When printer name parameters are not supplied, information about all printers is provided. Stops a spooling daemon after the current job
has completed and disables printing. Places jobs in the order listed at the top of the printer queue. Enables all printing and starts a
new printer daemon. Cancels the effect of the down command.
RESTRICTIONS
Normally, the clean subcommand allows you to remove all print jobs on the system or all jobs on a specified printer. However, clean does
not remove the jobs in the spooling queues. Therefore, you should use the lprm command on a printer-by-printer basis to remove the jobs
you want to eliminate.
ERRORS
The following diagnostic messages are possible. Abbreviation matches more than one command. No match was found. Command may be executed
by the superuser only.
FILES
Specifies the command path. Specifies the printer description file. Specifies print spool directories. Specifies the lock file for queue
control.
RELATED INFORMATION
Commands: cancel(1), lp(1), lpd(8), lpr(1), lpq(1), lprm(1), lpstat(1).
Files: printcap(4). delim off
lpc(8)