qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_bios_printer Constants
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Constant:  _PRINTER_WRITE, _PRINTER_INIT, _PRINTER_STATUS
 
  Include:   <bios.h>
 
  Context:   _bios_printer
 
  Synopsis:  The <service> argument specifies the printer service
             requested.
 
     The <service> argument can be any of the following manifest
     constants:
 
     Constant            Meaning
 
     _PRINTER_WRITE      Sends the low-order byte of data to the
                         printer specified by the <printer> argument.
                         The low-order byte of the return value
                         indicates the printer status after the
                         operation, as defined below:
 
                         Bit     Meaning if True
 
                         0       Printer timed out
                         1       Not used
                         2       Not used
                         3       I/O error
                         4       Printer selected
                         5       Out of paper
                         6       Acknowledge
                         7       Printer not busy
 
     _PRINTER_INIT       Initializes the selected printer. The <data>
                         argument is ignored. The return value is the
                         low-order status byte defined above.
 
     _PRINTER_STATUS     Returns the printer status in the low-order
                         status byte defined above.