Using Mac Notification Center to Monitor Printer Supply Levels

It looks like the transition to HP for Samsung printers is complete. On a recent visit to the Samsung Printer Support page, every request was redirected to HP Technical Support. My visit was intended to update the Samsung software which had stopped working after upgrading to High Sierra. Instead I found myself pondering how to write my own application to monitor printer supply levels.