The printing service CUPS runs on server ipnp-web.
Available printers:
- ipnp-pr1: double-sided black-and-white PS printer HP LaserJet P3005d, located in Heavy laboratories.
- ipnp-pr2: multifunctional xerox/printer Canon imageRunner 2018, allows for double-sided black-and-white printing on A3 and A4 paper. Located in the PhD-students-office A932.
- ipnp-pr3: multifunctional xerox/printer Canon imageRunner 2318, allows for double-sided black-and-white printing on A3 and A4 paper. Located in the secretary’s office A825.
- ipnp-pr4: Double-sided black-and-white printer HP LaserJet M506 Postscript. Located in the secretary’s office A825.
- ipnp-pr5: Multifunctional machine Canon i-Sensys MF515x, allows for double-sided black-and-white printing, copying and scanning together with sending the scannied documents via e-mail. Located in the IPNP library.
- ipnp-col: Coloured double-sided printer HP Color LaserJet M553 Postscript. Located in the secretary’s office A825. Please use používat uměřeně.
The setup depends on your oprating system: Linux, Windows, or Mac OSX.
Linux
There are 3 variants of use: CUPS browsed, CUPS client and CUPS server.
CUPS browsed
Cups-browsed automaticly seeks for available printers, hence nothing has to be set up by hand. It is installed and automatically run e.g. on Ubuntu. To find if this service works, put the following on the terminal:
systemctl status cups-browsed
An annoying thing is that one can also see a few printers frow other insitutes. This issue can be prevented by adding into /etc/cups/cups-browsed.conf lines such as:
BrowseFilter NOT host geof28.local
CUPS client
More economical and clearer way. The simplest setting consists in installing the ‘cups-client’ package and setting
ServerName ipnp-web.troja.mff.cuni.cz
in /etc/cups/client.conf or $HOME/.cups/client.conf (These files need to be created by user, see also man client.conf). When set up, all the ipnp printers should be available, no need to install individual printers.
CUPS server – for advanced users
This setup maz be deprecated.
Connect via
http://localhost:631
Example with the ipnp-pr4 printer:
- connection: http://ipnp-web:631/printers/ipnp-pr4
- název, popis a umístění viz výše, do not share the printer
- výrobce HP, model HP LaserJet Series PCL 6 CUPS
- media size A4, Double-Sided Printing On
Do the same with other printers, remembering to print on both sides and the paper size.
Note: For Canon multifunction copiers, drivers are not standard with CUPS and need to be installed separately. The corresponding tarball can be found at http://support-au.canon.com.au/contents/AU/EN/0100270808.html, the tarball contains both rpm and deb packages in both 32bit and 64bit versions. Install the packages cndrvcups-common, cndrvcups-ufr2-uk, after installing them the corresponding driver (UFR II) will appear in the model menu.
Windows
Drivers and specific settings
For some printers, you need to install drivers (from the Internet or installation CDs). The table below shows suggestions for drivers that work best in our experience. Some printers need to explain after installation that they have a duplex unit.
ipnp-col | HP Color LaserJet M553 PCL-6 nebo použijte originální instalační CD (na sekretariátě) |
ipnp-pr1 | HP Universal Printing PCL 6, popřípadě “HP LaserJet P3004/P3005 PCL6 Class Driver” (viditelny po “WindowsUpdate”) |
ipnp-pr2 | UFRII_Driver_V1500 for Canon iR 2018 (Download the UFRII-driver installator at this page. Run it, open the newly created folder, run Setup.exe. Choose the port http://ipnip-web:631/printers/ipnp-pr2. No need to follow the pictorial tutorial below.) |
ipnp-pr3 | Canon iR2318/2320 UFRII LT (bývá v defaultní nabídce)
Setup the following after install: |
ipnp-pr4 | HP LaserJet M506 PCL 6 nebo použijte originální instalační CD (na sekretariátě)
Do not forget to set: |
ipnp-pr5 | Generic Plus PCL6 (Download here, clicking on exe file a new folder GPlus_PCL6_Driver_V240_32_64_00 is created. Move that to a safe place (…). Then follow the pictorial instructions below, with click on “Have Disc” to select the file: …/GPlus_PCL6_Driver_V240_32_64_00/x64/Driver/CNP60MA64.INF). |
Visual guide for Windows 10
Follow the analogy to this pictorial guide. Then, manually set up duplex printing for your printer. (Inspired by the instructions for Windows 7.)
Windows 7
This tutorial is somewhat outdated: since July 2018, you need to enter the ipnp-web server name instead of ipnp00, and it demonstrates the installation of a printer that no longer exists. However, it is still valid in principle.
- Ovládací panely -> Hardware a zvuk -> zařízení a tiskárny -> Přidat tiskárnu
- Přidat síťovou tiskárnu …
- Vybrat ručně: Požadovaná tiskárna není v seznamu
- Vybrat sdílenou tiskárnu podle názvu. Stejně jako v Linuxu použijeme mantru http://ipnp-web:631/printers/ipnp-pr0
- Výběr výrobce a typu tiskárny
- Nastavení oboustranného tisku je nečekaně dvoufázové. V seznamu nainstalovaných tiskáren right-click na tiskárnu -> vlastnosti tiskárny
- Záložka “Nastavení zařizení” -> Jednotka pro oboustranný tisk -> Nainstalováno
- A opět v seznamu nainstalovaných tiskáren right-click na tiskárnu -> Předvolby tisku
- Záložka “Úpravy” -> zaškrtnout “Tisk na obě strany”
Warning: if you incorrectly install the printer via TCP/IP, the way back is somewhat painful and you should proceed as follows:
- uninstall the printer
- uninstall the printer from registry “Start regedit.exe and browse to HKEY_LOCAL_MACHINE\SYSTEM\Currentcontrolset\Control\Print\Monitors\Standard TCP/IP Ports and remove the entire key (folder) with the name of the port you are deleting.”
- restart Win
- install the printer following the instruction above
Mac OSX
Printer settings can be found in System Preferences -> Printers & Scanners
Procedure:
- Click on “+” at left down
- In the windowd “Add” in folder “Default” choose the requested printer (tiskarna@ipnp-web). The necessary data should be filled in automatically, see picture.
- Click on “Add”
“Hold for authentication” problem
In some versions of OS X, it happens that the job fails with a “Hold for authentication” message. Even though our printers don’t require any authentication, the Mac for some reason thinks it does and can’t print. This problem can be worked around with the following hack:
- List the printer names in the terminal:
lpstat -s
the names may differ from the real names because the special characters are replaced by “_”, but they can be identified without any problems. For example,
HP_Color_LaserJet_M553___ipnp_web
HP_LaserJet_Enterprise_M506___ipnp_web
are the internal names of two printers in the secretariat. - Set authentication to “negotiate”. Again in the terminal:
sudo lpadmin -p HP_1 -o auth-info-required=negotiate
where HP_1 is the name of the printer we identified in the previous step. - The first time the Mac prints, it asks for the “user/password” pair. It doesn’t matter at all what you type in, you just need to feed it something. It’s best to leave the ID your login name and leave the password blank. One should also check the option to save the password in Keychain, so that one doesn’t have to repeat this every time one prints.