Printing at the institute

The maths institute’s print server cupsserv.mathematik.hu-berlin.de hosts 56 printers – usually one per office, plus multi-function and copy devices in the corridors and two pool printers. This page shows how to set up a printer on Linux, macOS and Windows 11.

Which printer is mine? The full list with queue name, room and device is further down on this page:

Go to the printer list

Queue names usually follow the scheme d<room> (e. g. d2207 for room 2.207); colour and multi-function devices have variants like d2302color or d1215_kopierer.
01 · Setup

Which operating system?

Pool machines are preconfigured. For your own device, jump to the matching guide:

02 · Workflow

Two steps to your printout

  1. Submit the job

    From your application’s print dialog (browser, editor, office, …) pick the configured printer and submit.

  2. Pick up

    Walk to the corresponding room and pick up your printout.

Students using the pool: please bring your own A4 paper (80 g/m², not pre-punched). See using the pool for details.
03 · Linux

Set up Linux

Pool Linux is already configured – just print. On your own Linux, one line in ~/.cups/client.conf is enough.

Pool machines

On pool machines the printers are ready to go – pick them from any print dialog or use the commands listed below.

Your own Linux

CUPS must be installed (already the case on most distributions). Then drop one line into ~/.cups/client.conf – afterwards every CUPS command and print dialog behaves as if all institute printers were local:

$ mkdir -p ~/.cups
$ echo 'ServerName cupsserv.mathematik.hu-berlin.de' > ~/.cups/client.conf
System-wide? To make every user on the machine use the institute printers, put the same line into /etc/cups/client.conf (with sudo).

CUPS commands

The examples below use d2207 as a placeholder – replace it with your printer’s queue name (see the printer list).

Command Effect
lpstat -pList all reachable printers
lpoptions -d d2207Set your own default printer (once)
lpr datei.pdfPrint to your default printer. Without a default of your own nothing prints: the server routes such jobs to the sink queue dummy so that no paper is wasted.
lpr -P d2207 datei.pdfPrint to a specific printer
lpr -#3 datei.pdf3 copies
lpr -o sides=two-sided-long-edge datei.pdfDuplex (long-edge)
lpq -P d2207Show a printer’s queue
lprm -P d2207 -Cancel your own jobs on that printer
04 · macOS

Set up macOS

Add the printer once via IP/LPD – afterwards it appears in every print dialog.

  1. Open printer settings

    System Settings → Printers & Scanners → +.

  2. Switch to the “IP” tab

    In the dialog, pick the third tab with the globe icon.

  3. Enter connection details
    FieldValue
    Addresscupsserv.mathematik.hu-berlin.de
    ProtocolLine Printer Daemon – LPD
    Queueyour queue name with a leading slash, e. g. /d2207
    Namefree choice, e.g. Math-Drucker 2.207
    UseGeneric PostScript Printer
  4. Add

    Click Add – done.

Manage print jobs: in Printers & Scanners double-click the printer – from there you can pause, resume or delete pending jobs.
05 · macOS profile

Set up a printer with a profile

For printer d2214a in room 2.214a there is a configuration profile: download, confirm, print – without typing the address and queue. More printers will follow.

Profile for d2214a (Dell Color Laser 3110cn, room 2.214a)

Download d2214a.mobileconfig

The profile adds the printer with the PostScript driver that ships with macOS. No software is installed.
  1. Download the profile

    Click the link above. If Safari asks whether the site may download, confirm with Allow. The file is then in your Downloads folder.

  2. Open the profile

    Double-click d2214a.mobileconfig. macOS reports that a profile was downloaded; nothing is set up yet.

  3. Install the profile

    Open System Settings → General → Device Management (up to macOS 14: Privacy & Security → Profiles). Double-click Drucker d2214a, choose Install and confirm with your Mac’s password.

  4. Print

    The printer now appears as d2214a Dell Color Laser 3110cn in Printers & Scanners and in every print dialog.

06 · Windows 11

Set up Windows 11

Add the printer as a TCP/IP device with LPR queue. This needs the Windows feature “LPR Port Monitor” one-time.

Step 1 — Enable LPR Port Monitor (one-time)

Settings → System → Optional features → View features → search for LPD/LPR, install LPD Print Service and LPR Port Monitor. Then sign out and back in once.

Alternatively, in an admin PowerShell:

PS> Enable-WindowsOptionalFeature -Online -FeatureName Printing-LPDPrintService -All
PS> Enable-WindowsOptionalFeature -Online -FeatureName Printing-LPRPortMonitor -All

