Steve Meyerson
Programmer
I updated my app to include all reports (about 40) and their image files in the project instead of on the user's machine. I create pdf's from them by using Object 10 in Foxypreviewer. Example:
REPORT FORM Step1 OBJECT TYPE 10 NEXT 1 NOCONSOLE TO FILE 'Step1.pdf'
The reports create the pdfs fine when running the exe on my Win10 desktop. But when I run the same exe on my Win10 laptop, I get this error message for the reports having jpg or bmp image files.
Error generating the pdf document
Error code: 4184
Description: Unexpected EOF marker was detected
[URL unfurl="true"]https://res.cloudinary.com/engineering-com/image/upload/v1636214443/tips/ErrMsg_l8rhdn.bmp[/url]
My desktop machine has VFP9 installed. Laptop does NOT (this because I try to emulate my client's laptop without VFP, but includes FoxyPreviewer.app, for final testing of my exe).
I created a simple test project & exe with a report without an image file. It ran fine on my laptop. So I thought it might be an image file path problem.
The path must be specified when creating or editing the report. However, I noticed the path does NOT appear in the frx file - only quotes around the jpg file name in the Picture field of the ObjType=17 record.
Any other ideas? Thanks for any help.
Steve
REPORT FORM Step1 OBJECT TYPE 10 NEXT 1 NOCONSOLE TO FILE 'Step1.pdf'
The reports create the pdfs fine when running the exe on my Win10 desktop. But when I run the same exe on my Win10 laptop, I get this error message for the reports having jpg or bmp image files.
Error generating the pdf document
Error code: 4184
Description: Unexpected EOF marker was detected
[URL unfurl="true"]https://res.cloudinary.com/engineering-com/image/upload/v1636214443/tips/ErrMsg_l8rhdn.bmp[/url]
My desktop machine has VFP9 installed. Laptop does NOT (this because I try to emulate my client's laptop without VFP, but includes FoxyPreviewer.app, for final testing of my exe).
I created a simple test project & exe with a report without an image file. It ran fine on my laptop. So I thought it might be an image file path problem.
The path must be specified when creating or editing the report. However, I noticed the path does NOT appear in the frx file - only quotes around the jpg file name in the Picture field of the ObjType=17 record.
Any other ideas? Thanks for any help.
Steve