§ Page Setup (lpr)

Explained below are the print options for specifying print settings with the command line switches of the lpr command.

You can specify the paper size, data size, etc. The following options are available:

Paper Size Specification

Syntax: -o "PageSize=size"

  • Custom.value1xvalue2mm: User-defined paper

  • Example: Printing Sample.png on A5 size paper
    
      lpr -P PIXMAIP1000 Sample.png -o "PageSize=a5"
    
    

    If you are using a user-defined paper, specify the paper size as follows:
    lpr -P PIXMAIP1000 Sample.png -o "PageSize=Custom.210x297mm"

    The paper size specifications must fall within the following ranges:

    • value1: 89.0mm to 215.9mm
    • value2: 120.0mm to 584.2mm
    Scaling Specification

    Syntax: -o "CNPercent=value"

    Example: Printing Sample.png with an expansion size of 200%
    
      lpr -P PIXMAIP1000 Sample.png -o "CNPercent=200"
    
    
    Print Position Adjustment

    Syntax: -o "CNLocation=position"

    Example: Printing Sample.png in the center of the print area
    
      lpr -P PIXMAIP1000 Sample.png -o "CNLocation=center"
    
    
    Copies

    Syntax: -o "CNCopies=value"

    Example: Printing 10 copies of Sample.png
    
      lpr -P PIXMAIP1000 Sample.png -o "CNCopies=10"