10 More Discussions You Might Find Interesting
1. AIX
I am using AIX 5.
Just swapped over an HP printer.
The old printer was on a JetDirect box. The new printer connects directly to the network. Using the same IP address to print to, so the only alteration I made was to edit the etc/qconfig file to alter the port setting from 9103 to 9100. I can... (2 Replies)
Discussion started by: charding
2 Replies
2. 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
3. AIX
Hi,
We have a problem with remote printers installed on our server.
Consistently, the printer status is ready but the impressions of the queue are waiting therefore blocked. To unblock the situation, we must launch stopsrc qdaemon-s-s and startsrc qdaemon to reactivate the queue.
Thank you... (2 Replies)
Discussion started by: GBAGO
2 Replies
4. UNIX for Dummies Questions & Answers
Dear all,
I'm a new guy doing some quntum calculation with gaussian on my rocks clusters. Recently, my cluster upgraded to rocks 5.3, but something strange happened. Everything goes correct except a serious problem. when I summit my gaussian job with script to sge queue, the job does run,... (0 Replies)
Discussion started by: liuzhencc
0 Replies
5. SCO
Hwey I manage a Unix box where I ama having multiple printer problems. the only way to get printers to print again is by rebooting. I stop and start services with no luck. Any one have any ideas? It can go weeks with being OK but then any given printer can go and cause the entire print queue to... (6 Replies)
Discussion started by: uk2us88
6 Replies
6. Shell Programming and Scripting
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
7. Programming
Hi,
I´m having a lot of problems when working with message queues, both on HP-UX Systems and Sun Solaris. When we fill a queue with a messages, the system hangs and locks everything that relies on the use of IPC resources. Anyone knows how to eliminate this problem?
Thanks,
Haroldo Teixeira (2 Replies)
Discussion started by: haroldo
2 Replies
8. 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
9. 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
10. UNIX for Dummies Questions & Answers
We have a 3rd party print queue installed on HP-UX 11.11 that interfaces with a binary. Basically we use the lp command to send reports to the print queue, which then interfaces with a binary to capture those reports into a reporting warehouse.
The problem lies in the way that HP uses a link to... (6 Replies)
Discussion started by: dangral
6 Replies
rlpq(1) UNIX Reference Manual rlpq(1)
NAME
rlpq - remote line printer queue examination program
SYNOPSIS
rlpq [-lmqNV] [-Hprinthost] [-Pprinter] [-Xproxyhost] [--debug] [--timeout=seconds] [--port=port] [ job # ... ] [ username ... ]
DESCRIPTION
rlpq uses TCP/IP to examine print queues for printers anywhere on a network. Unlike lpq, it does not require that the remote printers be
explicitly known to the local system (traditionally through /etc/printcap), and thus is considerably more flexible and requires less admin-
istration.
rlpq can be used anywhere a traditional lpq might be used, and is backwards compatible with traditional BSD lpq. If rlpq is invoked as
lpq, it preserves all known lpq semantics.
rlpq can be set up, installed, and used in the same two ways as rlpr(1) (that is, either with or without the rlprd(8) proxy daemon).
Please see rlpr(1) for details, and to see whether you will need to use the rlprd(8) proxy daemon or not.
OPTIONS
Environment/Setup
--debug
Print gobs of debugging information.
-N, --no-bind
Don't try to bind to privileged port before connecting to lpd. Please see the CONFIGURING A PROXY section in rlpr(1) for informa-
tion on use of this option.
--port=number
Select an alternate port (instead of 7290) to connect to, if using rlprd. Usually not needed.
-H, --printhost=host
Select the host to print to (used with -P).
Instead of using -H, one can specify the hostname directly including it with the printer name with the printer@hostname syntax.
-P, --printer=printername, --queue=printername
Select the printer to print to (used with -H).
-X, --proxy=proxyhost, --proxyhost=proxyhost
Select the proxy host to use, if necessary.
--timeout=seconds
Set the inactivity timer. If the connection hangs for more than seconds seconds, then rlpq will give up. Use the special value
`-1' to wait forever. Default timeout is 3 seconds.
-V, --version
Print version and exit.
Behavior
-l, --long
Produce a more detailed report.
-m, --mine
List only the jobs belonging to you.
-q, --quiet, --silent
Quiet mode - stay quiet (except for fatal errors). When this flag is set, rlpq's return value indicates whether there are any items
in the specified queue that meet the specified criteria (a return value of zero indicates success).
ENVIRONMENT VARIABLES
The following environment variables are used by rlpq:
RLPR_PRINTHOST
Specifies the default host's queue to examine.
PRINTER or LPDEST
Specifies the default printer to check on the host.
First PRINTER is consulted, then LPDEST.
Note that one can also specify the host to examine by setting printer to be printer@hostname. This may be more convenient than set-
ting RLPR_PRINTHOST, but will confuse the traditional BSD print commands.
RLPR_PROXYHOST
Specifies a proxy host to use, if necessary.
FILES
~/.rlprrc Personal printer/host database
/etc/hosts.lpd Host-based security on printhost
/etc/hosts.equiv Host-based security on printhost
/etc/passwd Personal identification
/etc/rlprrc System-wide printer/host database
SEE ALSO
rlpr(1), rlprm(1), rlprd(8), rlprrc(5)
AUTHOR
meem <meem@gnu.org>
BUGS
/ LIMITATIONS
Due to the dynamic nature of print queues, it is possible that the actual state of the queue may have changed between the time the snapshot
was generated and the output was produced.
rlpr 2.04 1999/10/28 rlpq(1)