Checking if printer is available before printing in electron

Is there a way to check the printer state in electron before printing so i can stop the user from printing if there is e.g. low ink?

I am retrieving all printers with webContents.getPrinters(); According to this and the available printer-state-reasons in here, i should be able to see the reasons for the current state of the printer in the PrintInfo provided by electron like so: ‘printer-state-reasons’: ‘marker-ink-empty’ or something similar to that.

However, i am getting none of that info on any of my connected printers and i’m left wondering what’s going on. Can anyone help me out?

This is all the info i get with the PrinterInfo provided by electron. enter image description hereenter image description here