Xerox 721P90350 User Manual

Page of 216
Printing using Xerox utilities and lpr utilities (DOS and UNIX)
Guide to Submitting Jobs from the Client
3-19
lpr command
Use the lpr command to send a document to a specific printer or 
to specify print options for the job you are submitting. To do so, 
enter the lpr command and its options on the command line 
using the following syntax:
Syntax (DOS)
lpr -S <printer controller name> -P <printer> <options> 
<filenames>
Syntax (UNIX)
lpr -P <printer> <options> <filenames>
Required
arguments
The following arguments are required for the lpr command:
-S <printer controller name>
Sends the specified files to the printer controller that you 
specify in the <printer controller name> option (DOS only).
-P  <printer>
The virtual printer that you want to use. If your UNIX 
environment is set up to specify your printer as the default 
printer, you may not need to enter -P.
<filenames>
The names of the files that you want to print including any 
filename extension.
NOTE:  
For DOS: If you specify a wildcard (*) as the filename on a 
PC running DOS and Pathway Access 2.1/Wollongong WIN 
TCP/IP version 5.1 to submit print jobs, the correct sender 
name is not displayed with all jobs. When you enter the list 
document command at the printer controller, the sender 
name is correct for the first job. All subsequent jobs list the IP 
address of the client as the sender name.
For DOS: If you are running FTP TCP/IP software and 
submitting a PCL job, add an -f to the lpr command line. For 
example, lpr -S <printer controller name> <options> -f 
<filenames>. An -f interprets the first character of each line 
as a standard Fortran carriage control character.
For UNIX: If you submit two files to the printer and the first 
file is nonexistent, the second file prints but the filename is 
replaced by the name of the first file.