Skip to content

Print from the command line

The default printer submission command depends on the host’s spooler. BrightINSTALL may optionally integrate the BrightQ Print Job Manager with existing lp/lpr commands.

Terminal window
pjm --no-gui -P office /path/to/file.pdf
pjm --no-gui -P office -o PageSize=Tabloid /path/to/file.pdf
pjm --no-gui -P office -o raw /path/to/file.ps
Terminal window
lp -d office -n3 /path/to/file.pdf
lpr -P office -#3 /path/to/file.pdf

Use -o for supported generic or driver-specific filters. You may combine options, such as media type and page size, subject to what the driver supports.

Raw jobs bypass filters and postprocessing. They are suitable only when the document is already in a format that the printer can understand.

Terminal window
pjm --no-gui -P office -o raw /path/to/print-ready-data

See filter options for examples and PJM reference for other flags.