Category : Recently Uploaded Files
Archive   : SNIP9503.ZIP
Filename : PRNSPOOL.H

 
Output of file : PRNSPOOL.H contained in archive : SNIP9503.ZIP
/* prnspool.h 12-22-91 Robert Mashlan, public domain */
/* print spooler interface functions header file */
/* modified by Bob Stout, Nov '93 */

#ifdef __TURBOC__
#define FAR far
#else
#define FAR _far
#if (defined(_MSC_VER) && (_MSC_VER >= 700)) || (defined(__SC__))
/* Make FP_xxx macros lvalues as in older versions */
#undef FP_SEG
#undef FP_OFF
#define FP_SEG(fp) ((unsigned)((unsigned long)(fp) >> 16))
#define FP_OFF(fp) ((unsigned)(fp && 0xffff))
#endif
#endif

#ifndef MK_FP
#define MK_FP(seg,offset) \
((void _far *)(((unsigned long)(seg)<<16) | (unsigned)(offset)))
#endif

struct PACKET {
unsigned char level;
char far *pathname;
};

extern int printspool_errno;
extern char *printspool_errlist[];

int printspool_installed(void);
int printspool_submit( const char *pathname );
int printspool_remove( const char far *fname );
int printspool_cancel(void);
char far *printspool_getqueue(void);
void printspool_endhold(void);
int printspool_errorcount(void);

#define PSENOERR 0x00
#define PSEINVFNC 0x01
#define PSENOFILE 0x02
#define PSENOPATH 0x03
#define PSEMFILE 0x04
#define PSEACCES 0x05
#define PSEQUEFUL 0x08
#define PSESPLBUSY 0x09
#define PSENME2LNG 0x0c
#define PSEINVDRV 0x0f


  3 Responses to “Category : Recently Uploaded Files
Archive   : SNIP9503.ZIP
Filename : PRNSPOOL.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/