Results 1 to 2 of 2

Thread: Cancel Print job?

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Posts
    3

    Unhappy

    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.

  2. #2
    Addicted Member KrishnaSantosh's Avatar
    Join Date
    Feb 2001
    Location
    Coimbatore
    Posts
    210
    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
  •  



Click Here to Expand Forum to Full Width