|
-
February 17th, 2003, 06:51 AM
#1
Reading printer model name
Hi,
I'm looking for some sample code (VBA97 or VB6) for reading the model (driver?) name of a printer (the default printer would be fine).
The ActivePrinter property gives me <printer path> on <port>, but what I am after is the model name that the driver provides (as in the 'General' tab of the printer properties).
It seems possible in VBA XP (I think the driverName property can be used), but I'm stuck for VBA 97/VB6...
I've thought of using the HKLM\System\CurrentControlSet\Print\Printers\Default registry settings, but this doesn't appear to get updated when I set a default printer (in WinXP, anyway).
Any help would be greatly appreciated!!!
Thanks,
Iain
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
|