LP(1) BSD General Commands Manual LP(1)NAME
lp -- front-end to the print spooler
SYNOPSIS
lp [-cs] [-o option] [-d printer] [-n num] [file ...]
DESCRIPTION
lp is a front-end to the print spooler as required by the IEEE Std 1003.2 (``POSIX.2'') specification. It effectively invokes lpr(1) with
the proper set of arguments. It generally prints the named files on the destination printer.
The following options are available:
-c Make the lp command exit only after further access to any of the input files is no longer required. The application can then safely
delete or modify the files without affecting the output operation.
-d dest
Specify a particular printer. If no -d is provided on the command line, the contents of the environment variables LPDEST or PRINTER
(with this precedence) are taken as the destination printer.
-n num Specify that num copies of each of the named files shall be printed.
-s Silent operation.
-o Printer specific options. Not supported, provided only as a compatibility option for SVR4.
ENVIRONMENT
As described above, the variables LPDEST and PRINTER are examined to select the destination printer.
SEE ALSO lpr(1)STANDARDS
The lp command is expected to comply with the IEEE Std 1003.2 (``POSIX.2'') specification.
AUTHORS
This implementation of the lp command has been written by Jorg Wunsch.
BUGS
The IEEE Std 1003.2 (``POSIX.2'') specification does not provide any means to print non-text files. It rather requires the files to be
printed to be text files limited to reasonable line lengths and printable characters.
BSD January 22, 1995 BSD
Check Out this Related Man Page
LP(1) BSD General Commands Manual LP(1)NAME
lp -- front-end to the print spooler
SYNOPSIS
lp [-cs] [-o option] [-d printer] [-n num] [name ...]
DESCRIPTION
The lp utility is a front-end to the print spooler as required by the IEEE Std 1003.2 (``POSIX.2'') specification. It effectively invokes
lpr(1) with the proper set of arguments.
It generally prints the named files on the destination printer.
The following options are available:
-c Make the lp command exit only after further access to any of the input files is no longer required. The application can then safely
delete or modify the files without affecting the output operation.
-d dest
Specify a particular printer. If no -d is provided on the command line, the contents of the environment variables LPDEST or PRINTER
(with this precedence) are taken as the destination printer.
-m Send mail upon completion.
-n num Specify that num copies of each of the named files shall be printed.
-o option
Printer specific options. Not supported, provided only as a compatibility option for SVR.
-s Silent operation. Not supported, provided only as a compatibility option for Version 2 of the Single UNIX Specification (``SUSv2'').
-t title
Set the job title to title.
ENVIRONMENT
As described above, the variables LPDEST and PRINTER are examined to select the destination printer.
SEE ALSO lpr(1)STANDARDS
The lp command is expected to comply with the IEEE Std 1003.2 (``POSIX.2'') specification.
AUTHORS
This implementation of the lp command has been written by Jorg Wunsch.
BUGS
The IEEE Std 1003.2 (``POSIX.2'') specification does not provide any means to print non-text files. It rather requires the files to be
printed to be text files limited to reasonable line lengths and printable characters.
BSD January 22, 1995 BSD
Hi!
The shell account (HP UX v11) that our sysadmin created for me has no default printer queue set.
Is there a way for me to know whether LPDEST has been set as some "global" environment variable and use it in my .profile????
I am not sure if it matters but here what I discovered so far:... (3 Replies)
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)
Hi,
We have an application running on AIX5.3 that generates text files that are sent to be printed using the lp command.
The user can specify the number of copies they want printed, but only one copy ever gets printed.
I've checked the lp command that is used, and it correctly specifies... (5 Replies)
Hi All,
Can anyone inform me; is it possible to use HP-UX (11i) spooler to print in network printer?
And is there any limitation on print spooler queue size??
Suppose due to some reason, the printer get halted and you have print jobs in spooler queue, then after printer resume printing... (0 Replies)
I am not able to print plain text in a correct manner.
When I issue the command "lp -ddestination_printer myfile.txt" the printer prints a page with the following contents:
Feb 24 11:26 2005 myfile.txt Page 1
## Configured using SAM by root on Tue
The line beginning... (3 Replies)
Suppose there are multiple files containing certain text "abc". How to print the name of all such files with a single command from unix prompt?
Thanks in advance (6 Replies)
All,
Q: how would I add some escape codes to an interface that i have setup t print.?
Goal: to switch from NLQ to Util modes. back and forth.
Scenerio:
SCO OS 5.05
PRINTER: OKI Data 320 or similar. printer is called "test"
What I have done thus far. (just cannot get their)
I can from a... (6 Replies)