Possible returns from WinGetLastError
PMERR_SPL_QUEUE_ERROR (0x4004)
No spooler queue
supplied or found.
PMERR_STARTDOC_NOT_ISSUED (0x2104)
A request to write spooled output without first
issuing a STARTDOC was attempted.
PMERR_SPL_INV_HSPL
(0x4005)
The spooler handle is invalid.
[Back: SplQmAbortDoc - Parameters]
[Next: SplQmAbortDoc - Related Functions]