11-20-2008
Question about spooler
I use software in Unix, I am trying to edit the file before final printing. Because the software only let me enter the data into, then print out, during printing, unix will save file buffer in some where to be ready print, if now I cancel the printing job, the file's buffer should be in spool, and then can I edit this buffer, and continue to print?
7 More Discussions You Might Find Interesting
1. Programming
Hey people
I am currently working on a print spooler for unix over a network. I need help regarding the status of the printer. Is there any way to know when the printer has finished a previous job, so that the next job from the queue can be processed. Also is there any other way to print other... (0 Replies)
Discussion started by: rage
0 Replies
2. HP-UX
Greetings,
I have encountered the following errors and printing stops frequently.
" ERROR 45 FROM LOCKF CALL ON FILE OUTPUTQ".
I restart the spooler repeatedly but that is not a permanent solution. Please give me your usual assistance.
With regards,
Wobitu (2 Replies)
Discussion started by: wobitu
2 Replies
3. HP-UX
W eare currently running a Unix printer spooler and HP Deskjet printers. We are trying to set up a printer on the spooler server, but are getting connection errors. While we are able to ping and telnet to the relevant HP printer, we cannot set them up. Response: -
The HP JetDirect Printer... (0 Replies)
Discussion started by: Vegas
0 Replies
4. UNIX for Dummies Questions & Answers
:confused: Everytime our UNIXWARE 7 Server is restarted we also have to restart the spooler. If the spooler is not restarted, print jobs get stuck in the queu. Once restarted by using the following command lpstop and lpstart everything works fine.
Does anyone have any ideas what could be causing... (0 Replies)
Discussion started by: Yorgy
0 Replies
5. Shell Programming and Scripting
I have posted before about this; but I am not sure I was clear on my message, so I am hoping someone can help
with this as I gathered more information.
Excuse me if I am not making sense...I am new to UNIXWARE :-(
The print spooler start script was adjusted according to another engineer... (4 Replies)
Discussion started by: Yorgy
4 Replies
6. UNIX for Dummies Questions & Answers
:eek:
I need to check the status of my print spooler on an HP-UX what is the command?
Thanks
Janelle (1 Reply)
Discussion started by: lilnixon
1 Replies
7. SCO
I have a system that will not allow me to print from any network printers.
The printers are setup correctly.
I have already used lpshut and lpsched to reset the spooler
I am able to print jobs as long as I go around the spooler.
However, anytime I attempt to send a job through spooler it... (9 Replies)
Discussion started by: T Long
9 Replies
lpr(1) Apple Inc. lpr(1)
NAME
lpr - print files
SYNOPSIS
lpr [ -E ] [ -H server[:port] ] [ -U username ] [ -P destination[/instance] ] [ -# num-copies [ -h ] [ -l ] [ -m ] [ -o option[=value] ] [
-p] [ -q ] [ -r ] [ -C/J/T title ] [ file(s) ]
DESCRIPTION
lpr submits files for printing. Files named on the command line are sent to the named printer (or the default destination if no destination
is specified). If no files are listed on the command-line, lpr reads the print file from the standard input.
THE DEFAULT DESTINATION
CUPS provides many ways to set the default destination. The "LPDEST" and "PRINTER" environment variables are consulted first. If neither
are set, the current default set using the lpoptions(1) command is used, followed by the default set using the lpadmin(8) command.
OPTIONS
The following options are recognized by lpr:
-E
Forces encryption when connecting to the server.
-H server[:port]
Specifies an alternate server.
-C "name"
-J "name"
-T "name"
Sets the job name.
-P destination[/instance]
Prints files to the named printer.
-U username
Specifies an alternate username.
-# copies
Sets the number of copies to print from 1 to 100.
-h
Disables banner printing. This option is equivalent to "-o job-sheets=none".
-l
Specifies that the print file is already formatted for the destination and should be sent without filtering. This option is equivalent
to "-o raw".
-m
Send an email on job completion.
-o option[=value]
Sets a job option.
-p
Specifies that the print file should be formatted with a shaded header with the date, time, job name, and page number. This option is
equivalent to "-o prettyprint" and is only useful when printing text files.
-q
Hold job for printing.
-r
Specifies that the named print files should be deleted after printing them.
COMPATIBILITY
The "c", "d", "f", "g", "i", "n", "t", "v", and "w" options are not supported by CUPS and produce a warning message if used.
SEE ALSO
cancel(1), lp(1), lpadmin(8), lpoptions(1), lpq(1), lprm(1), lpstat(1),
http://localhost:631/help
COPYRIGHT
Copyright 2007-2011 by Apple Inc.
29 August 2008 CUPS lpr(1)