OpenPrinting / OpenPrinting/go-mfp

Issue broken supply level reports in IPP

Open
#30 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
23
Forks
12
Avg merge
1d 27m
Merged PRs (30d)
7

Description

See

https://invent.kde.org/plasma/print-manager/-/merge_requests/311

Here a printer reports a broken supply level report in its IPP get-printer-attributes response. The report consists of araays where each array is supposed to have one element for each supply, so if the printer has n supplies each array has n elements. In the example in the linked bug report, there is a black and a color cartridge (cheap inkjet, 2 supplies), but the marker-levels attribute has 8 elements.

Contributor guide

No contributing guide indexed for this repository

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 with the linked KDE merge request and bug report, then trace the Go IPP supply-level attribute parsing described in the issue. Confirm how mismatched array lengths are handled and make the behavior correct for printers whose supply arrays contain extra elements.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.