Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to prevent queues from disabling themselves Post 302582373 by EatenByAGrue on Thursday 15th of December 2011 04:29:52 PM
Old 12-15-2011
Question How to prevent queues from disabling themselves

I understand that on my HP-UX 11.31 system when print queues can no longer communicate with remote printers, the queue disables itself. How can I configure it to stop disabling itself, or alternatively, to re-enable itself when the remote printer comes back online? I have users in warehouses who shut the computers off for the night, which disables the print-queue. When they come in the next day their print jobs won't come out until an admin manually enables the queue. Thanks for any advice you can offer.

-EatenByAGrue
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Print Queues

I have a print queue set up with the following options: remote, standard processing, Hostname=(A Windows 2000 Server), bsd print spooler. It takes about 1 minute to transfer a 100 kb file and it times out (downs the queue) on larger files. When tested on a different system at a different location... (2 Replies)
Discussion started by: Scottb7711
2 Replies

2. UNIX for Advanced & Expert Users

at queues

Hi, I submit some processes throught an at queue with the cmd at -q queue. I can easily check the waiting process with atq. But how can I check running processes within a specific queue ? Thanks, Stef (2 Replies)
Discussion started by: stef
2 Replies

3. Linux

print queues

RH 7.2 Are there any commands to check the print queue status? Something along the lines of AIX's "qchk"? Thanks!! (2 Replies)
Discussion started by: jalburger
2 Replies

4. Programming

Message queues

Hi all, I've been trying for hours to figure out how to turn my 2-program (one to send and one to receive) "chat system" using message queues, into a single program where each concurrent component (entity) will both send and receive messages. PLEASE give me a hand with this, I'm starting to... (9 Replies)
Discussion started by: mgchato
9 Replies

5. UNIX for Dummies Questions & Answers

message queues

let 3 processes a, b and c are sharing msgs using msg queues.process 'a' sending msg to 'c' and in turn 'c' send sthat msg to 'b'.if something happens to c how can 'a' and 'b' know that 'c' is not available?????? (2 Replies)
Discussion started by: sukaam
2 Replies

6. BSD

Posix queues

Hi! Everybody%) I got a question like this: Does my FreeBSD5.1 support Posix queues. Thanks! (7 Replies)
Discussion started by: kamazi
7 Replies

7. UNIX for Advanced & Expert Users

message queues

#include <sys/ipc.h> #include <sys/msg.h> int main() { int qid; int t; struct msgbuf mesg; qid=msgget(IPC_PRIVATE,IPC_CREAT); mesg.mtype=1L; mesg.mtext=1; t=msgsnd(qid,&mesg,1,0); printf("%d",t); } the program prints -1 as the result of msgsnd ,which means that msgsnd doesn't... (1 Reply)
Discussion started by: tolkki
1 Replies

8. UNIX for Dummies Questions & Answers

message queues

can any body provide a tutorial that explains the concept of message queues in UNIX in great detail (1 Reply)
Discussion started by: asalman.qazi
1 Replies

9. Programming

Scheduling Queues: Help

I have a problem understanding the different scheduling queues (Ready Queue, I/O Queue, Job Queue) Can you please explain/illustrate/differentiate these queues to me? Thanks a lot guys.;) (1 Reply)
Discussion started by: zel2zel
1 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)
All times are GMT -4. The time now is 02:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy