Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_lptstat()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_LPTSTAT()


Syntax:        L_LPTSTAT(<expN>)


Purpose:       To determine the current status of the specified
               parallel printer interface port.


Arguments:     <expN> is the printer whose status is required and must
               be in the range of 0 and 2.


Returns:       An integer representing the status of the specified
               printer.

               1 = Timed out.
               16 = Printer selected.
               32 = Out of paper.
               64 = Acknowledge.
               128 = Printer not busy.


Usage:         These values could be tested for in the event of a
               printer error using ISPRINTER() and perhaps be used to
               return a meaningful error message.


Examples:      * Determine the status of LPT1
               status = L_LPTSTAT(0)


Language:      Assembler

See Also: L_LPT2COM() L_LPTSWAP() L_LPTINIT() L_COM2LPT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson