Smart Device Functions:
Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than winspool, prefix the name with the module name and a period.
Declare Function SetJob Lib "winspool.drv" Alias "SetJobA" (hPrinter As IntPtr, JobId As Integer,
Used by sample code: PRINTER_DEFAULTS
Public Const JOB_CONTROL_PAUSE = &H1
Tips & Tricks:
How to cancel a print job:
int pHandle = 0;
dim Result as long = SetJob(handle, jobid, 0, Nothing, JOB_CONTROL_RESUME)
Alternative Managed API:
The System.Management API allows for lots of printer stuff, but doesn't let you delete a print job in Win2K.
TODO - a short description
10/19/2009 1:36:00 PM - -184.108.40.206
Please edit this page!
Do you have...