linux - How to track erros listed in ppd files? -


i've found in ppd file listed lot more errors can access using cups console interface. example part of kyocera ecosys p2135dn 3.5 printer ppd file

*% status (format: %%[ status: <one of these> ]%% )  *status: "warming up"/warming  *status: "idle"/idle  *status: "busy"/busy  *status: "waiting"/waiting  *status: "printing"/printing  *status: "initializing"/initializing  *status: "printing test page"/printing test page  *% printer error (format: %%[ printererror: <one of these> ]%% )  *printererror: "paper entry misfeed"  *printererror: "cover open"  *printererror: "no paper tray"  *printererror: "out of paper"  *printererror: "toner low (halt)"  *printererror: "warming up"  *printererror: "other reason"  *printererror: "video interface mode"  *printererror: "offline"  *printererror: "toner low (warning)" 

i'd track example low toner warning couldn't find how can such thing using cups api. have ideas how implement this?


Comments