When you use the lpr command to print a file, enter the command as follows:
lpr -P PIXMAIP1500 [filename] {-o "option"}
[filename]
For filename, specify the name of the file to be printed. You can specify any file format that CUPS supports, such as PS, BMP, TIFF, or JPEG.
For details about the file formats that CUPS supports, see the homepage for the Common UNIX Printing System (http://www.cups.org/).
[option]
option is a print option that specifies a print setting. Enclose the option in quotation marks (" ") after the -o option of the lpr command.
If you omit option, the default values that print filter stores internally are used.
The following option values are available. For detail about how to specify the settings, see the explanations for the individual items.
§ Main |
![]() |
The print options that you can specify for option differ according to the printer model.There are also option combinations that are invalid. |
![]() |
If change a printer setting through the CUPS web interface, the new value becomes the default. |
[Example: Printing sample.bmp by setting the page size to A5 and the media type to plain paper]
[user@zzz /yyyy]$ lpr -P PIXMAIP1500 sample.bmp -o "PageSize=a5" -o "MediaType=plain"
![]() |
If you omit the printer name, the default printer is used. |
[Example: Printing sample.bmp with the default options]
[user@zzz /yyyy]$ lpr -P PIXMAIP1500 sample.bmp
[Example: Printing with a print option that has no parameters]
[user@zzz /yyyy]$ lpr -P PIXMAIP1500 sample.bmp -o "CNGrayscale"
![]() |
If a print option is specified incorrectly, the print option is ignored and printing is processed according to the default option and parameter values. For details, see "§ Usage Restrictions Based on CUPS Operation Settings" in "Appendix B Main Restrictions." |