Search found 112 matches

by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: If I have a multithreaded application ...
Replies: 0
Views: 6120

If I have a multithreaded application ...

sending documents to your converter and I am using the locking mechanism of CDIntf, will these documents be converted to PDF concurrently? Or will they be converted in series? The PDF Converter process PDF documents within a multi-threading environment by printing these documents concurrently. In t...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: I have multiple applications ...
Replies: 0
Views: 6208

I have multiple applications ...

printing to the PDF Printer in the same time. What can I do to avoid conflicts? Since version 2.06, we have a locking mechanism that enables you to print to the PDF Printer programmatically in multithreaded environment. The lock works as follows: - To lock the print job: cdintf.Lock( documentTitle ...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: How do I generate a numbered PDF file programmatically?
Replies: 0
Views: 5809

How do I generate a numbered PDF file programmatically?

To generate a numbered PDF file using the PDF Converter here is what you can do: - Install the PDF Printer (Developer version). - Print your reports to the PDF Printer while appending them to get 1 pdf file. Samples about this are found in our technical notes freely downloadable at: http://www.amyun...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: How can I send the generated file by e-mail?
Replies: 0
Views: 6090

How can I send the generated file by e-mail?

End-user: If you have the End-user version of the driver, you can go to the Destination tab in the Properties and set the destination option to ‘Send by e-mail’. Developer: If you have the Developer version you can send the PDF file by e-mail while generating it by adding 800 Hex to your ‘File...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: How can I convert EMF files to PDF?
Replies: 0
Views: 5726

How can I convert EMF files to PDF?

You can do this using BatchConvert. Here is a sample script : Dim cdi Set cdi = CreateObject( "cdintf.cdintf" ) cdi.DriverInit( "Amyuni PDF Converter") cdi.SetDefaultPrinter cdi.FileNameOptions = 7 cdi.DefaultFileName = "c:\wutemp\emf.pdf" cdi.BatchConvert "c:\temp...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: I want to generate PDF files ...
Replies: 0
Views: 6078

I want to generate PDF files ...

and print them to a specific paper bin. How can I do this? If you have specified the paper bin to which you want print the file when creating your document, you can generate the PDF files using the PDF Converter. This will keep the format of the PDF file, and open this file and print it using the P...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: How do I change the resolution ...
Replies: 0
Views: 5530

How do I change the resolution ...

of a document when printing it to PDF? There are three ways you can change the resolution depending on your application: 1 - If you are using the DEVMODE structure and a Device Context to handle the printing, then you can directly use the Resolution field of the DEVMODE structure. 2 - If you are us...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: How can I install the PDF Converter ...
Replies: 0
Views: 5471

How can I install the PDF Converter ...

on Terminal Server and specify the output pdf file to be created in the ‘My Documents’ folder of each client? To be able to successfully use the PDF Converter under windows Terminal Server, the driver will need to be installed by a user with "administrator" privileges using windows &q...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: How can I retrieve data from a field?
Replies: 0
Views: 4669

How can I retrieve data from a field?

In run mode text is set and read in fields using the ‘Value’ property.
PDFCreactiveX1.ObjectAttribute['MyField', 'Value'] := 'My Text';
In Design mode text is set and read using ‘Text’ property.
PDFCreactiveX1.ObjectAttribute['MyField', 'Text'] := 'My Text';
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: When adding rows to a table...
Replies: 0
Views: 4592

When adding rows to a table...

all the data in the table is lost, why? You must be re-initializing the table while adding rows to it. If you wish to add a row and keep the existing table data you may use the code snippet below: Private Sub cmdAddRow_Click() Dim intRows As Integer Dim intRowWidth As Integer With PDF1 'Open PDF do...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: Opening a large PDF file ...
Replies: 0
Views: 4687

Opening a large PDF file ...

using the .Open method of the PDF Creator is slow. Can I speed this process up?

Try to use .OpenEx instead of .Open. .OpenEx will open the file page by page.
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: We are getting large PDF files when using the PDF Creator:
Replies: 0
Views: 4715

We are getting large PDF files when using the PDF Creator:

You can use compression for images in your PDF file. We would also recommend saving the file in View mode only, rather than Design mode, if you have finished making changes to the document. These options are to be found in the FileSaveOptions of the Document Properties. Saving the file in Design mod...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: How to select and delete a text box from ...
Replies: 0
Views: 4762

How to select and delete a text box from ...

a pdf document using the developer version of the PDF Creator? Here is a VB sample to do so: Private Sub cmdDeleteObject_Click() Dim obj As Variant Dim objarray As Variant 'New for version 1.50 PDF1.SetLicenseKey LicenseTo, ActivationCode PDF1.Open "c:\temp\test.pdf", "" 'Put re...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: How can I define the page size of a document?
Replies: 0
Views: 4872

How can I define the page size of a document?

Using the PDF Creator you can use the Width and Length properties of the Page object to define whatever page size you need. This can be done directly from the user interface if you have the end-user version of the PDF Creator or programmatically if you have the developer version. e.g. pdf.ObjectAttr...
by Dany
Fri Aug 05 2005
Forum: Frequently Asked Questions
Topic: How can I embed fonts using the PDF Creator?
Replies: 0
Views: 5957

How can I embed fonts using the PDF Creator?

Font Embedding has been implemented since the release of version 1.09 of the PDF Creator. This is a sample code on using Font Embedding from inside your application: EmbedFont( BaseFont As String, Option As acEmbedFontOptions ) The values for Option are : acEmbedFontOptionNoEmbed = 0, // font is not...