Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Are there any known problems with Acrobat 4?
Message
From
15/06/1999 15:28:50
Steven Herbin
SNH Computing Corporation
Swan Lake, New York, United States
 
 
To
15/06/1999 14:39:23
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00230033
Message ID:
00230138
Views:
24
>>>Last week, I posted a message describing a problem with using Adobe Acrobat 4 under Visual FoxPro 6, running on a Windows NT platform (Message Title was Outputting Reports in .PDF with Acrobat 4, thread #228100). Since then, several more of our customers have reported this problem of having the PDFWriter output to a PRINTER.TXT.PDF. It is becoming an urgent situation.
>>>
>>>Has anyone heard anything else from Microsoft, Adobe, or any other source, reporting this sort of problem and/or offering a solution or workaround for it? I'm approaching the end of my time limit to get this fixed, and I'm no closer to a solution now than I was a week ago.
>>>
>>>
>>>Bill
>>>
>>>PS - While researching this problem, I visited the Adobe User-to-user forum. If I ever complain about the Universal Thread again, shoot me. This forum is a hundred times better than Adobe's!
>>How do you assign file's name?
>>Mark
>
>Mark,
>
>Filenames are created witht he following command:
> lcFileName = oSession.cTempPath + SYS(3) + '.' + lcExtension
>
>oSession.cTempPath is a directory that is used for temporary files. It is usually C:\TEMP or some variant.
>lcExtension is the file extension of the filename we are creating. If we do not put an extension on our filename, VFP will create the file with a .TXT extension. Since our printer is PDFWriter, the extension is PDF.
>
>Therefore, our filename lcFileName would be "c:\TEMP\12345678.PDF"
>
>As I mentioned, this has worked fine under Adobe Acrobat 3.
>
>Bill
If you want to try a WAG, how about:

lcFileName = ["] + oSession.cTempPath + SYS(3) + '.' + lcExtension + ["]

Sometimes you have to put the filename in quotes (I don't remember if its single or double quotes) to prevent Windows from appending the extension.
I'm glad that someone else is on the bleeding edge for this one. I have a similar project for a customer who wants longterm retention for some yearend reports and I don't want to put it to paper. I will be using Acrobat 3 since it's file output will be readable in version 4. Saves all the aggravation.
Steven Herbin
SNH Computing Corporation
Swan Lake, NY
Previous
Reply
Map
View

Click here to load this message in the networking platform