A
Alan Gillott
I am struggling to get Windows Instrumentation to work with printers using
either vbScript or dotnet. However the problem I am trying to resolve is not
straight forward. It involves multiple hardware (suppliers) for a printer,
NAS device, (I stupidly bought two) and a Wireless Router and lots of
emotion: wife who expects everything to work, evil stepdaughter and IT dude
husband who designs and builds software and who usually waves these issues
off to IT support - except I am the IT support dude and I am dying in an
emotional morass.
Setup.
Several Laptops, wireless links to an ADSL Linksys (which has its own
issues), ethernet connection to a Maxtor NAS device which in turn drives a
USB Laser Printer (Brother).
In my innocence I saw this as a way to share the houshold printers. Alas &
alak, it doesn't support bi-directional printers so no pretty color printers
& scanners. Grrr.
Issues:
1) I haven't yet been able to set up the maxtor in such a way as it doesn't
require a Logon! Even to use the "public" storage and of course the Printer.
Family objects violently to having to relogon to the maxtor to do printing.
Trying to use the disk is fine, you get a nice dialog automatically,
printing doesn't.
I have a script that does the Logon at startup, except startup doesn't run
when you reactivate Windows after Hibernation and I haven't yet persuaded
the appallingly badly designed Microsoft policy system to do this either.
2) Recycling the Linksys causes the Printer to go, and stay, unReady.
For those who like a good story, or may have an insight, here's why: for
those who are bored, move on...
The Linksys appears to have two problems. a) It shows all the symptoms of
buffer indigestion if at least one device isn't attached via Ethernet and
isn't constantly monitoring the ADSL status. Even if it is, I sometimes have
to go and play hit the refresh button to persuade it to wake up. I have
several emotional scars from this behavior. I think this might also
sometimes be British Telecom's fault for overloading the ADSL circuits but I
can't prove it.
This occurs 3 times or more a day without the Linksys monitor running, about
every other day when it's running.
b) the other issue is more vexing: it appears to convert all the wireless
connections into Ethernet connections, sit up, wag it's tail expect me to
pat it on the head. Changing firmware only changes the frequency of these
behaviors. This can only be resolved by recycling the device and the family
are only too happy to do so.
However thay never remember to recycle the printer (has to be done once
linksys is fully functional again). I get the blame.
I am, apparantly, not important enough to Brother, Maxtor or Cisco to get
any useful assistance...
What i have done so far:
1) I have a vbScript I use to relogon the Maxtor at Boot time. I haven't
persuaded it to run after hibernation though (but see below)
2) I have a VB.NET program, not used in anger though, that can detect
hibernation. This checks the state of the Maxtor and logs everyone on as
needed. Works a dream BUT
I cannot get my head around Woindows Instrumentation and figure out the text
string I need to check it's status (my printers and faxes folder can).
Neither in vbScript nor VB.Net.
The Maxtor is an embedded NT, appears as a node on my peer to peer network
but the Printer is not "owned" by the Maxtor but is a wierd type of USB
device that doesn't have a USB hub as seen by each Laptop (I think that's
why I have to recycle it) The Laptop clients detect it's loss but not it's
reappearance. I want at least to be able to flash lights on Laptops that
can't see it properly - my family might just be motivated to recycle it
before printing 100 page thesises which vanish into some printing black
hole.
Ultimately I want to take metaphorical mallet and wrench to reset it from
each laptop.
Sorry about the length, someone might get a good laugh.
Help!
1) anyone have any idea what magic string I need to give to instrumentation
to check the Printer's status? All the books give lots of examples of
everything but printers.
2) If anyone has insights into the rest of this sorry mess I will fall on
their necks with embarrassing hugs and kisses.
Thanks
either vbScript or dotnet. However the problem I am trying to resolve is not
straight forward. It involves multiple hardware (suppliers) for a printer,
NAS device, (I stupidly bought two) and a Wireless Router and lots of
emotion: wife who expects everything to work, evil stepdaughter and IT dude
husband who designs and builds software and who usually waves these issues
off to IT support - except I am the IT support dude and I am dying in an
emotional morass.
Setup.
Several Laptops, wireless links to an ADSL Linksys (which has its own
issues), ethernet connection to a Maxtor NAS device which in turn drives a
USB Laser Printer (Brother).
In my innocence I saw this as a way to share the houshold printers. Alas &
alak, it doesn't support bi-directional printers so no pretty color printers
& scanners. Grrr.
Issues:
1) I haven't yet been able to set up the maxtor in such a way as it doesn't
require a Logon! Even to use the "public" storage and of course the Printer.
Family objects violently to having to relogon to the maxtor to do printing.
Trying to use the disk is fine, you get a nice dialog automatically,
printing doesn't.
I have a script that does the Logon at startup, except startup doesn't run
when you reactivate Windows after Hibernation and I haven't yet persuaded
the appallingly badly designed Microsoft policy system to do this either.
2) Recycling the Linksys causes the Printer to go, and stay, unReady.
For those who like a good story, or may have an insight, here's why: for
those who are bored, move on...
The Linksys appears to have two problems. a) It shows all the symptoms of
buffer indigestion if at least one device isn't attached via Ethernet and
isn't constantly monitoring the ADSL status. Even if it is, I sometimes have
to go and play hit the refresh button to persuade it to wake up. I have
several emotional scars from this behavior. I think this might also
sometimes be British Telecom's fault for overloading the ADSL circuits but I
can't prove it.
This occurs 3 times or more a day without the Linksys monitor running, about
every other day when it's running.
b) the other issue is more vexing: it appears to convert all the wireless
connections into Ethernet connections, sit up, wag it's tail expect me to
pat it on the head. Changing firmware only changes the frequency of these
behaviors. This can only be resolved by recycling the device and the family
are only too happy to do so.
However thay never remember to recycle the printer (has to be done once
linksys is fully functional again). I get the blame.
I am, apparantly, not important enough to Brother, Maxtor or Cisco to get
any useful assistance...
What i have done so far:
1) I have a vbScript I use to relogon the Maxtor at Boot time. I haven't
persuaded it to run after hibernation though (but see below)
2) I have a VB.NET program, not used in anger though, that can detect
hibernation. This checks the state of the Maxtor and logs everyone on as
needed. Works a dream BUT
I cannot get my head around Woindows Instrumentation and figure out the text
string I need to check it's status (my printers and faxes folder can).
Neither in vbScript nor VB.Net.
The Maxtor is an embedded NT, appears as a node on my peer to peer network
but the Printer is not "owned" by the Maxtor but is a wierd type of USB
device that doesn't have a USB hub as seen by each Laptop (I think that's
why I have to recycle it) The Laptop clients detect it's loss but not it's
reappearance. I want at least to be able to flash lights on Laptops that
can't see it properly - my family might just be motivated to recycle it
before printing 100 page thesises which vanish into some printing black
hole.
Ultimately I want to take metaphorical mallet and wrench to reset it from
each laptop.
Sorry about the length, someone might get a good laugh.
Help!
1) anyone have any idea what magic string I need to give to instrumentation
to check the Printer's status? All the books give lots of examples of
everything but printers.
2) If anyone has insights into the rest of this sorry mess I will fall on
their necks with embarrassing hugs and kisses.
Thanks