10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, i am writing a script to generate a summary report for my data text file
my data in my text file goes like this:
MacOS:Mary Abraham:53.48:88:38
Windows in lala:Mary Abraham:22.30:23:22
lala in Windows:John Goodman:33.60:121:12
Hello world:Mr Tian:23.30:23:10
Windows in 31 days:John... (2 Replies)
Discussion started by: Cheranime
2 Replies
2. SCO
Does anybody know how I can stop the system slewing pages when a spool file has finished printing.
I need to set up a method where all users are printing to the same printer to produce labels.
The problem is that when the first users file has been printed the pages are slewed and the label is not... (2 Replies)
Discussion started by: rongrout
2 Replies
3. HP-UX
I have scheduled to print a numerous of report in mid-night. But, I found that some reports have not been printed out.
Then, I checked the file /var/spool/lp/log and found that all reports have been submitted to print queue.
Could anyone tell me what can be done to ensure all print jobs can be... (2 Replies)
Discussion started by: alfredo
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
Not sure where to begin on describing the issue; please try to understand that I am not very familiar with SCO UNIXWARE. I am a newbie...
We have a SCO UNIXWARE version 7.4 when we restart the computer we are required to enter the command lpstart, without it; people cannot print.
... (1 Reply)
Discussion started by: Yorgy
1 Replies
5. HP-UX
I can no longer print from HP-UX 10. All the printers are network printers. I have already stopped and restarted the spooler (lpshut and lpsched), but still the same problem. The printers react when I ping them.
I have also tried with SAM, but the system cannot find the printers.
Can somebody... (1 Reply)
Discussion started by: filipd
1 Replies
6. UNIX for Dummies Questions & Answers
How do you print a batch of pdf files on solaris 8/9 to a post script printer(HPLaser 4350).so that printing is as both sides of the paper.We have tried to print using XPDF pdftops program but we are able to print only as one side. The switch -o duplex does not seem to work when used with lp... (1 Reply)
Discussion started by: sivamurugan
1 Replies
7. UNIX for Dummies Questions & Answers
When I print a file from an application it never stops printing. Any ideas? (2 Replies)
Discussion started by: 744eagle
2 Replies
8. IP Networking
I have a printer installed on sun solaris m/c sun os 5.8. It doesn't print more than 52 files i.e if a give lp *.txt and the curent folder contains more than 52 files then it doesn't print them but if print in batches , each containing 52 files then it prints them properly.
How do i increase the... (3 Replies)
Discussion started by: kapilv
3 Replies
9. UNIX for Dummies Questions & Answers
i can only print from unix when I am logged in as host. When any user logs in (even myself as a user who has root priviledges) I cannot print. Has anyone heard of this problem before and are there any troubleshooting tips out there. HELP......... (3 Replies)
Discussion started by: acarroll
3 Replies
10. UNIX for Dummies Questions & Answers
Hi ,
Can somebody Please help me in finding out where I am going wrong.
Suppose i have a file called r_wer which contains files.
for ex :
LMN20001
LMN20002
LMN20003
Now I want to print them.
The way I am doing is
$ for a in `cat '/r_wer'`
> do
> lp -d printername $a
> done
But... (3 Replies)
Discussion started by: rooh
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-2013 by Apple Inc.
10 September 2008 CUPS lpstat(1)