DB2000 TXT2PDF Crashes on Record # 243

epsharp

Member
Licensed User
Longtime User
When I attempted to convert a plain text file, I got the error (Foxit Reader) "format error; not a PDF or corrupt".

I had originally tried a smaller version of the file and it worked fine. Experimenting, I found that 242 records worked while 243 records generated the error. The attached Files.zip contain both the good and bad text files and the good pdf file.

The only changes I made to the TXT2PDF.sbp was to change the font to "Courier New" and the font size to "8".

Additionally, can anyone explain why there is a very large top and left margin. I can't find any references to margins in the source file.

Thank you in advance for your assistance.

Regards,

Ed Sharp
 

Attachments

  • Files.zip
    11.9 KB · Views: 194
Top