Hi,
I am still trying to add a printer and assign a profile to it during installation of pdfcreator 1.2.1
I add the printer with a vbs script using the com interface
and the registry keys for the profile and printer-profile declaration with the /REGFile= switch.
The printer is gets created and the profile is available, too. But I can't get the printer<->profile allocation to work. The new printer has always the "default" profile assigned.
In the .reg file I have tried "HKEY_LOCAL_MACHINE" and "HKEY_USERS\\.DEFAULT" without success.
```[HKEY_LOCAL_MACHINE\Software\PDFCreator\Printers]
"PDF Beleg WB"="PDF Beleg WB"
"PDF Beleg B"="PDF Beleg B"
[HKEY_USERS\.DEFAULT\Software\PDFCreator\Printers]
"PDF Beleg WB"="PDF Beleg WB"
"PDF Beleg B"="PDF Beleg B"
<p>Is this only working in the "HKEY_CURRENT_USER" context ?<br /> </p><p>Profile and printers have the same names here.<br />some line of my vbs script:</p><p>ProfileName = "PDF Beleg WB"<br />PrinterName = "PDF Beleg WB"</p><p>PDFCreator.cAddPDFCreatorPrinter PrinterName, ProfileName</p><p>Best regards,</p><p>Ingo</p>