home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / s / snip1292.zip / PRNSPOOL.H < prev    next >
C/C++ Source or Header  |  1992-05-31  |  707b  |  25 lines

  1. /* prnspool.h 12-22-91 Robert Mashlan, public domain */
  2. /* print spooler interface functions header file     */
  3.  
  4. extern int   printspool_errno;
  5. extern char *printspool_errlist[];
  6.  
  7. int  printspool_installed(void);
  8. int  printspool_submit( const char *pathname );
  9. int  printspool_remove( const char far *fname );
  10. int  printspool_cancel(void);
  11. char far *printspool_getqueue(void);
  12. void printspool_endhold(void);
  13. int  printspool_errorcount(void);
  14.  
  15. #define PSENOERR   0x00
  16. #define PSEINVFNC  0x01
  17. #define PSENOFILE  0x02
  18. #define PSENOPATH  0x03
  19. #define PSEMFILE   0x04
  20. #define PSEACCES   0x05
  21. #define PSEQUEFUL  0x08
  22. #define PSESPLBUSY 0x09
  23. #define PSENME2LNG 0x0c
  24. #define PSEINVDRV  0x0f
  25.