9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello All,
When using CUPs. Does the file that gets printed live in some temp directory somewhere?
For example, if a user submits a PDF file to be printed, does a cached copy of that PDF file live somewhere on the Server in a temporary directory, at least until its printed?
# lpq -P... (1 Reply)
Discussion started by: mrm5102
1 Replies
2. Red Hat
Hi,
We need to restart CUPS service, and want to know if restarting CUPS service will stop/start existing printing queues?
Thank you! (1 Reply)
Discussion started by: aixlover
1 Replies
3. Red Hat
Hi all,
unable to print from linux box. Earlier it used to work fine.
The print job is sitting in the queue and not going to printer.
Removed queue job and tried again but no luck.
Tried "cupsenable" but ended up with no success.
I tried to print two text files as "root" with "lp " command... (0 Replies)
Discussion started by: lramsb4u
0 Replies
4. 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
5. SCO
Hi, i'm running Openserver 5.0.7 as a CUPS client for a Linux server. The root user can issue a "lpstat -t" to see the printers and can submit jobs without issues.
The problem presents when I try to work as a regular user. If I issue an "lpstat -t" all I get after a few seconds is "lpstat:... (1 Reply)
Discussion started by: cyruspy
1 Replies
6. Shell Programming and Scripting
Hi,
I need to get queue name ,status and numbero jobs waiting in queue.I was using lpstat and i got the queue name ,status and number of jobs waiting but the problem with lpstat is that when printer is out of paper then it shows printer status ready and 0 jobs in queue.is there any way that i can... (4 Replies)
Discussion started by: sagii
4 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. UNIX for Dummies Questions & Answers
Hi,
I am wondering how to catch print jobs to process them before been served to the printer.
I was told that the challenge is to catch raw text that an old legacy application sends to the printer (invoices, quotes, etc) and save them as text files to allow a new application to process them... (5 Replies)
Discussion started by: miguel77mex
5 Replies
9. UNIX for Advanced & Expert Users
I have just installed cup printing software on solaris 8 and i am able to print successfully
from the print server but unable to print from any of the print client in my local network subnet. i have enable browsing so that cups printer server could broadcaste itself to client. but still unable to... (1 Reply)
Discussion started by: hassan2
1 Replies
lpstat(1) Apple Inc. lpstat(1)
NAME
lpstat - print cups status information
SYNOPSIS
lpstat [ -E ] [ -H ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W which-jobs ] [ -a [ destination(s) ] ] [ -c [ class(es) ] ] [ -d ]
[ -e ] [ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] ]
DESCRIPTION
lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list active jobs
queued by the current user.
OPTIONS
The lpstat command supports the following options:
-E Forces encryption when connecting to the server.
-H Shows the server hostname and port.
-R Shows the ranking of print jobs.
-U username
Specifies an alternate username.
-W which-jobs
Specifies which jobs to show, "completed" or "not-completed" (the default). This option must appear before the -o option and/or any
printer names, otherwise the default ("not-completed") value will be used in the request to the scheduler.
-a [printer(s)]
Shows the accepting state of printer queues. If no printers are specified then all printers are listed.
-c [class(es)]
Shows the printer classes and the printers that belong to them. If no classes are specified then all classes are listed.
-d Shows the current default destination.
-e Shows all available destinations on the local network.
-h server[:port]
Specifies an alternate server.
-l Shows a long listing of printers, classes, or jobs.
-o [destination(s)]
Shows the jobs queued on the specified destinations. If no destinations are specified all jobs are shown.
-p [printer(s)]
Shows the printers and whether they are enabled for printing. If no printers are specified then all printers are listed.
-r Shows whether the CUPS server is running.
-s Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and
their associated devices. This is equivalent to using the -d, -c, and -v options.
-t Shows all status information. This is equivalent to using the -r, -d, -c, -v, -a, -p, and -o options.
-u [user(s)]
Shows a list of print jobs queued by the specified users. If no users are specified, lists the jobs queued by the current user.
-v [printer(s)]
Shows the printers and what device they are attached to. If no printers are specified then all printers are listed.
CONFORMING TO
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#". Also,
printer and class names are not case-sensitive.
The -h, -e, -E, -U, and -W options are unique to CUPS.
The Solaris -f, -P, and -S options are silently ignored.
SEE ALSO
cancel(1), lp(1), lpq(1), lpr(1), lprm(1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
26 May 2017 CUPS lpstat(1)