Printing from LINUX

Using print service from the DESY guest network

Some of the public printers can be reached from inside the DESY guest network. Theses printers can be recognized by a sticker on the machine or you can look them up here: Desy Guest Network Printers.
If there is a banner printed before your job the UID will be either nobody or guest ;)

How to reach the printer from a LINUX machine:

All modern LINUX flavours use CUPS as a printing subsystem and there are different ways to connect to the print server

'client.conf'

go to '.cups' in in your Home folder (if '.cups' does not exist use 'mkdir' to create it) create a file 'client.conf' with the entry:

'ServerName desyguestprint.desy.de'

Now you need to convince CUPS to reread your configuration, you can either restart the CUPSD or reboot the machine.

All printers offered by desyguestprint should now be available in your printing subsystem.

Other local printers usually disappear (but don't get deleted) using this method hence you might want to mov the client.conf file away or comment the server entry out in order to be able to use e.g. your printer at home again.

'BrowsePoll'

Edit the file  'cups-browsed.conf' (found most of the times in '/etc/cups') add the following lines:

'BrowsePoll desyguestprint.desy.de' 

'LocalQueueNamingRemoteCUPS RemoteName'

Now you need to convince the CUPSD to reread your configuration by either restarting the CUPS and CUPS-BROWSED service or rebooting the machine. Note that you might need to start the CUPS-BROWSED if it is not running per default (service cups-browsed start).

The initial installation of the printers takes quite long and you might as well go to the canteen and come back, it is running in the background though.

In order to speed up the initial installation and declutter the print menues you maybe want to use the filter function that runs a regex over the printer names - in the cups-browsed.conf file:

'BrowseFilter name [regex/druckername]'

E.G. 'BrowseFilter name it.*' only shows the printers starting with 'it' (itps3, itps4, itps5 etc.) you can inverse the behaviour by using 'NOT' - see the man page for cups-browsed.conf for further details.