PDF file not created

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
DVictor
Posts: 4
Joined: Fri Jul 18 2003
Contact:

PDF file not created

Post by DVictor »

We have incorporated the converter developer version into an Access97 program. For a majority of our users it is working great. We have one client that is using a Windows98 machine that is having a problem. We have both error trapping and logging in the program. We are creating a four page PDF and do call enable printer before each print copmmand. The code does not produce any errors, nor do any show up in the log. However, when we go to access the PDF file, it has not been created.
Any suggestions?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

How are you specifying the output file name of the pdf file to be generated?

Thanks.
DVictor
Posts: 4
Joined: Fri Jul 18 2003
Contact:

File Anme specification

Post by DVictor »

PDF.DefaultFileName = strdb & frm.ApplicationNumber.Caption & ".pdf"

Where strdb = local directory and
frm.Applicationnumber.caption is a label with the actual file name.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

Please try something simpler like:
PDF.DefaultFileName = "c:\test.pdf" will it work?

If this works, than on your customer's system the local directory may not be computed properly.

Hope this helps.
DVictor
Posts: 4
Joined: Fri Jul 18 2003
Contact:

Local Directory

Post by DVictor »

This program has been distributed to over 2000 computers. On 99.5% it is working correctly with the same exact code. It is only the .5% that we are having a problem with and we are trying to determine what might be causing it. It is not the local directory as that variable is used in at least 50 other places throughout the program without a problem on these same computers.
Do you know of anything that might stop the pdf_converter from writing the file to the hard drive?
Post Reply