PDF Converter 2.10 - limited user privileges

If you are a Power Builder developer and have any questions about using our products from Power Builder here is the place to post them.
Post Reply
ttkeithw
Posts: 2
Joined: Wed Jul 02 2008

PDF Converter 2.10 - limited user privileges

Post by ttkeithw » Fri Jul 04 2008

hi,

I am using Amyuni PDF Converter 2.10 with PowerBuilder version 10. I found an error with limited user privileges in Window XP. It returns 0 when i call the function PDFDriverInit() as below. So when I run the function SetDefaultConfig(), it crashes.

/***
iole_pdfobj = create oleobject
iole_pdfobj.ConnectToNewObject("cdintf.cdintf")
il_PDFPrinter = PdfDriverInit( is_PDFPrinterName )
SetDefaultConfig( il_PDFPrinter )
***/

But it works on the user with administrative rights. Is that something about the right of read/write on registry? What can I do or is there any other ways to I can try?

Thanks for the help.

Keith

Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: PDF Converter 2.10 - limited user privileges

Post by Joan » Mon Jul 07 2008

Hello,

PDFDriverInit is a function that installs a printer on the system. Under Windows 200, XP and above, only administrators can install printers on the system, this applies to Amyuni PDF Printer or any other printer. Therefore only administrators can run PDFDriverInit().

We advise our customers to install the printer on the system once when installing their applications and then call DriverInit and not PDFDriverInit when launching the application.

Concerning SetDefaultConfig(), this should be called after setting the printer configuration and not after calling the DriverInit functions.

Hope this helps.
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark

Post Reply