Printing at CERN¶
Printing at CERN for Linux Systems
Documentation on this page is intended to be used by visitors, if you are using a CERN-supported Linux version, please look here.
CERN's Print Service provides print spooling through a set of print servers. Access to the print servers is made through the LPD protocol. Files to be printed have to be already encoded in a page description language (notably PostScript), or may be simple text files. Conversion to PostScript / PCL must be done on the client side.
In order to use CERN print service your Linux installation must be
able to handle LPD printing, either via LPRng or CUPS printing
software. (this is the case for all current Linux distributions, as
well as for Mac OS X).
To configure your printing system:
- Check the name of the printer you want to install. This name can be found on a label on the printer.
- Once found, following configuration data will be needed in order
to set up your printer:
- Printer name (usually also found on the printer, example: 31-2401-hp)
- Model name (required for functionality like choosing trays/duplex/resolution/color, using Generic PostScript Printer is in many cases sufficient for basic printing). For the example above, one would use HP LaserJet 4050 Series
- Server and queue name, example: 31-2401-hp.print.cern.ch with queue 31-2401-hp. You will need to configure a LPD queue (i.e. not IPP or locally-attached)
The above data will generally be sufficient in order to configure your system printing correctly using its configuration tools (system-config-printer, printconf, YAST, CUPS web interface ... etc .. depending on your distribution). Please note that your printing client should pre-process the data (in almost all cases to PostScript format) and format it correctly according to printer model before sending it to the print server.
Using the CERN printers
Either you will have to set you CERN printer as the "default" using the utilities provided with your system, or you can pass the name of the printer you want to use on the command line like
lpr -P 21-2401-hp ....Depending on the printing system, you can also use environment variables such as LPDEST to select a printer (consult the documentation for your Linux/printing subsystem on this). However, keep in mind that only printers that you have already configured as per above can be used this way.