sensor.paper_supply 
sensor.paper_supply 

sensor.paper_supply 

Returns current paper supply status.

Getvar

To return the current paper supply status:
! U1 getvar "sensor.paper_supply"
Result
  • "ok"
    indicates the printer has paper.
  • "out"
    indicates that the printer is out of paper.