Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Stoatwblr commented Mar 14, 2019

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.

Stoatwblr added 11 commits Mar 14, 2019
@ddurieux

This comment has been minimized.

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 join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.