Step 2 — Add the printer

  1. Open printer settings

    Settings → Bluetooth & devices → Printers & scanners → Add device.

  2. Add manually

    Click Add manually (appears after a short search). Then choose Add a printer using an IP address or hostname.

  3. Enter connection details
    FieldValue
    Device typeCustom
    Hostname/IPcupsserv.mathematik.hu-berlin.de
    Port namefree choice, e.g. LPR_d2207 (appending the queue name helps tell multiple printers apart)
  4. Configure the port

    When Windows asks for “Additional port information”, pick Custom → Settings:

    ProtocolLPR
    Queue nameyour queue name without a slash, e. g. d2207
    LPR byte countingenable
  5. Pick a driver

    Generic → MS Publisher Color Printer or Generic / Text Only. For best quality: HP Universal Print Driver for PostScript (hp.com).

  6. Print test page

    In the final step, print a test page to verify the configuration.

07 · Printer list

All printers of the institute

The name in the first column is the queue name the guides above ask for. The list is sorted alphabetically, which also orders it by building and floor.

Queue Room Device macOS profile
d1007kopierer 1.007 iR-ADV 4225 –
d11 1.1 HP LaserJet Pro M501dn –
d1102 1.102 Canon iR-ADV C2225 –
d1105 1.105 HP LaserJet Pro M501dn –
d1201 1.201 HP Laserjet Pro m501dn –
d1202 1.202 HP LaserJet Pro M501dn –
d1203 1.203 HP LaserJet Pro M501dn –
d1206 1.206 Brother MFC 8370 –
d1210 1.210 HP Color LaserJet M554 –
d1212 1.212 HP LaserJet Pro M501dn –
d1215_kopierer 1.215 Canon ADV 4225i –
d1215_pool 1.215 Pool HP LaserJet Pro M501dn –
d1215b 1.215b HP LaserJet Pro M501dn –
d1215b_hp 1.215b HP Color LaserJet M554 –
d1215b_kopierer 1.215b Canon iR-ADV 4225 –
d1217 1.217 HP Color LaserJet Pro 3202 –
d1228 1.228 HP LaserJet Pro M501dn –
d1233 1.233 HP LaserJet Pro M501dn –
d12flur 1.2 Flur HP LaserJet Pro m501dn –
d1315a_color 1.315a Canon iR-ADV C3525 III –
d1315kopierer 1.315 Canon iR-ADV 4225 –
d1316 1.316 HP LaserJet Pro M501 –
d1326d 1.326d Canon iR1643i –
d1333 1.333 Brother MFC-L2750DW –
d1401 1.401 canon iR1643i –
d1401color 1.401 Dell 3130cn Color Laser –
d1402 1.402 HP Laserjet Pro M501dn –
d1406 1.406 Brother HL-5050 –
d1424dkopierer 1.424d Canon 4225i –
d14flur 1.4 Flur Canon ADV 4225 –
d2111 2.111 HP LaserJet Pro M501dn –
d2111kopierer 2.111 Canon iR-ADV 4225 –
d2114 2.114 Brother HL-6050DN –
d2202 2.202 HP LaserJet Pro M501dn –
d2207 2.207 HP LaserJet Pro M501dn –
d2213 2.213 HP LaserJet Pro M501dn –
d2214a 2.214a Dell Color Laser 3110cn download
d22canon 2.214a Canon iR-ADV C2225 –
d22kopierer 2.2 Flur Canon iR-ADV 4225 –
d2301 2.301 Dell Color Laser 3110cn –
d2302color 2.302 Dell Color Laser 3110cn –
d2303 2.303 Dell Color Laser 3110CN –
d2305 2.305 HP LaserJet Pro M501dn –
d2308 2.308 Brother HL-5280DW Didaktik –
d2311 2.311 Brother HL-6050 –
d23_dida 2.3 Flur Canon iR1643i –
d23flur_color 2.3 Flur Color Canon iR-ADV C3725 –
d23tinte Kaenguru HP LaserJet Pro m501dn –
d2406 2.406 Brother MFC-8860DN –
d2416 2.416 HP LaserJet 4000 –
d2420 2.420 Canon iR-ADV 4225 –
d2420farbe 2.420 Canon iR-ADV C2225 –
d2421canon 2.421 Canon iR-ADV 4225 –
d2422hp 2.422 HP LaserJet Pro M501dn –
d2426 2.426 Xerox Phaser 6280DN –
d3009 3.009 HP LaserJet Pro M501dn –
08 · Tips

Default printer, duplex, remote printing

09 · Help

When something goes wrong