5. Print Settings from the Command Line

Basic Functions

When printing from the command line, you can set print setting options.

Enter the following command:
$ lpr -P [Printer Name] [File Name] -o [Option]=[Parameter]

Note


Number of Copies

CNCopies   Specifies the number of copies to be printed.

$ lpr [File Name] -o CNCopies=[Parameter]

  Parameter Specify a value from 1 to 999 (number of copies).
  Example To print 3 copies of the file "sample.ps":
$ lpr sample.ps -o CNCopies=3

Collate

Collate   To collate the pages when printing a multiple number of pages.

$lpr [Name of File to Print] -o CNCopies=[No. of Copies]-o Collate=[Parameter]

  Parameter Select and enter one of the following.
  True Prints by collating. (123, 123, ...)
  False Prints without collating. (111, 222, ...)(default)
  Example Specifying "Collate", setting the copy count to 3, and printing a file named "sample.ps":
$ lpr sample.ps -o CNCopies=3 -o Collate=True
< Previous / Next >