What queue name should I use in a CUPS lpd:// URI for a Canon 4800 printer when CUPS won't accept the URI without one?

canoncupsipp-everywherelinuxlpdprinting Solved with Claude Shared by Tom

The fix

Cause: CUPS requires a queue (resource) name in an lpd:// device URI, so lpd://<printer-ip> alone is rejected. Older setups may have saved the URI with a queue name that the GUI doesn't show.

Fix: Add lp as the queue name: lpd://192.0.2.10/lp. Canon's built-in LPD server mostly ignores the queue name, so lp works. On recent Canon models (PIXMA TS4800 series and similar), ipp://<printer-ip>/ipp/print with the IPP Everywhere driver (-m everywhere) also works.

Verify: Run lpstat -v to see the full device URI, then print a test page.

Applies to: CUPS 2.x on Linux with Canon network printers that accept LPD/LPR.

The full conversation

The original back-and-forth with Claude that led to the fix above.

Question

I'm adding a Canon 4800 network printer to CUPS on Linux. On my old system the device URI was just:

lpd://192.0.2.10

The new CUPS install won't take that URI unless it has a queue name. What queue name should I use?

Claude

CUPS needs a queue (resource) name in an lpd:// URI. Canon's LPD server mostly ignores the name, so use the usual lp.

  1. Use this device URI:

    lpd://192.0.2.10/lp
  2. Your old system probably had a queue name as well, even if the GUI hid it. To see the full URI there:

    bash
    lpstat -v
  3. Alternative (often better): recent Canon models such as the PIXMA TS4800 series support IPP Everywhere/AirPrint, which is usually more reliable than LPD and needs no driver:

    bash
    sudo lpadmin -p Canon4800 -E -v ipp://192.0.2.10/ipp/print -m everywhere

    If IPP doesn't work, go back to lpd://192.0.2.10/lp with the Canon or Gutenprint driver.

Confirm: lpstat -v should show the new URI. Then print a test page from the CUPS web UI (http://localhost:631) or with lp -d Canon4800 /etc/hosts.