This function is used to end a print job. Everything that has been written to the spool file for this job since the last SplQmStartDoc is erased, including the SplQmStartDoc.
#define INCL_SPL #include <OS2.H> HSPL hspl; /* spooler handle. */ SplQmAbortDoc(hspl);