AmyUni PDF Windows 2000 Terminal Server without 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
justin
Posts: 1
Joined: Tue May 04 2004

AmyUni PDF Windows 2000 Terminal Server without admin rights

Post by justin »

Hi

We are trying to use AmyUni PDF converter 2.06 on Windows 2000 Terminal Server. We have been using a Navision Attain application developed for our organisation for some time successfully on a stand-alone desktop/s and need to move some users onto a windows 2000 terminal server.

The printing/conversion works fine if the user has Administrator rights, however if they do not we get the following error -

There was an error found when printing the document "..." to LPT1
Do you want to retry the job?

This is some of the code used to generate the report

PDFConverter.DriverInit('Navision PDF Converter');
PDFConverter.FileNameOptions(3);
PDFConverter.DefaultDirectory(ENVIRON('TEMP') + '\');
PDFConverter.SetDefaultPrinter;
FileName := 'EFT Remittance ' + EFTHeader."No." + '.pdf';
...
...

TempFileName := ENVIRON('TEMP') + STRSUBSTNO('\EFT_%1_%2.pdf',EFTLine2."Transfer No.",EFTLine2."Line No.");
PDFConverter.DefaultFileName(TempFileName);
REPORT FORMAT
REPORT.RUNMODAL(50006,FALSE,TRUE,EFTLine2);
...
PDFConverter.FileNameOptions(0);
PDFConverter.RestoreDefaultPrinter;



Any help appreciated!

Thanks,

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

Post by Joan »

Hello,

How are you installing the Printer on the system. The code you sent below assumes that the printer is already installed on the server.

If you are calling PDFDriverInit to install the printer please notice that on a server configuration it is advisable to install the printer on the server using install.exe and call only DriverInit in your application.

Hope this helps.
Post Reply