|
-
Mar 21st, 2001, 07:41 PM
#1
Thread Starter
New Member
I have used the API "printer_info_1" and "job_info_2" to get information about the printer and it's print jobs.
BUT I don't see how to use this to cancel a print job.
I have used the shell command and used the NET PRINT command to cancel the print job in windows 2000 professional.
BUT the NET PRINT command doesn't work Windows 98.
Is there a way to use API to cancel a print job?
I hope I supplied enough information. Please help me.
Last edited by JSpagnol; Mar 24th, 2001 at 10:56 AM.
-
Mar 23rd, 2001, 07:44 AM
#2
Addicted Member
I dont know whether it will work. But anyway. here
is the API
Public Declare Function EndDocPrinter Lib "winspool.drv" Alias "EndDocPrinter" (ByVal hPrinter As Long) As Long
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|