A utility used to submit a print file to a computer running an LPD server.
lpr [-S server] –P printer [-C bannercontent] [-J jobname] [-o | -ol] filename
Parameters | |
---|---|
| |
Parameter | Purpose |
| |
[−S server] | Specifies the computer name or IP address of the computer where the printer is located. |
−P | Printer Specifies the printer name. |
[−C bannercontent] | Specifies banner page content to print. |
[−J jobname] | Specifies the print job name. |
[−o | =ol] | Specifies the file type. –o indicates a text file and –ol indicates a binary file. |
filename | Specifies the file to be printed. |