This section explains how to print a file directly from a terminal software by specifying the print file without starting the application software.
You can perform the printing with the following methods:

Cngpij Command

Start the Driver UI and specify print settings.
The [Maintenance] tab of the Driver UI allows you to use printer maintenance functions such as Cleaning.

Lpr Command

When you enter the command, specify print options to set up the print operation.
You can use the lpr command (CUPS) as the print command even when printing from an application software.

Usage Restrictions of the lpr and cngpij commands

1. If there is an error in the parameter for the specified option in the lpr command, the operation may be different depending on the option. The print job will be terminated forcibly without any warning if the option is other than PageSize, MediaType, or InputSlot.

Example of an option parameter error (case in which job is not forcibly terminated)

lpr -P MX890USB sample.ps -o MediaType=plan -o CNQuality=2

2. If you print an image file directly with the lpr or cngpij command, the image may be printed on the multiple pages. If this happens, adjust the image size.

3. If you print a PostScript file with the lpr or cngpij command, CUPS places that PostScript file at the top left corner of the print area and converts the file as defined by the PostScript file. If the size of the PostScript file is larger than the Page Size, the protruded area is not be printed.