The command checkpaperout is used to check if there is paper in the printer.
- variablereturn [integer]
Variable that will store the result of the command, 0 (no paper present) or 1 (paper present).
This example creates a variable $(iPaper) that will store the result of the command checkpaperout using the parameter variablereturn.
The block if checks the value of the variable $(iPaper) and displays the message on the display.