CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Printer Status

  1. #1
    Join Date
    Dec 1999
    Posts
    2

    Printer Status

    I am trying to extract printer status in a 5.0 app on windows 95. the printer does not have a dll or external communication functionality. i am using the api EnumPrinters into a Printer_Info_2 structure (cut and pasting the example found on the internet) -- unsuccessfully. pPrinterName, pPortName and other string values of printer_info_2 are returned ok, but Status = 0, whether the printer is on or off, paper or no paper.

    what am i missing ? is there another example or source i can go to ? is there an api function called getprinter ? help?!

    thanks.



  2. #2
    Join Date
    Sep 1999
    Location
    Germany
    Posts
    66

    Re: Printer Status

    If you want check status of printer (when the printer will terminate a job) you can check follow sample.

    http://vbcode.webhostme.com/en/code.asp?id=70



    [email protected]
    http://vbcode.webhostme.com/

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

Featured