05-01-2007
Get print job information
Hi all,
I am on a mac and I am trying to get more information about print jobs i have. "lpq" only displays the document printing, size, and job ID. I need the status (if its on hold or not). Anyway to do that in unix/cups?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have an HP-UX system that has remote print queues created on it. We're having trouble with the data so I stopped the queue from sending its data to the recieving server. I typed "lpstat -o<queue> " and I see two print jobs listed c_91428.1 and c_91429.1 but when I go to the /usr/spool/<queue>... (2 Replies)
Discussion started by: HVHS_CJR
2 Replies
2. UNIX for Dummies Questions & Answers
Does anybody know how I can print multiple files in one print job?
This is what I am doing currently:
enscript file1 file2 file3
sent to printer
sent to printer
sent to printer
I would like it to print like this:
enscript file1 file2 file3
sent to printer
The current behavior... (2 Replies)
Discussion started by: GregoryPeck
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am trying to get some information on the jobs that are running. I have used the "ps" command, to get information such as 'cpu usage', 'username', 'pid', etc.,
I've also used the "bjobs" command to get information such as 'submit time' and 'start time'. The only thing I need now is to... (3 Replies)
Discussion started by: davidfrank
3 Replies
4. AIX
Anyone know of a way to do this? :confused: (1 Reply)
Discussion started by: eley
1 Replies
5. UNIX for Dummies Questions & Answers
How do I get my linux login ID to print on seperator page on print jobs. Right now it prints " Remote User"
thanks
Jim (0 Replies)
Discussion started by: jdmowrer
0 Replies
6. Shell Programming and Scripting
I am trying to print file information using ffmpeg tool in perl
Here is my code
use strict;
use warnings;
use IPC::Open3;
# example
my $filename = $ARGV;
my %videoInfo = videoInfo($filename);
print "duration: " . $videoInfo{'duration'} . "\n";
print "durationsecs: " .... (0 Replies)
Discussion started by: srijith
0 Replies
7. Shell Programming and Scripting
Hi
I have a perl script that prints all the video and audio file information(playing duration).
It works fine in one of my friends linux laptop.
But it doesn't work in my both windows and linux.
My friend told me I have to do install some module ( ppm instal ...... )
but I have no... (1 Reply)
Discussion started by: srijith
1 Replies
8. Shell Programming and Scripting
Need abit of help to print out information.
I have something like this
Logitech:My store:34.3:23
Altec Lansing:Partner:45.9:20
with : as delimiter
and i need an output arranged like this
Logitech My Store 34.3 23
Altec Lansing Partner 45.9 20
tried... (5 Replies)
Discussion started by: ezinele
5 Replies
9. Shell Programming and Scripting
Hi,
I am working on data stage 8.7 version and I want a script a to view the all log information of the data stage job from UNIX environment.
Can you please help me out by give the script.
Thanks in advance... (7 Replies)
Discussion started by: victory
7 Replies
lprm(1) Apple Inc. lprm(1)
NAME
lprm - cancel print jobs
SYNOPSIS
lprm [ -E ] [ -U username ] [ -h server[:port] ] [ -P destination[/instance] ] [ - ] [ job-id(s) ]
DESCRIPTION
lprm cancels print jobs that have been queued for printing. If no arguments are supplied, the current job on the default destination is
canceled. You can specify one or more job ID numbers to cancel those jobs or use the - option to cancel all jobs.
OPTIONS
The lprm command supports the following options:
-E Forces encryption when connecting to the server.
-P destination[/instance]
Specifies the destination printer or class.
-U username
Specifies an alternate username.
-h server[:port]
Specifies an alternate server.
CONFORMING TO
The CUPS version of lprm is compatible with the standard Berkeley command of the same name.
EXAMPLES
Cancel the current job on the default printer:
lprm
Cancel job 1234:
lprm 1234
Cancel all jobs:
lprm -
SEE ALSO
cancel(1), lp(1), lpq(1), lpr(1), lpstat(1), CUPS Online Help (http://localhost:631/help)
COPYRIGHT
Copyright (C) 2007-2017 by Apple Inc.
22 May 2014 CUPS lprm(1)