Home
» LINUX
»
How to Configure Printers via CUPS on HamoniKR OS
How to Configure Printers via CUPS on HamoniKR OS
Need to add a USB or network printer on HamoniKR OS? The shortest route is usually the desktop Printers utility. CUPS, the Common UNIX Printing System, provides the print queues behind many Linux desktop tools and also offers a local browser-based administration page. Use the desktop utility when it detects the printer; use CUPS directly when you need to inspect a queue or enter a connection URI yourself.
The name in the article topic is often written “Harmonica OS,” but the project’s official English spelling is HamoniKR OS. Its current printer documentation describes a graphical setup flow and driverless IPP support. Menus and available packages can differ by release, so treat exact labels below as version-dependent. CUPS illustrations in this guide are schematic interface examples, not captures from a tested HamoniKR installation.
Quick reference
Goal
Start here
What you need
Connect a USB printer
Printers utility
Printer powered on and connected by USB
Add a Wi-Fi or Ethernet printer
Printers utility or CUPS at http://localhost:631
Printer on the same local network; its IP address if discovery fails
Use a printer not listed by model
Try driverless IPP, then the vendor’s Linux driver
Exact printer model and manufacturer support files
Check a queue or print a test page
CUPS printer page or lpstat
Administrative authorization for changes
1. Open the printer settings and check CUPS
In HamoniKR, open Menu > Administration > Printers or open the Printers section in System Settings. The official HamoniKR 8.0 guide also lists system-config-printer as a way to start its printer utility. If your desktop has a different menu, search the application launcher for “Printers.”
Open the Printers utility from the Administration section; menu wording can vary by HamoniKR release.
If you specifically want the CUPS web interface, open http://localhost:631 in a browser on the same computer that will manage the printer. This address points to the local machine. If it does not load, check whether CUPS is installed and running:
systemctl status cups
On a Debian- or Ubuntu-based HamoniKR installation where CUPS is missing, install the package from the configured distribution repositories, then start the service:
Use the package manager’s prompt to review the packages before accepting. A personal desktop generally does not need to expose the CUPS administration page to the wider network. Keep the browser on localhost; do not loosen CUPS access rules or open port 631 just to add a local printer.
2. Add the printer through the CUPS web interface
In CUPS, choose Administration, then Add Printer. Sign in when prompted with an account authorized to administer printing on this computer. The list may show locally attached USB devices and printers discovered on the network. Select the correct device, confirm its connection, and give the queue a short name you will recognize, such as office_laser.
The local CUPS Administration page provides the Add Printer entry point.
For a network printer that does not appear, use its network address rather than guessing. Find the address in the printer’s network menu, router device list, or the manufacturer’s setup page. In the CUPS connection step, choose the matching protocol and enter the URI supplied by the printer documentation. For many modern devices, an IPP URI resembles ipp://192.168.1.50/ipp/print, but the path is model-specific; do not assume that example fits your printer. CUPS also supports protocols such as IPP, IPPS, LPD, and AppSocket/JetDirect.
Select the detected device or enter the printer’s documented connection URI when discovery does not find it.
3. Choose a driver or driverless IPP, then set defaults
When the setup wizard asks for a model or driver, prefer IPP Everywhere or the HamoniKR utility’s Driverless IPP option if the printer advertises support. Driverless printing reads capabilities reported by a compatible printer instead of relying on a traditional model-specific PPD file. It is a good first choice for many recent network printers, but it may not expose every vendor feature.
If driverless setup is unavailable or prints incorrectly, choose the exact make and model from the available list. HamoniKR’s documentation recommends installing its printer support package when a printer is not recognized:
Confirm the package is offered by the repositories configured for your HamoniKR release. For a model still missing, check the printer manufacturer’s official Linux support page for the precise model and a package compatible with your OS version. Avoid selecting a vaguely similar model just to get through the wizard: unsupported resolution, duplexing, paper trays, or color modes can produce poor output.
After adding the queue, set the options you actually use: paper size (for example, Letter or A4), color or grayscale, and duplex printing if supported. CUPS and the desktop dialog may offer different controls depending on the driver. Choose Set Default Options or the equivalent apply/save control so the settings persist.
Review available defaults and print a test page to confirm that the selected queue responds.
4. Print a test page and verify the result
From the printer’s CUPS page, use the maintenance menu to select Print Test Page. You can also print a simple document from a desktop application. A successful setup means the job appears in the queue, changes to completed, and the physical page has the expected orientation, paper size, color, and margins.
For a quick terminal check, list configured queues and their state:
lpstat -t
To print a file to a named queue, use:
lp -d office_laser /path/to/test.pdf
Replace the queue name and file path with your own. If you want to add an IPP Everywhere printer from a terminal, the CUPS command-line form is:
Replace PRINTER_IP and the URI path with the printer’s documented address. This command creates or updates a queue; it does not discover the correct URI for every model.
Common problems and practical fixes
The printer is missing from discovery: Confirm it is awake, on the same network, and not isolated on a guest Wi-Fi network. Try the IP address or the connection method documented by the manufacturer. For USB, reconnect directly to the computer and reopen the Printers utility.
CUPS opens but rejects the change: The signed-in account may not have print-administration rights. Use an authorized local account or ask the system administrator to grant access; do not change broad access rules as a workaround.
The queue says idle, but nothing prints: Check paper, toner or ink, printer display errors, and the queue’s job status. Confirm the selected URI and driver, then send a one-page test document.
The page prints with the wrong layout or missing options: Verify paper size and orientation in both the application and printer defaults. Try the exact vendor driver or a supported driverless IPP queue if available.
The printer is still unsupported: Check HamoniKR’s support-package availability and the manufacturer’s Linux downloads for the exact model. Driverless printing can provide basic output while leaving proprietary features unavailable.
Final checklist
The printer is powered on and connected by USB or to the same trusted network.
The Printers utility or CUPS shows the intended device and correct connection.
The queue uses a compatible driver or a supported driverless IPP mode.
Paper size and other defaults match the document and printer.