Printing at the institute

The maths institute’s print server cupsserv.mathematik.hu-berlin.de hosts about 60 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, location, model and status is in the print server’s web interface:

https://cupsserv.mathematik.hu-berlin.de:631/printers/

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 CUPS web interface).

Command Effect
lpstat -pList all reachable printers
lpr datei.pdfPrint to the default printer
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 SettingsPrinters & 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 · 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)

SettingsSystemOptional featuresView 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

    SettingsBluetooth & devicesPrinters & scannersAdd 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 CustomSettings:

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

    GenericMS 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.

06 · Tips

Default printer, duplex, remote printing

07 · Help

When something goes wrong