home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
DOOG
/
CTASK.ZIP
/
PRT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1989-12-20
|
977b
|
36 lines
/*
--- Version 2.0 89-12-13 17:45 ---
PRT.H - CTask - Printer driver routine definitions.
Public Domain Software written by
Thomas Wagner
Patschkauer Weg 31
D-1000 Berlin 33
West Germany
*/
#define AUTOFEED 0x02
#define INIT 0x04
#define SELECT 0x08
#define BUSY 0x80
#define ACK 0x40
#define PEND 0x20
#define SELIN 0x10
#define ERROR 0x08
extern int far prt_install (int port, byte polling,
word prior,
farptr xmitbuf, word xmitsize);
extern void far prt_remove (int port);
extern void far prt_remove_all (void);
extern void far prt_change_control (int port, byte control);
extern int far prt_write (int port, byte ch, dword timeout);
extern int far prt_status (int port);
extern int far prt_complete (int port);
extern int far prt_wait_complete (int port, dword timeout);
extern void far prt_flush (int port);