Printing in various operating systems

The DESY printing offers unified commands on all UNIX platforms, except from some older AIX machines:

submit a print job
A local spooling via a lpd-daemon is taking place on all platforms, printjobs can be submitted to the daemon by using bsd or sysV commands:

lpr -P< printername >[@< hostname>] -Z< option> < filename>
lp -d< printername>[@< hostname>] -o< option> < filename>


If no printername is given, the environment variable PRINTER is used, if no filename is given, the lpd reads from STDIN for possible options see DESY-options.

The "@< hostname>-option" provides a standalone lpr function. The lpd will not look up the appropriate spooler for the requested printer in the local printcap but will send the job directly to the named host, requesting the given printer on that host. This replaces the former used "slpr" binaries, which will be no longer maintained and only available for some platforms under /usr/local/bin/slpr.
The < hostname> of the printspooler by DESY is 'spool-lpr'.

query the queue status
The status of the spoolqueues and printers can be queried by using the well-known sysV or bsd commands on UNIX machines

lpq -P< printername>[@< hostname>]
lpstat -p< printername>[@< hostname>]


If no printername is given, the environment variable PRINTER is used. The "@< hostname> option" provides a standalone function, which means that the status on the named host is directly requested. If you don't have access to UNIX machines or if you prefere a graphic frontend, you can use the webtool

cancel print request
Requests can be canceled on UNIX machines by using the sysV or the bsd command:

cancel -p< printername> < jobID / all>
lprm -P< printername> < jobID / all>


If no printernam is supplied the default printer is used, if no jobID is mentioned, the first job in the queue is cancelled.

If something nasty happens on the printer with your job please call the uco or operators under 5005 they will be able to kill your job...