printers: part numbers for the HP 3201 / 3301 series

A 3201dw is monitored and alerts correctly - Zabbix reports its cartridge names
and levels straight off the printer - but the Toner Report had no reorder chip
for it, because part numbers come only from modelsupplies and no family matched.
lookupsupplies returns [] for a model with no rows, so the printer showed levels
with nothing to order.

Adds the 218 family: 218A standard and 218X high yield in all four colours,
matched on 3201 and 3301 so the MFP siblings are covered by the same entry.
Part numbers and yields cross-checked against three independent sources rather
than inferred from the series - a wrong toner number means someone orders a
cartridge that does not fit, which is worse than the blank chip it replaces.

No drum or waste unit: none is listed as a separately orderable part for this
series, so the family is toners only.
This commit is contained in:
cproudlock
2026-08-13 13:45:45 -04:00
parent 4bded210e4
commit dfbc12a172

View File

@@ -46,6 +46,24 @@ def _part(supplytype, partnumber, marketingname, notes=None):
# substring matchkeys, and the list of supplies.
SEED = [
# ----- HP color, Pro (no metered variant exists) -----
{
# 3201dw / 3301 series, the 218 cartridge family. Part numbers and
# yields cross-checked against three independent sources (2026-08-13);
# no drum or waste unit is listed as a separately orderable part for
# this series, so toners only.
'vendor': 'HP', 'canonical': 'HP Color LaserJet Pro 3201 / 3301',
'matchkeys': ['3201', '3301'],
'supplies': [
_toner('black', 'standard', 'W2180A', '218A Black', 1300),
_toner('black', 'high', 'W2180X', '218X Black', 3200),
_toner('cyan', 'standard', 'W2181A', '218A Cyan', 1200),
_toner('cyan', 'high', 'W2181X', '218X Cyan', 2500),
_toner('yellow', 'standard', 'W2182A', '218A Yellow', 1200),
_toner('yellow', 'high', 'W2182X', '218X Yellow', 2500),
_toner('magenta', 'standard', 'W2183A', '218A Magenta', 1200),
_toner('magenta', 'high', 'W2183X', '218X Magenta', 2500),
],
},
{
'vendor': 'HP', 'canonical': 'HP Color LaserJet Pro M454 / M479',
'matchkeys': ['M454', 'M479'],