PRINTSTATUS( ) Function Example

? PRINTSTATUS( )
*** Program Example ***
STORE PRINTSTATUS( ) TO glReady
IF NOT glReady
   WAIT 'Make sure printer is attached and turned on!' WINDOW
ELSE
   WAIT 'Printer is ready!' WINDOW
ENDIF