home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 344_01 / print.h < prev    next >
Text File  |  1990-12-18  |  937b  |  36 lines

  1. /* PRINT.H
  2.  *
  3.  * Header file for PRINT.C
  4.  *
  5.  * Functions to access resident portion of PRINT.COM
  6.  * For documentation see PRINT.C
  7.  *
  8.  * Author: M. Wiedmann, December 1990
  9.  */
  10.  
  11.  
  12. /* prototypes                   */
  13.  
  14. unsigned int    prn_installed(void);
  15. unsigned int    prn_active(void);
  16. unsigned int    prn_submit(char *file);
  17. unsigned int    prn_cancel_file(char *file);
  18. unsigned int    prn_cancel_all(void);
  19. unsigned int    prn_stop(void);
  20. unsigned int    prn_resume(void);
  21.  
  22.  
  23. /* error codes                  */
  24.  
  25. #define PRN_OK                  0x0000
  26. #define PRN_INVALID_FUNCTION    0x0001
  27. #define PRN_FILE_NOT_FOUND      0x0002
  28. #define PRN_WRONG_PATH          0x0003
  29. #define PRN_TOO_MANY_FILES      0x0004
  30. #define PRN_ACCESS_DENIED       0x0005
  31. #define PRN_QUEUE_FULL          0x0008
  32. #define PRN_QUEUE_BUSY          0x0009
  33. #define PRN_NAME_TOO_LONG       0x000C
  34. #define PRN_WRONG_DRIVE         0x000F
  35.  
  36.