>>* Print the pdf. >>llprintpdf = thisform.printpdf(lcxfdf) >>IF !llprintpdf >> * Cannot print the file. >> SELECT(lnalias) >> RETURN .f. >>ENDIF >> >>* Wait 12 seconds. >>WAIT 'Printing the 8655 form...' window timeout 12 >>WAIT CLEAR >> >>lnfilehandle = -1 >>DO while lnfilehandle == -1 >> * Are we finished printing? >> * If we're still printing, we won't be able to open the file r/w. >> * If we're done printing, we can open the file r/w and we will get a reference back to it, >> * the file handle. >> >> * Try to open the file open read/write. >> lnfilehandle = FOPEN(lcxfdf,12) >>ENDDO >> >>* Close the file and go. >>=FCLOSE(lnfilehandle) >>>>