Results 1 to 9 of 9

Thread: Turing printer on

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2001
    Posts
    184

    Turing printer on

    I think its possible for windows to turn ON the printer isnt it? if so, any ideas on how you can turn it on from vb?

    thanx

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    If you mean physically power on the printer, the answer is No.

  3. #3
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    It depends on the printer and the printer driver. Many printers will turn themselves on once their printer driver starts throwing data their way (Hp printers for instance). I do not think there is a Windows API that does this, I am quite sure it is all handled by the manufacturer's printer driver. And as such, not all printers automatically turn on.

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Originally posted by memaroller
    It depends on the printer and the printer driver. Many printers will turn themselves on once their printer driver starts throwing data their way (Hp printers for instance).
    That might work if the printer was not actually turned off, but rather in "power save" mode. If the printer is physically turned off, you are not going to be able to physically turn it on unless you flick the power switch.

  5. #5
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    You are most likely correct, but my desktop HP sits dark with no lights on, and powers up when I print a document.

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Many printers will turn themselves on once their printer driver starts throwing data their way
    A) You'll have to make sure that it's one of those printers...
    B) Then it WOULD be possible, if you set a reference to the printer's DLL. Am I right? Of course I'm right. I think so, at least.
    C) Easiest method to turn a printer on:

    VB Code:
    1. msgbox ("Please turn your printer on")

  7. #7
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    You can find out the printer status as per this article.

    If the status is PRINTER_STATUS_POWER_SAVE you can probably awaken in by:
    VB Code:
    1. Printer.StartDoc
    2. Printer.CancelDoc

    HTH,
    Duncan
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  8. #8
    Addicted Member
    Join Date
    Feb 2002
    Location
    Belgium
    Posts
    190
    If there is a way to test if the printer in turning on
    then you can gif a message when the printer is not on

    das enyboddy now these test ???

  9. #9
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    Oops - must wait for you to ask the question first
    (see answer just above)
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

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