Wednesday, December 6, 2023
HomeApplemacos - get provide ranges of a printer by way of...

macos – get provide ranges of a printer by way of command line

I am making an attempt to get the provision ranges of a printer by way of the command line. Thus far I used to be in a position to get some info with a lpoptions (marker-message property) command. The issue is that the standing of it would not replace robotically. Regardless of what number of pages I print the results of this command would not change.

On the identical time, the usual UI (cmd+p) print utility of the macOS can get the correct info from the printer. I did a fast investigation and came upon that it calls CUPS ReportLevels command.

So my query is: is there a approach to name that ReportLevels command manually in that case, how it may be finished? Or possibly there may be one other approach to drive that refresh?

I’d actually recognize any assist, thanks prematurely!



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments