|
| Hola,
I am programmatically trying to identify a physical printer like "HP
LaserJet 4050 Series PCL" and "Brother HL-P2000" from virtual
printers like "Microsoft Office Document Image Writer" and "Microsoft
Office Live Meeting Document Writer" and "Adobe PDF"
Is it safe to assume that each physical printer will have a value(s)
under the key HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Print\Printers\<printer-name>\PrinterPrivateData?
What is the significance of key HKLM\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Print\Printers\<printer-name>\PrinterPrivateData?
Is there a possibility that a real physical printer may not have
anything under PrinterPrivateData?
I observed that the virtual printers either dont have anything under
PrinterPrivateData or they have (incase of Adobe PDF) a key
"PromptForFileName" set to 1 under PrinterPrivateData.
If this is correct, I can read these values using API GetPrinterData().
Any help would be appreciated. Thanks,
AT
|
|