S
Scott S.
Hi All,
Recently I found that certain PDF produced by Crystal (and the .NET Crystal
Engine) were being corrupted when e-mailed by Outloook. Upon closer
inspection I found that if the PDF was a single page, used /FLATE encoding
for that page and only had one /FLATE stream that was less than about 2600
characters, outlook would truncate the file while it was being sent.
After much stuffing around writing code to expand the /FLATE stream and
write it back as plain text I found that if the file has an image in it, it
will be transmitted by Outlook without truncation. So the fix is to stick a
blank image into the report (if you don't have other images in the report
already). The image can't be seen, but it stops Outlook from Mangling the
file.
Cheers,
Scott S.
Recently I found that certain PDF produced by Crystal (and the .NET Crystal
Engine) were being corrupted when e-mailed by Outloook. Upon closer
inspection I found that if the PDF was a single page, used /FLATE encoding
for that page and only had one /FLATE stream that was less than about 2600
characters, outlook would truncate the file while it was being sent.
After much stuffing around writing code to expand the /FLATE stream and
write it back as plain text I found that if the file has an image in it, it
will be transmitted by Outlook without truncation. So the fix is to stick a
blank image into the report (if you don't have other images in the report
already). The image can't be seen, but it stops Outlook from Mangling the
file.
Cheers,
Scott S.