Printing to Xerox printers from the Linux command line

Tags printing


Printing to a Xerox printer installed by Xerox Print Manager via the Linux command line.


  • Linux machines that have Xerox Print Manager and a printer installed.


Please note: Read over the article on Printing from Linux if you are just getting started.

  1. If your print queues are not already installed, and you have confirmed you have an account on the LSA Technology Services Randall Linux print server, you may use one of the following links to install Xerox Print Manager and a printer:
  2. In the directory of the document you want printed, enter:
    • Debian based: xeroxprint -d printername documenttobeprinted
    • RHEL 8+ and Fedora 30+:xeroxofficeprint -d printername documenttobeprinted
    • Note: Standard print utilities, such as lpr, will not work. Also, xeroxprint requires a filename argument; it does not recognize stdin pipelines.
  3. If you are using a GUI or X session, the Xerox print dialog box will appear (options such as stapling and hole punching are specified here). If there is no display present (e.g., a normal SSH session), the print job will go ahead with the default settings.

Caution: If you are accessing a system remotely via X11 forwarding, the Xerox printer dialog may try to use the system console, where you probably won't see it. Although command-line printing from a terminal window may work according to the above instructions, we recommend at this time that you download the file and print from your local system. Alternatively, you can print via MPrint if no special printer options are required.

Print Article


Article ID: 1583
Tue 5/26/20 9:26 PM
Mon 1/29/24 8:34 AM