| cvs.gedasymbols.org/djgpp/doc/libc/libc_67.html | search | 
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] | 
#include <bios.h> unsigned _bios_printer(unsigned cmd, unsigned printer, unsigned data);  | 
_PRINTER_INIT
Reset and initialize the specified printer port
_PRINTER_STATUS
Return the status of the specified printer port
_PRINTER_WRITE
Print the data argument to the specified printer port
The _bios_printer function returns the value in the AX register after the BIOS interrupt. The high-order byte (AH) 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  | 
| ANSI/ISO C | No | 
| POSIX | No | 
while (*c) _bios_printer(_PRINTER_WRITE, *c++, 0);  | 
| webmaster | delorie software privacy | 
| Copyright © 2004 | Updated Apr 2004 |