Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Printerinks #2787

Closed
wants to merge 11 commits into from
Closed

Printerinks #2787

wants to merge 11 commits into from

Conversation

Stoatwblr
Copy link
Contributor

This patch adds new mappings to enable display of the the following printer supply item statuses and adds new aliases for some mappings to cater to variations of wording
eg CARTRIDGE{COLOR}LIGHT vs CARTRIDGELIGHT{COLOR} and GREY vs GRAY

This is to address FI4G bug #2785

I believe all the new mappings are new and unique. They work here with all tested printers.

  • All status items are already present in XML being sent from Fusioninventory-agent, but not parsed by FI4G

  • "FUSERKIT" (Emitted by many higher end HP laserjets and several other devices)

  • "TRANSFERKIT" output (Various laser printers)

  • "CARTRIDGELIGHTMAGENTA" (variant on CARTRIDGEMAGENTALIGHT)

  • "CARTRIDGELIGHTCYAN" (variant on CARTRIDGECYANLIGHT)

  • "CARTRIDGEPHOTOBLACK" (variant on CARTRIDGEBLACKPHOTO)

  • "CARTRIDGEGRAY" (variant on CARTRIDGEGREY)

  • "CARTRIDGEGREYLIGHT" - and variants CARTRIDGEGRAYLIGHT CARTRIDGELIGHTGREY CARTRIDGELIGHTGRAY

  • "CARTRIDGEBLACKMATTE" - and variant CARTRIDGEMATTEBLACK

  • CARTRIDGELIGHTMAGENTA, CARTRIDGELIGHTCYAN, CARTRIDGELIGHTGRAY, CARTRIDGEPHOTOBLACK, CARTRIDGEBLACKMATTE and the normal CYAN/MAGENTA/YELLOW are all emitted by Fusioninventory-agent when scanning HP Designjet Z5200 printers - other colours may be emitted depending on which inks are loaded (there are multiple palettes and ink types), so adding those might be a good idea (or some way of autoadding ink colours as seen)

Added "CARTRIDGEGLOSSENHANCER", "CARTRIDGEBLUE", "CARTRIDGEGREEN", "CARTRIDGERED" and "CARTRIDGECHROMATICRED" to cover the remaining known type 70/772 pigment cartridges used in this printer and in HP 12-color models. Latex inks probably identify differently.

@ddurieux
Copy link
Member

ddurieux commented Oct 9, 2019

Merged manually (and squashed to have only 1 commit).
I have renammed the id 197and 198 to 211 and 212 because 197 and 198 used by another PR merged before this.

@ddurieux ddurieux closed this Oct 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants