Skip to main contentClick to view our Accessibility Statement or contact us with accessibility-related questions.

Choose A Printer VIA Linux / Unix

Product support for
Xerox 700i/700 Digital Color Press, WorkCentre 4118, WorkCentre 4150, WorkCentre 5135/5150, WorkCentre Pro 232/238, WorkCentre Pro 245/255, WorkCentre Pro 265/275
Article ID
KB0220735
Published
2018-08-01

Choosing a Printer:

Many systems will have more than one printer available to the user. These printers can be attached to the local system via a parallel, serial, or USB port, or available over the network. Use the lpstat (1) command to see a list of available printers:

  • lpstat -p -d

The option specifies that you want to see a list of printers, and the -d option reports the current default printer or class.

Use the -d option with the lp command to print to a specific printer:

  • lp -d printer filename

    or the -P option with the lpr command:

  • lpr -P printer filename