Kubuntu, built on the Ubuntu core with a KDE interface, offers robust printing support through the CUPS system. Many offices and homes require printers to be shared among multiple devices, making network printer sharing a valuable feature. By leveraging CUPS and KDE Print Manager, administrators can configure local and remote printing seamlessly.
CUPS, or the Common Unix Printing System, provides the fundamental print spooler service and device drivers used by most Linux distributions. In Kubuntu, this system integrates with the System Settings tool for a graphical setup process. Ensuring that CUPS is installed and properly configured is essential for reliable network printing.
Sharing a printer on Kubuntu involves adjusting firewall settings to allow inbound print traffic and enabling a network-sharing feature within the printer configuration. The Avahi daemon can also help devices discover shared printers automatically. A solid understanding of KDE tools and basic networking concepts simplifies the process, enabling secure and streamlined print jobs across multiple workstations.
$ dpkg -l cups ii cups 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - server ii cups-client 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - client programs
If CUPS is not installed, run
$ sudo apt-get update --quiet
followed by
$ sudo apt-get install --yes cups
to install the printer services.
$ sudo ufw allow 631/tcp --comment "CUPS TCP" Rule added Rule added (v6)
$ systemctl status avahi-daemon --no-pager --full ● avahi-daemon.service - Avahi mDNS/DNS-SD Stack Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled) Active: active (running) ...
If the printer is not detected, verify that Avahi is enabled on both systems and confirm the firewall rules allow inbound connections on port 631.
Tested on Kubuntu:
| Version | Code Name |
|---|---|
| 24.04 LTS | Noble Numbat |