Creating first PDF as restricted user

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
AccountView
Posts: 11
Joined: Mon Sep 20 2004

Creating first PDF as restricted user

Post by AccountView »

Hi,

We're noticing that since Amyuni PDF converter version 2.5, restricted users in XP/Vista can't use the printer we installed in our installer, until a user with administrator rights used the printer driver.

During install:
- we run as administrator (or equivalent)
- we install the amyuni PDF converter via install.exe (with correct license code and name)
- we set defaults
- do driverInit,
- set Papersize to 9
- save the config with SetDefaultConfigEx
- Close this off with DriverEnd.

When we then run our app as restricted user (normal user under Vista), we get error -41 during pdf creation.
When we run our app as administrator, printing works; also for normal users after that.

What can we do during install to remove the need for the admin to print once?

Regards,

By the way: we're using DriverInit in our application, not PDFDriverInit.
AccountView
Posts: 11
Joined: Mon Sep 20 2004

Re: Creating first PDF as restricted user

Post by AccountView »

Issue solved:

install.exe parameters need a space between id and code:

Code: Select all

install.exe -s "name" -n "LicName" -c"LicCode"

fails with no message in install.log.

Printer is installed, but not activated, hence the need for admin to print first.
Post Reply