[WinPrnDev] Re: How to get dll name for print processor

  • From: Christoph Lindemann <christoph@xxxxxxxxxxxx>
  • To: winprndev@xxxxxxxxxxxxx
  • Date: Thu, 09 Oct 2008 20:50:42 +0200

Just to make sure, I was talking about the "GetPrinterDataEx" function, 
not the "GetPrinterData" function.

Else I have no idea just now (of course you could try a relative path 
"..\Windows NT x86\Print Processors" might be you get lucky :)

Alex Egorov wrote:
> Thank you Cristoph,
>
> but this command for print server opens Environments\Printers key and
> I can read only values from this key (DefaultSpoolDirectory and other)
>
>   
>> Without having tried it - but maybe GetPrinterDataEx can do the trick.
>>
>> hPrinter: handle to a print server
>> pKeyName: "Environments\Windows NT x86\Print Processors\<printproc
>> name>"
>> pValueName: "Driver"
>>
>> Of course you might specify other environment then "Windows NT x86",
>> like "Windows x64" or "Windows 4.0"
>>
>> /christoph
>>
>>     
>>> How I can get dll name for print processor.
>>>
>>> I can enumerate print processors by EnumPrintProcessors and I know,
>>> how I can get dll name on local computer: read from registry, but I
>>> need this info from remote computer and remote registry service may be
>>> disabled
>>>       
>
>   

---
Questions? First check the UndocPrint pages at 
http://www.undocprint.org/winspool

To unsubscribe, visit the List Server page at 
//www.freelists.org/list/winprndev

Other related posts: