home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / CTASK22.ZIP / PRT.H < prev    next >
C/C++ Source or Header  |  1990-10-12  |  1KB  |  37 lines

  1. /*
  2.    --- Version 2.0 90-10-12 10:34 ---
  3.  
  4.    PRT.H - CTask - Printer driver routine definitions.
  5.  
  6.    Public Domain Software written by
  7.       Thomas Wagner
  8.       Ferrari electronic Gmbh
  9.       Beusselstrasse 27
  10.       D-1000 Berlin 21
  11.       Germany
  12. */
  13.  
  14.  
  15. #define AUTOFEED  0x02
  16. #define INIT      0x04
  17. #define SELECT    0x08
  18.  
  19. #define BUSY      0x80
  20. #define ACK       0x40
  21. #define PEND      0x20
  22. #define SELIN     0x10
  23. #define ERROR     0x08
  24.  
  25. extern int Globalfunc prt_install (int port, byte polling, 
  26.                                    word prior, 
  27.                                    farptr xmitbuf, word xmitsize);
  28. extern void Globalfunc prt_remove (int port);
  29. extern void Taskfunc prt_remove_all (void);
  30. extern void Globalfunc prt_change_control (int port, byte control);
  31. extern int Globalfunc prt_write (int port, byte ch, dword timeout);
  32. extern int Globalfunc prt_status (int port);
  33. extern int Globalfunc prt_complete (int port);
  34. extern int Globalfunc prt_wait_complete (int port, dword timeout);
  35. extern void Globalfunc prt_flush (int port);
  36.  
  37.