This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.