I'm at AIX 5.3, I have a print queue named chqprinter, I want to allow access to print only 2 users to that print queue, jobs printed by all other users to above queue should be deleted.
Any idea how to achieve that?
---------- Post updated at 10:33 AM ---------- Previous update was at 10:31 AM ----------
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)
Hi All
Does anyone know what is meant by PRINTER STATUS CONNECT concerning print queues?
At work we run a Perle/Connectix JetStream 8500 (RJ45 Model) to connect our dot matrix printers and often we get the Connect Status.
Nobody I speak to knows what the status means. When the printer... (0 Replies)
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)
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)
Hi All,
I am new to HP-UX and new to administration world. I have a problem with two HP Laser Jet M5035MFP printers which are connected to HP-UX host machines. Problem is that whenver we print a job, the job gets printed very fine but the queue is not cleared. This makes the further jobs on the... (2 Replies)
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)
Hi,
I have one queue that have status QUEUE and 10 jobs are waiting.Can any one guide me how i can get total number of jobs on this queue.i can see 10 jobs but i need to get count 10 for this queue.Please help me out thanks in advance
sagii (2 Replies)
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)
Hi
I had setup a print queue named test in the AIX server. When I try to print 96 char per line.. it prints only 80 and the rest is skipped to the next line.
however there are 16 spaces left as blank in the first line
any help is appriciated (0 Replies)
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
LEARN ABOUT MINIX
lp
LP(1) General Commands Manual LP(1)NAME
lp, lpd - copy a file to the line printer
SYNOPSIS
lp [file ...]
DESCRIPTION
Each file argument to lp is send to the line printer to be printed. Standard input is read and printed if there are no arguments. Lp exe-
cutes /usr/lib/lpd with each file as input. Lpd puts the file in /usr/spool/lpd and starts printing the jobs on /dev/lp unless another lpd
is already running. If lpd finds any character in the input that it doesn't know how to handle then it will print the rest of the file
without any special treatment. This also means that no formfeed is sent after the file has been printed to force out the page. Lpd simply
assumes that you know what you are doing. (dumb, eh?)
Note: Don't do anything with a file until it is printed, lpd only makes a copy of a file in the spool directory when it is not world read-
able. If it can be read then it is printed directly.
FILES
/usr/spool/lpd/jobXXXXX
Information about a job.
/usr/spool/lpd/tmpXXXXX
Associated file to be printed.
/etc/termcap The 'lp' entry describes the printer by the "li#" and "co#" fields. By default 66 lines (li#66), and 80 columns
(co#80).
SEE ALSO lp(4), termcap(5), termcap(7).
BUGS
Not spooling a world readable file may not be such a smart idea.
A formfeed should be printed and the printer reset after a job full of escape codes, but this may cost paper.
No banner page.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
LP(1)