From dfbc12a172a207dfd7b6e3bb66de09e101433430 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Thu, 13 Aug 2026 13:45:45 -0400 Subject: [PATCH] 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. --- plugins/printers/services/seed_supplies.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/plugins/printers/services/seed_supplies.py b/plugins/printers/services/seed_supplies.py index f29c103..7975f57 100644 --- a/plugins/printers/services/seed_supplies.py +++ b/plugins/printers/services/seed_supplies.py @@ -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'],