University Printers on GNU/Linux and macOS
This article is written in the hope that it will be useful, but WITHOUT ANY WARRANTY, to the extent permitted by applicable law.
Copyright (C) 2026 The Author (see footer). Some rights reserved.
Permission is granted to make digital or hard copies of this work for personal or classroom use, provided that copies are not made or distributed for profit, commercial, operational, or administrative advantage. Permission is explicitly denied for any use, inclusion, redistribution, or integration of this article—in whole or in part—by professional support services, help desks, or managed service desks. All other redistribution, reproduction, or commercial use requires prior written permission from the copyright holder and proper attribution.
No part of this article is authored or supported by iSolutions, the University of Southampton IT service.
How to set up new HP printers on GNU/Linux and macOS
This is not an official guide.
This article assumes your package manager on GNU/Linux is dnf (on
University Red Hat laptops). If you are using another package manager,
replace dnf with your package manager (e.g. apt).
Install CUPS if you haven't already. For macOS users, CUPS is already installed.
sudo dnf install cups
Start the service if using systemd on GNU/Linux.
sudo systemctl enable --now cups
On macOS, start the CUPS daemon manually.
sudo cupsd
Enable CUPS web interface.
cupsctl WebInterface=yesYou should be able to see the CUPS web interface at http://localhost:631.
Delete
PaperCutPrintDeployClientif installed.PaperCutPrintDeployClientcan be obtained from https://printing.soton.ac.uk/print-deploy/client-setup/linux.html.sudo dnf remove PaperCutPrintDeployClient
On GNU/Linux, install
system-config-printerandsystem-config-printer-applet.sudo dnf install system-config-printer system-config-printer-applet
These packages are for graphical authentication dialogs, as you need to enter your username and password when you submit a job. The source code is available on GitHub: OpenPrinting/system-config-printer.
Start
system-config-printer.system-config-printer-applet &
This should be added to your XDG autostart script or your window manager's autostart script.
On macOS, authentication is handled by
Print Centre.app. If it doesn't happen automatically, openPrint Centre.appand click on the icon next to the job held for authentication.Visit http://localhost:631.
Click on Administration — Add Printer, and sign in (as an administrator of your local machine) if asked.
- Choose Other Network Printers: Internet Printing Protocol (ipps) radio-button, and Continue.
- For "Connection", use
ipps://printservice.soton.ac.uk:9164/printers/UoS_Black_and_White
ipps://printservice.soton.ac.uk:9164/printers/UoS_Colour
- Set a name for the new printer, such as
UoS_Black_and_WhiteorUoS_Colour. The remaining fields are optional. - The make should be HP, and Continue (not Add Printer).
- The model should be IPP Everywhere TM, and Add Printer. On
macOS, this may appear as
{current_make_and_model} - IPP Everywhere TM. - Set Default Options.
- To print a test page, click on Printers — (choose a printer) — Maintenance — Print test page.
- Enter your University username (without
@soton.ac.uk) and password in the dialog "Authentication required for printing document `Unknown' (job X)". If you are using a University-managed laptop (using
firewalld) and you are stuck in an endless authentication loop, then do the following (assuming you can runsudo):sudo firewall-cmd --permanent --add-port=9164/tcp sudo firewall-cmd --permanent --add-port=9163/tcp sudo firewall-cmd --permanent --add-service=ipp sudo firewall-cmd --permanent --add-service=mdns sudo firewall-cmd --permanent --zone=trusted --add-interface=lo sudo firewall-cmd --reload
- Your job will shortly be ready for printing (https://printing.soton.ac.uk/app?service=page/UserReleaseJobs), and you can release it at a printer.
To set up the printers from the command line instead, run the following commands:
sudo lpadmin -p UoS_Black_and_White -v "ipps://printservice.soton.ac.uk:9164/printers/UoS_Black_and_White" -E -m everywhere sudo lpadmin -p UoS_Colour -v "ipps://printservice.soton.ac.uk:9164/printers/UoS_Colour" -E -m everywhere
To prevent cups-browsed from looking for advertised printers, add
the following line to /etc/cups/cups-browsed.conf as root and
restart cups-browsed.
BrowseFilter NOT host printservice.soton.ac.uk