Hi Barada,
I did more searching, specialy in XP registers, and find out that there is two places were available printers can be found:
For two shared printers installed on a station running Windows 98:
HKEY_LOCAL_MACHINE\system\CurrentControlSet\COntrol\Print\Printers
and
For two shared printers installed on a station running Windows 2000:
HKEY_CURRENT_USER\Printers\Connections
Seems that shared printers from 98 technologie are stored elsewhere than for NT technologie. Is it possible for you to confirm my findings ?
Also discovered that under XP it is possible to retreive printers capabilities directly from the registers.
These capabilities are:
printBinNames Array of paper bins
printCollate Binary of collate type
printDuplexSupport Binary of type of duplex
printMaxResolutionSupported Binary of maximum resolution
printMediaSupported Array of paper sizes
printOrientationSupported Array of orientations
They can be found under:
For two shared printers installed on a station running Windows 98:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Print\Printers\<PRINTERNAME>\DsDriver
and
For two shared printers installed on a station running Windows 2000:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Print\Providers\LanMan Print Services\Servers\<SERVERNAME>\Printers<PRINTERNAME>\DsDriver
Is it also possible for you to confirm these findings ?
In the later <SERVERNAME> can be anything depending on wich server we are attached to. Is it possible, from the register, to retreive the server to wich a station is attached to ?
I also would like Antonio to get invole in this thread. It would be most helpfull.
Regards,