PDA

Click to See Complete Forum and Search --> : Delete a Queued printjob


JSpagnol
Mar 21st, 2001, 06:25 PM
Does anyone know how to use VB API to cancel a Queued Network Printer Printjob.

I'm using a HP Laserjet 4000 Series PCL 6 network printer and I have used the API calls for "printer_info_1" and "job_info_2" to get information about the printer and it's printjobs but I don't see how to use this to cancel a printjob. I thought I could use the shell command and NET PRINT command to cancel the print job. BUT the command doesn't work on Windows 98. It does work for Windows 2000 professional as long as I use the proper syntax.

I hope I supplied enough.