If nothing else works, the sure way to be able to print so you are not blocked is to use the Mail2Print service https://printservice.web.cern.ch/printservice/mail2printinfo.aspx

Some Hint from Jens Kröger for Ubuntu 20.04

I followed instructions of this twiki to get a new printer running on Ubuntu 18.04.

It worked for me downloading the ppd from lxplus for the correct printer.

The other change I had to do was this:


Connection: lpd://1-017-CANC3.print.cern.ch/1-017-CANC3


Connection: lpd://CERNPRINTCANON.CERN.CH/1-1017-CANC3"

Alternatively (combining steps from below):

  • Open system "Settings" > "Devices" > "Printers"
  • Scroll down to the end of the existing printer list, and click "Additional Printer Settings..."
  • Press "+ Add"
  • Go to network printer > LPD/LPR Host or Printer
  • Lookup your printer at https://printservice.web.cern.ch/printservice/UserTools/PrinterStatus.aspx
  • Host: 28-R203-CANC3.print.cern.ch Queue: 28-R203-CANC3 (replace '28-R203-CANC3' by your printer name)
  • Get ppd file from lxplus: /etc/cups/ppd/28-R203-CANC3.ppd and do "Provide PPD file"
  • Get on "CERN" wifi (not "eduroam") or on ethernet

How to install CERN printers on Ubuntu 18.04

You must have cups installed as outlined here: https://help.ubuntu.com/lts/serverguide/cups.html. Then using the example of printer 28-R203-CANC3 :

  • Open http://localhost:631/admin
  • Administration tab
  • Add Printer
  • username and password of your PC's sudoer
  • LPD/LPR Host or Printer
  • Example: lpd://28-R203-CANC3.print.cern.ch/28-R203-CANC3
  • Name 28-R203-CANC3 or whatever suits you
  • Choose model and driver Generic >> Generic PostScript Printer (this bit is important!)
  • Add Printer

Please note that CUPS will install the print drivers provided by YOUR Linux distribution.

Instead you can download the corresponding '.ppd' from LXPLUS, /etc/cups/ppd/28-R203-CANC3.ppd, and upload this file under 'Provide a PPD File’.

Maybe it is already sufficient to exchange the .ppd file on your laptop

Alternatively, following the initial steps described at https://engineering.purdue.edu/ECN/Support/KB/Docs/VPSPrinterUbuntu:

  • Open system "Settings" > "Devices" > "Printers"
  • Scroll down to the end of the existing printer list, and click "Additional Printer Settings..."
  • Next steps are as Ubuntu 14.04 instructions below

How to install CERN printers on Ubuntu 14.04

This solution has been reported to work in Ubuntu 14.04 (verified to work on Mint 17.1), taken directly from: https://gist.github.com/KFubuki/10728230

  • Open the printer settings on your local computer.
  • Click "Add"
  • Select "Network printer" --> "LPD/LPR Host or printer"
  • Look for the name of your printer here
  • Write printer_name.print.cern.ch in the field "Host" and printer_name in "Queue" and press "Forward" (printer_name example: 500-1004-HPC)
  • Select brand and model of the printer
  • Select the duplexer if it can print both sides of the paper
  • Change the name of the printer to the original name provided by the CERN page provided above
  • Print a test page
  • Done!

The difference between this and the 12.04 instructions is that these instructions result in a printer address of the form PRINTERNAME.print.cern.ch, whereas the 12.04 instructions result in CERNPRINTPRINTERMODEL.cern.ch. This may have even been an update to the network or something similar, so these may work for 12.04 as well.

If you encounter problems with errors on HP printers, please refer to the workaround outlined here: https://cern.service-now.com/service-portal/article.do?n=KB0005238

How to install CERN printers on Ubuntu 12.04

Shamelessly stolen from http://balanceandbreath.blogspot.ch/2013/05/how-to-install-network-printer-at-cern.html, and posted here for posterity. Note that this worked for Ubuntu 12.04 in Summer 2014, but it has been reported to not work in Ubuntu 14.04 as of March 2015. Works with Ubuntu 18.04.4 LTS as of April 13, 2020 as well.

To start, you'll need the following packages:

sudo apt-get install libnet-ldap-perl; 
sudo apt-get install cups;

Download lpadmincern from http://ftp.riken.jp/Linux/cern/slc60beta/x86_64/updates/SRPMS/repoview/lpadmincern.html

This downloads an rpm file, which you should unpack as follows (replacing the version number as appropriate).

rpm2cpio lpadmincern-1.3.11-1.slc6.src.rpm | cpio -idmv;
tar -zxvf lpadmincern-1.3.11.tar.gz;

Now we need to edit the file lpadmincern.pl, so use vim and replace

$cupsc='/sbin/service cups reload';


$cupsc='/usr/sbin/service cups reload';

Now move the lpadmincern-1.3.11/ directory to /usr/share/lpadmincern (you may need to be root), and lookup your desired printer at https://printservice.web.cern.ch/printservice/UserTools/PrinterStatus.aspx. Then simply execute

sudo perl /usr/share/lpadmincern/lpadmincern.pl --add [printer-name];

Note that the final step requires root because that is necessary to add/remove/update/set default printers.

-- JosephReichert - 05 Jun 2014

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r11 - 2021-02-19 - GauthierDurieux
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback