OpenPrinting / OpenPrinting/cups-browsed

Destination is /dev/null [ubuntu]

Open
#71 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
49
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Cups detects the network printer but configures a null address as the destination. Printing is not possible.

Screenshots

Image

System Information:

  • OS and its version: Ubuntu 26.04 LTS
  • CUPS version: 2.4.16

Additional context

▎~
▎» lpstat -v
Gerät für Canon_TS5350i_series: implicitclass://Canon_TS5350i_series/
▎~
▎» lpstat -p
Drucker Canon_TS5350i_series druckt jetzt Canon_TS5350i_series-11.  Aktiviert seit Fr 14 Aug 2026 08:52:27 CEST
	ppdFilterEmitJCL: Filter function (PID 151139) started.
▎~
▎» sudo tail -50 /var/log/cups/error_log
[sudo: authenticate] Passwort:         
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[11]="TMPDIR=/var/spool/cups/tmp"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[12]="USER=root"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[13]="CUPS_MAX_MESSAGE=2047"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[14]="CUPS_SERVER=/run/cups/cups.sock"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[15]="CUPS_ENCRYPTION=IfRequested"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[16]="IPP_PORT=631"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[17]="CHARSET=utf-8"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[18]="LANG=de_DE.UTF-8"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[19]="PPD=/etc/cups/ppd/Canon_TS5350i_series.ppd"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[20]="CONTENT_TYPE=application/vnd.cups-pdf-banner"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[21]="DEVICE_URI=implicitclass://Canon_TS5350i_series/"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[22]="PRINTER_INFO=Canon_TS5350i_series"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[23]="PRINTER_LOCATION="
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[24]="PRINTER=Canon_TS5350i_series"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[25]="PRINTER_STATE_REASONS=none"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[26]="CUPS_FILETYPE=document"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[27]="FINAL_CONTENT_TYPE=application/pdf"
D [14/Aug/2026:08:52:23 +0200] [Job 11] envp[28]="AUTH_I****"
D [14/Aug/2026:08:52:23 +0200] [Job 11] Started filter /usr/lib/cups/filter/bannertopdf (PID 150812)
D [14/Aug/2026:08:52:23 +0200] [Job 11] Started filter /usr/lib/cups/filter/pdftopdf (PID 150814)
D [14/Aug/2026:08:52:23 +0200] [Job 11] Started backend /usr/lib/cups/backend/implicitclass (PID 150815)
D [14/Aug/2026:08:52:23 +0200] [Job 11] ppdFilterLoadPPD: Color profile qualifier determined from job and PPD data \'RGB.Stationery.600dpi\'
D [14/Aug/2026:08:52:23 +0200] [Job 11] ppdFilterLoadPPD: No ICC profiles specified in PPD
D [14/Aug/2026:08:52:23 +0200] [Job 11] ppdFilterLoadPPD: Searching for profile \"-/Stationery\"...
D [14/Aug/2026:08:52:23 +0200] [Job 11] ppdFilterLoadPPD: Color profile qualifier determined from job and PPD data \'RGB.Stationery.600dpi\'
D [14/Aug/2026:08:52:23 +0200] [Job 11] ppdFilterLoadPPD: No ICC profiles specified in PPD
D [14/Aug/2026:08:52:23 +0200] [Job 11] ppdFilterLoadPPD: Searching for profile \"-/Stationery\"...
D [14/Aug/2026:08:52:23 +0200] [Job 11] ppdFilterLoadPPD: Last filter determined by the PPD: -; Final data MIME type: application/pdf => PDF filter will log pages in page_log.
D [14/Aug/2026:08:52:23 +0200] [Job 11] ppdFilterLoadPPD: Last filter determined by the PPD: -; Final data MIME type: application/pdf => PDF filter will log pages in page_log.
D [14/Aug/2026:08:52:23 +0200] [Job 11] Read cups-browsed-dest-printer option: \"11 NO_DEST_FOUND\"
D [14/Aug/2026:08:52:23 +0200] [Job 11] Set job-printer-state-message to "No suitable destination host found by cups-browsed, retrying later", current level=ERROR
D [14/Aug/2026:08:52:23 +0200] [Job 11] cfFilterBannerToPDF: Copying input to temp file \"/tmp/24d1c6a8b45fe\"
D [14/Aug/2026:08:52:23 +0200] [Job 11] ppdFilterEmitJCL: Filter function (PID 150818) started.
D [14/Aug/2026:08:52:23 +0200] [Job 11] cfFilterPDFToPDF: Forced page logging selected by options.
D [14/Aug/2026:08:52:23 +0200] [Job 11] PID 150812 (/usr/lib/cups/filter/bannertopdf) exited with no errors.
D [14/Aug/2026:08:52:23 +0200] [Job 11] cfFilterPDFToPDF: Processing PDF input with QPDF: Page-ranges, page-set, number-up, booklet, size adjustment, ...
D [14/Aug/2026:08:52:23 +0200] [Job 11] cfFilterPDFToPDF: \"print-scaling\" IPP attribute: auto
D [14/Aug/2026:08:52:23 +0200] [Job 11] cfFilterPDFToPDF: Print scaling mode: Do not scale, center, crop if needed
D [14/Aug/2026:08:52:23 +0200] [Job 11] cfFilterPDFToPDF: After Cropping: 595.275574 841.889771 595.275574 841.889771
D [14/Aug/2026:08:52:23 +0200] [Job 11] PAGE: 1 1
D [14/Aug/2026:08:52:23 +0200] [Job 11] ppdFilterEmitJCL: Filter function (PID 150818) exited with no errors.
D [14/Aug/2026:08:52:23 +0200] [Job 11] PID 150814 (/usr/lib/cups/filter/pdftopdf) exited with no errors.
D [14/Aug/2026:08:52:23 +0200] [Job 11] PID 150815 (/usr/lib/cups/backend/implicitclass) stopped with status 7.
D [14/Aug/2026:08:52:23 +0200] [Job 11] Hint: Try setting the LogLevel to "debug" to find out more.
D [14/Aug/2026:08:52:23 +0200] [Job 11] Retrying job on same printer.
D [14/Aug/2026:08:52:23 +0200] [Job 11] End of messages
D [14/Aug/2026:08:52:23 +0200] [Job 11] printer-state=3(idle)
D [14/Aug/2026:08:52:23 +0200] [Job 11] printer-state-message="ppdFilterEmitJCL: Filter function (PID 150818) started."
D [14/Aug/2026:08:52:23 +0200] [Job 11] printer-state-reasons=none
E [14/Aug/2026:08:52:23 +0200] [Job 11] No suitable destination host found by cups-browsed, retrying later

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how cups-browsed creates the implicitclass:// queue and how the implicitclass backend resolves destinations. Reproduce the failure with the reported lpstat output and the NO_DEST_FOUND/status 7 log entries. Done means the detected printer receives a valid destination and printing no longer retries with a null address.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, ubuntu
Domain
backend, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.