Print from central servers

From ITSwiki
Revision as of 15:29, 13 June 2012 by Mttj (Talk | contribs)


Jump to: navigation, search

All SUN systems available to the end users have all network printers enabled using the CUPS printing system, i.e. there is no need to setup printers. However, a few questions are relevant:

Command line

Setting a default printer (command line):

lpoptions -d bp322028a

Print to a specific printer (command line)

lp -d cp322128a file.ps

Print on both sides:

lp -o Duplex=DuplexNoTumble -d bp322028a filename.ps

Saving an '''instance''' (i.e. a specific setting) and using it later:

lpoptions -o Duplex=DuplexNoTumble -p bp322028a/d

then print using:

lp -d bp322028a/d filename.pdf

Note: the instance name after the "/" can be anything.

Graphical interface

To use more of the features of the printers, use the xpp command which provides and graphical interface to the settings of the printers. The xpp command can replace the lp/lpr command in programs like acroread, etc.