|
-
Apr 28th, 2002, 11:31 AM
#1
Thread Starter
Addicted Member
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
-
Apr 29th, 2002, 09:24 AM
#2
If you mean physically power on the printer, the answer is No.
-
Apr 29th, 2002, 10:58 AM
#3
I wonder how many charact
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.
-
Apr 29th, 2002, 11:05 AM
#4
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.
-
Apr 29th, 2002, 11:07 AM
#5
I wonder how many charact
You are most likely correct, but my desktop HP sits dark with no lights on, and powers up when I print a document.
-
Apr 29th, 2002, 11:08 AM
#6
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:
msgbox ("Please turn your printer on")
-
Apr 29th, 2002, 11:25 AM
#7
Frenzied Member
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:
Printer.StartDoc
Printer.CancelDoc
HTH,
Duncan
-
Apr 29th, 2002, 11:26 AM
#8
Addicted Member
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 ???
-
Apr 29th, 2002, 11:46 AM
#9
Frenzied Member
Oops - must wait for you to ask the question first 
(see answer just above)
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
|