[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
+---------------------------------+
|           PRINTSTATUS           |
+---------------------------------+
PRINTSTATUS()

-----------------------------------
Returns true if printer or print device is ready.
Return value - Logical
-----------------------------------

The PRINTSTATUS() function is similar to SYS(13).  SYS(13), however,
returns READY or OFFLINE as opposed to true or false.

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

-----------------------------------

See Also:  SET DEVICE, SET PRINTER, SYS(13)

-----------------------------------

See Also: SET DEVICE SET PRINTER SYS(13)
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson