How do I use the PDF Converter in my 16-Bit applications?

This is a read only forum. It contains the most frequently asked questions about Amyuni products and licensing.
Post Reply
Dany
Amyuni Team
Posts: 113
Joined: Wed Sep 11 2002
Location: Montreal.
Contact:

How do I use the PDF Converter in my 16-Bit applications?

Post by Dany » Fri Aug 05 2005

- To use the PDF Converter in 16-Bit applications you can do one of the following:

1 - Install the printer using install.exe (even with the developer version), and then use Windows DOCINFO structure and StartDoc function to set up output file name. For the printer options (e.g.: resolution, ...) you can use the DEVMODE structure as described in the tech note 2 for the DEVMODE structure, please feel free to download this technical note from: http://www.amyuni.com/support.htm#technot

2 - Call the 32-Bit CDINTF DLL from the 16-Bit applications. This requires some special function calls either in C or Delphi.

3 - You may also run Install.exe to install the PDF Printer and to convert your reports to pdf you can just print them to the PDF printer. To specify the output file name and this make it transparent to the user you need the print to file option.

4 - To use the following options:
- Concatenation
- Merge (watermarks that come from another PDF file)
- Web optimization
- Send by email
- Export to RTF/HTML/JPEG/EXCEL
You need to do this after the document is generated. You can either use PdfConcat.exe, and PdfSplit.exe available at: http://www.amyuni.com/en/support/downloads.html or use a C/C++ code to call CDINTF from a 16-Bit application (a sample of this code can be provided by contacting the Support Department support@amyuni.com).

Post Reply