Sponsored Content
Full Discussion: Lpstat output in mb?
Top Forums UNIX for Dummies Questions & Answers Lpstat output in mb? Post 302912989 by Melikins on Wednesday 13th of August 2014 07:24:24 AM
Old 08-13-2014
Question Lpstat output in mb?

Hi all,

Newbie to the site here and fairly novice to UNIX\LINUX so please bear with me.Smilie

My question is; can the lpstat -t command show the size of the print jobs in mb or gb instead of bytes? They would be much easier to view this way.

For more information of what I'm on about; please see the attached image. Obviously the top job in lpstat is rather large and this had stalled the printer itself in this instance, but it would be good to view the actual size of it in somehting more readable like megabytes.

Is this possible?

Many thanks,

Melikins
Lpstat output in mb?-lpstat-question-forumjpg
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

lpstat -t

When you do a lpstat -t it displays all your printers and tty values. Where is the file that stores this information in SCO 5.0.5? Thanks in advance Stufine (2 Replies)
Discussion started by: stufine
2 Replies

2. UNIX for Advanced & Expert Users

lpstat

Hi, I have been using Hp so far and I am a new user to Solaris.. well, in HP Unix, if I type 'lpstat' if gives me the list of printers connected to the network and their status.. but in solaris it only gives the details if there is any job on the queue. I just want to know what is the... (3 Replies)
Discussion started by: sskb
3 Replies

3. Solaris

lpstat gives segmentation coredump error

hi everyone, we have solaris 8 in sun v480 server. it gives this error. Segmentation Fault(coredump) can anyone help me in this - urgently. Regards Karthik C (8 Replies)
Discussion started by: cksriramchandra
8 Replies

4. SCO

non root user can't use lpstat

I don't know if anyone still looks at this forum or not, but here goes. I've got two identical SCO OpenServer 5.0.7 machines, fully patched and updated. On one the non-root user can do lpstat -p and it will display a list of printers and their status, on the other: $ lpstat -p UX:lpstat: ERROR:... (3 Replies)
Discussion started by: checkpro
3 Replies

5. HP-UX

Lpstat

Hi there all.. I got 4 HP ux systems and 4 AIX systems here. when I let LPSTAT make a report in aix with -W I get a really nice report. Example: Queue Dev Status Job Files User PP % Blks Cp Rnk -------------------- -------------- --------- ------ ------------------ ---------- ---- ---... (12 Replies)
Discussion started by: draco
12 Replies

6. Shell Programming and Scripting

lpstat throughs warning

Hi Guys, I am geting this message ".status: (WARNING): 0781-102 Invalid printer name: xerox".i m reading printer name from a text file.i try to print the value reading from file is correct xerox. if run lpstat -pxerox -l it works fine but when i try to read from file it throughs warining.please... (1 Reply)
Discussion started by: sagii
1 Replies

7. Shell Programming and Scripting

lpstat

Hi, here is lpstat command with queue name. queue name is not valid but lpstat takes my local queue and shows the following results.is there any way that i can stop it after waring message and dont take local print queue. i would like to print a message that queue is not valid but when lpstat... (4 Replies)
Discussion started by: sagii
4 Replies

8. AIX

lpstat issues

Hi, I tried to migrate a server, I installed AIX on a new server and I want to configure the printer queues. I copied all of files from the old server where the printer queues are working fine. I followed these steps: 1. copy the /etc/qconfig (make a copy of the original before) 2. Copy the... (10 Replies)
Discussion started by: imad77
10 Replies

9. Solaris

Need help with lpstat command

Hi lpstat reports me "Failed to contact service for xxxxxx: not-found" lpstat -p test -l printer test unknown state. enabled since Oct 27 12:01 2009. available. Remote Name: XXXXXX Remote Server: sunsrv Failed to contact service for xxxxxx: not-found can someone help... (1 Reply)
Discussion started by: xtreams
1 Replies

10. UNIX for Advanced & Expert Users

lpstat ?

Hi, can somebody tell me what is the difference between `lpstat -s` and `lpstat -v` command. thanks. (3 Replies)
Discussion started by: anandgodse
3 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 ] [ -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 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. -h server[:port] Specifies an alternate server. -l Shows a long listing of printers, classes, or jobs. -o [destination(s)] Shows the jobs queue on the specified destinations. If no destinations are specified all jobs are shown. -p [printer(s)] Shows the printers and whether or not 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. COMPATIBILITY
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", "-U", and "-W" options are unique to CUPS. The Solaris "-f", "-P", and "-S" options are silently ignored. SEE ALSO
cancel(1), lp(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 10 September 2008 CUPS lpstat(1)
All times are GMT -4. The time now is 11:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy