Fairly simple question, I think. Still trying to get my head around AIX print queues. Most of our problems seem to stem from print queues going down. This generates help-desk calls when users call up to get their queues started or to get rid of the emails that qdaemon sends them.
Looking at... (0 Replies)
When I try to create first print queue in this system with the command line argument, find the output also...
# /usr/lib/lpd/pio/etc/piomkjetd mkpq_jetdirect -p 'generic' -D pcl -q 'AR06_Workcenter_32' -h 'AR06_Workcenter_32' -x '9100'
0782-606 /usr/lib/lpd/pio/etc/piomgpdev: Error 'A file or... (1 Reply)
Hello
Let me first give a small overview of the setup. All printers are connected to Windows 2000 servers. There are a lot of UNIX (AIX & HP-UX) servers as well which have SAP running.
I'm working on a script to add printers to a specified SAP instance. I want to verify the user input (to... (0 Replies)
Guy's
This is the Queue of the printer ...
>lpstat -pTOPPRINTER
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
TOPPRIN @TOPP DOWN
QUEUED ... (1 Reply)
Hi all, I am new to HP-UX, using SAM I cannot make a print queue on my test server. From my test & live server as the user required and as root I can ping my printer. I have tried to clone the test print queue using the exact same options use on my live system that prints just fine. Can anyone... (9 Replies)
Hi all:
I need to print all configured nics in one line with "|" separating them.
So I use netstat -i since it don't mess with subinterfaces (work like I want)
so with + cut + tail I get rid of the superfluous data
netstat -i |cut -f 1 -d" " |tail +3
this gaves me
e1000g1
e1000g2
Then ... (4 Replies)
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)
I need to get the domain under which a printer is configured in an AIX machine. I have the IP address of the printer.
Could you please help me with that? (3 Replies)
Hi
I have installed an HP X451dw printer on our network and want to print from Sco Openserver v6
The printer produces correct output but then repeats until the queue is manually stopped. :confused:
It is using a netcat/dumb interface
Any advice on how to persuade it to only print once... (5 Replies)
Hello Administrators.
I have a bit difficult problem.
I have local virtual printer that has backend defined in /etc/qconf to script which in turns sends the spool to the real device.
whenever I print locally (from sap) the print works as it should. The printer queue after the print is done... (6 Replies)
Discussion started by: Deneth
6 Replies
LEARN ABOUT NETBSD
lpc
LPC(8) BSD System Manager's Manual LPC(8)NAME
lpc -- line printer control program
SYNOPSIS
lpc [command [argument ...]]
DESCRIPTION
lpc is used by the system administrator to control the operation of the line printer system. For each line printer configured in
/etc/printcap, lpc may be used to:
o disable or enable a printer,
o disable or enable a printer's spooling queue,
o rearrange the order of jobs in a spooling queue,
o find the status of printers, and their associated spooling queues and printer daemons.
Without any arguments, lpc will prompt for commands from the standard input. If arguments are supplied, lpc interprets the first argument as
a command and the remaining arguments as parameters to the command. The standard input may be redirected causing lpc to read commands from
file. Commands may be abbreviated; the following is the list of recognized commands.
? [command ...]
help [command ...]
Print a short description of each command specified in the argument list, or, if no argument is given, a list of the recognized com-
mands.
abort { all | printer }
Terminate an active spooling daemon on the local host immediately and then disable printing (preventing new daemons from being
started by lpr(1)) for the specified printers.
clean { all | printer }
Remove any temporary files, data files, and control files that cannot be printed (i.e., do not form a complete printer job) from the
specified printer queue(s) on the local machine.
disable { all | printer }
Turn the specified printer queues off. This prevents new printer jobs from being entered into the queue by lpr(1).
down { all | printer } message ...
Turn the specified printer queue off, disable printing and put message in the printer status file. The message doesn't need to be
quoted, the remaining arguments are treated like echo(1). This is normally used to take a printer down and let others know why
lpq(1) will indicate the printer is down and print the status message.
enable { all | printer }
Enable spooling on the local queue for the listed printers. This will allow lpr(1) to put new jobs in the spool queue.
exit
quit Exit from lpc.
restart { all | printer }
Attempt to start a new printer daemon. This is useful when some abnormal condition causes the daemon to die unexpectedly, leaving
jobs in the queue. lpq(1) will report that there is no daemon present when this condition occurs. If the user is the super-user,
try to abort the current daemon first (i.e., kill and restart a stuck daemon).
start { all | printer }
Enable printing and start a spooling daemon for the listed printers.
status { all | printer }
Display the status of daemons and queues on the local machine.
stop { all | printer }
Stop a spooling daemon after the current job completes and disable printing.
topq printer [ jobnum ... ] [ user ... ]
Place the jobs in the order listed at the top of the printer queue.
up { all | printer }
Enable everything and start a new printer daemon. Undoes the effects of down.
FILES
/etc/printcap printer description file
/var/spool/output/* spool directories
/var/spool/output/*/lock lock file for queue control
DIAGNOSTICS
?Ambiguous command
abbreviation matches more than one command
?Invalid command
no match was found
?Privileged command
you must be a member of group "operator" or root to execute this command
SEE ALSO lpq(1), lpr(1), lprm(1), printcap(5), lpd(8)HISTORY
The lpc command appeared in 4.2BSD.
BSD April 28, 1995 BSD