Re: checking printer

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Try reading this
http://www.computerperformance.co.uk/Logon/logon_enumprinterconnections.htm

and also about this API
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_9fjn.asp

--
Regards,
Yuriy

This posting is provided "AS IS" with no warranties, and confers no rights.
"Alan Gillott" <agillott@xxxxxxxxxxxxx> wrote in message
news:%23u8Mk%23OHGHA.3000@xxxxxxxxxxxxxxxxxxxxxxx
> I have a printer attached to a network print server which periodically
> decides to go offline. yes i know why and the manufacturer(s) are being
> particularly unhelpful, but I want to try to detct it's offlinedness
> programattically. The WSH network object is singularly useless as it
> enumerates all printers but leaves no clue as to their status.
>
> I've wondered about the Shell application object: going to the Printers
> folder and enumerating that and maybe that will let me access the folder2
> object's offline status (though that's really intended for offline file
> management) but I don't want to go down that path unless there's a chance
of
> success. Coding those objects is painful as they are grossly
underdocumented
> and I haven't the patience to play trial and error for a day only to find
it
> doesn't work.
>
> Any other thoughts...
>
> Thanks
>
>


.



Relevant Pages

  • Re: checking printer
    ... printers is very pretty but singularly usless as it enumerates my 10 years ... >> decides to go offline. ... >> enumerates all printers but leaves no clue as to their status. ...
    (microsoft.public.scripting.wsh)
  • checking printer
    ... I have a printer attached to a network print server which periodically ... decides to go offline. ... I've wondered about the Shell application object: going to the Printers ... folder and enumerating that and maybe that will let me access the folder2 ...
    (microsoft.public.scripting.wsh)
  • RE: EMERGENCY! Offline Files Disappearing / Vanishing
    ... Folder Options -> Offline Files." ... when folder redirection is administratively set in SBS ... There are no related entries in the server event log, ... have not yet seen the event logs on the laptop itself. ...
    (microsoft.public.windows.server.sbs)
  • Re: EMERGENCY! Offline Files Disappearing / Vanishing
    ... I would not even consider an undertaking like reinstalling a server as ... Folder Options -> Offline Files." ... have not yet seen the event logs on the laptop itself. ...
    (microsoft.public.windows.server.sbs)
  • Re: EMERGENCY! Offline Files Disappearing / Vanishing
    ... My Documents made "Available Offline" ... Client laptop: ... files were all there under his appropriate user folder on the server. ...
    (microsoft.public.windows.server.sbs)