When printing
from the command line,
you can configure print settings.
Enter the following command:
$ lpr -P [Printer Name]
[File Name] -o [Option]=[Parameter]
Note
Specifies the job name.
$ lpr [File Name] -o CNDocName=[Parameter]
Parameter | Enter character strings of up to 32 bytes.
|
|
---|---|---|
Example | To print the file "sample.ps" with the job name "mydocument": $ lpr sample.ps -o CNDocName=mydocument |
Specifies the name of the person requesting a job.
$ lpr [File Name] -o CNUsrName=[Parameter]
Parameter | Enter character strings of up to 32 bytes.
|
|
---|---|---|
Example | To print the file "sample.ps" with the job request name "user": $ lpr sample.ps -o CNUsrName=user1 |
Specifies the number of copies to be printed.
$ lpr [File Name] -o CNCopies=[Parameter]
Parameter | Specify a value from 1 to 9999 (number of copies).
|
|
---|---|---|
Example | To print 3 copies of the file "sample.ps": $ lpr sample.ps -o CNCopies=3 |