Issue with opening PDF file from FilePro
Boaz Bezborodko
boaz at mirrotek.com
Wed May 27 13:03:18 PDT 2009
Nancy Palmquist wrote:
> Boaz Bezborodko wrote:
>> I'm running FP from Windows and I want to open a PDF file from within
>> FP that was first generated by FP and then sent to Bob's PrintWizard
>> to convert into a PDF. The thing is that I can't figure out how to
>> tell if the PDF file is ready from withing FP.
>>
>> I don't want to use a long SLEEP command as some files are ready
>> within a second or two. But if I open the file too early then Adobe
>> complains about the file being damaged.
>>
>> Any suggestions?
>>
>> Boaz
>> _______________________________________________
>> Filepro-list mailing list
>> Filepro-list at lists.celestial.com
>> http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
>>
> Boaz,
>
> Trick is to write to file1, at end of PDF conversion rename the file
> to file2.
>
> In filePro, check for exists(file2) eq "1"
>
> When it exists the file is ready to open.
>
> Nancy
>
Since the PDF is being created by PrintWizard I can't control it from
within FP. Are you saying that I should rename the file from within FP
and that it won't let me do it until PrintWizard releases the file? If
I am allowed to do the rename then it is ready to go?
Boaz
More information about the Filepro-list
mailing list