Always admin rights?

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
delphiro
Posts: 2
Joined: Tue May 27 2003

Always admin rights?

Post by delphiro »

Hi Amyuni team,

First of all thanks for this great piece of sotware :)

Now to the question. I am using the function in cdintf.dll

Code: Select all

function InstallDriver(pDriverName: pchar): integer; stdcall;
         external 'cdintf.dll' name 'PDFDriverInit';
under Delphi to install the pdf driver.

Does this mean that the driver will only load if you have administrator rights? If so, is there a way to enable 'normal users' to print to pdf from my application?

Thanks in advance,
Rob
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

PDFDriverInit will install the printer on the system, under Windows NT,2000 and XP adminsitrative rights are required to install any printer on the system, this is why only Administrators will be able to call PDFDriverInit.

If your users will not have administrative rights, we advise you to install the printer once on the system using Install.exe (you can do so when or after installing your application).
In your code you can replace PDFDriverInit() by DriverInit() so all users will be able to use the printer that is already installed on the system.

Hope this helps.
Post Reply