Success! What about terminal services/citrix?

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
RoddyM
Posts: 3
Joined: Tue Mar 28 2006

Success! What about terminal services/citrix?

Post by RoddyM »

I have succesfully sent a navision report in pdf format via email using the code at the end. Are there any citrix/terminal services issues regarding temporary storage areas :?: I avoided SendMail due to the need of a temporary storage area.


ocxAmyuniPDF.FontEmbedding(TRUE);
ocxAmyuniPDF.SetDefaultPrinter;
ocxAmyuniPDF.EmailFieldFrom := 'roddym@evision-crs.co.uk';
ocxAmyuniPDF.EmailFieldTo := 'roddym@evision-crs.co.uk';
ocxAmyuniPDF.EmailSubject := 'this is an email';
ocxAmyuniPDF.EmailMessage := 'email message text goes here';
ocxAmyuniPDF.EmailPrompt := FALSE;

ocxAmyuniPDF.FontEmbedding(TRUE);
ocxAmyuniPDF.FileNameOptionsEx(2049);
ocxAmyuniPDF.SetDefaultPrinter;
ocxAmyuniPDF.EnablePrinter('Evaluation Version Developer', txtActivationCode);

//print report
REPORT.RUNMODAL(61000);

ocxAmyuniPDF.FileNameOptions := 0;
ocxAmyuniPDF.RestoreDefaultPrinter;
ocxAmyuniPDF.DriverEnd;
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

I didn't really get your question. Your below code enables you to send the pdf file by e-mail, if you wish to save it to disk you need to use other settings.
RoddyM
Posts: 3
Joined: Tue Mar 28 2006

Clarification

Post by RoddyM »

Hi Joan,

I was wondering if there are any terminal services issues using the method highlighted in code (not using SendMail)? Forget about the "SendMail" comments.

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

Post by Joan »

Hello,

The method you used in your code and the SendMail function both use Mapi, if you are able to send and e-mail from the machine using outlook than any of these methonds will work.
Post Reply