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
AmyUni PDF Windows 2000 Terminal Server without admin rights
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.
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.