home *** CD-ROM | disk | FTP | other *** search
- /*
- * PRINTER.H
- *
- * Written for the
- *
- * Datalight
- * Microsoft V 5.x
- * TurboC
- * &
- * Zortech
- *
- * C Compilers
- *
- * Copyright (c) John Birchfield 1987, 1988, 1989
- *
- * Output a character to the printer port using software interrupt
- * 0x17. Returns !0 if unsuccessful, 0 otherwise.
- *
- * Usage while (print_char (ch));
- */
-
- #define PR_SELECTED 0x90
-
- /*
- * flag returned 7 6 5 4 3 2 1 0
- * | | | | | | | |------- Time out
- * | | | | | | |---------
- * | | | | | |-----------
- * | | | | |------------- IO error
- * | | | |--------------- Selected
- * | | |----------------- Out of paper
- * | |-------------------
- * |--------------------- Busy
- */
-
- int print_char (char);
-