Description:
SplQmOpen opens a spool file for generating a print job. It corresponds to the DevOpenDC call.
#define INCL_SPL /* Or use INCL_PM, */ #include <os2.h> PSZ pszToken; /* Reserved value. */ LONG lCount; /* Number of items. */ PQMOPENDATA pqmdopData; /* Pointer to DevOpenStruc. */ HSPL hspl; /* Spooler handle. */ hspl = SplQmOpen(pszToken, lCount, pqmdopData);