In the lpr command, you can specify a file of any data format that CUPS supports, such as PS, BMP, TIFF, or JPEG.
For details about the data formats that CUPS supports, see the homepage for the Common UNIX Printing System (http://www.cups.org/).
For information about the options that can be used and restrictions on combining options, see the following:
When you use the lpr command to print a file, enter the command as follows:
[user@zzz /yyyy]$ lpr -P MX340USB [filename] {-o option}
![]() |
|
Example: Printing Sample.png in grayscale
[user@zzz /yyyy]$ lpr -P MX340USB Sample.png -o CNGrayscale
Example: Printing Sample.png with A5 Page Size
[user@zzz /yyyy]$ lpr -P MX340USB Sample.png -o PageSize=a5
Example: Printing Sample.png on a paper size of 150 x 150mm (Custom Paper Size)
[user@zzz /yyyy]$ lpr -P MX340USB Sample.png -o PageSize=Custom.150x150mm
![]() |
For information on other restrictions of the lpr command, see "Usage Restrictions of the lpr and cngpij commands" in "Main Restrictions." |