home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / printq14.zip / PRINTQ / printq.h < prev    next >
Text File  |  1994-04-25  |  1KB  |  36 lines

  1. /* printq.h -- include file for printq.dll */
  2. /* Version 1.3, (C) Peter Wansch, 1993     */
  3.  
  4. #define INCL_DOSSEMAPHORES
  5. #define INCL_WINSHELLDATA
  6. #define INCL_WINLISTBOXES
  7. #define INCL_BASE
  8. #define INCL_SPL
  9. #define INCL_SPLDOSPRINT
  10. #define INCL_DOSMEMMGR
  11. #define INCL_DEV
  12. #define INCL_GPICONTROL
  13.  
  14. #include <os2.h>
  15.  
  16. /* variables */
  17. extern PRQINFO3 prqInfoDef; /* current queue description */
  18. extern HCINFO hcInfoDef; /* current form description */
  19. extern LONG alCaps[CAPS_DEVICE_POLYSET_POINTS + 1]; /* current device caps */
  20. extern HDC hdcPrn; /* handle to printer device context */
  21.  
  22. /* function prototypes */
  23. BOOL SpoolInitialize(HAB hab, PDRIVDATA pDriverData, PBOOL pfIni);
  24. BOOL SpoolTerminate(void);
  25. BOOL SpoolBeginSetup(HWND hwndListBox);
  26. BOOL SpoolEndSetup(void);
  27. BOOL SpoolBeginSpool(PSZ pszComment, PSZ pszDocName, PSZ pszQueueProcParams, ULONG ulOptions, PHPS phpsPrinter, BOOL fAssocPS);
  28. BOOL SpoolEndSpool(PUSHORT pusJobId);
  29. BOOL SpoolAbortSpool(void);
  30. BOOL SpoolBeginInfo(PHPS phpsPrinterInfo, ULONG ulOptions, BOOL fAssocPS);
  31. BOOL SpoolEndInfo(void);
  32. BOOL SpoolJobProp(void);
  33. BOOL SpoolNewFrame(void);
  34. BOOL SpoolSetDef(void);
  35. BOOL SpoolIsJobStarted(void);
  36.