REPOST: Missing lines after converting to PDF

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

After creating reports in Access, I often export them into PDF files.
However, many of the lines in the original reports do not show in the PDF
files. My PDF program works together perfectly well for word and other
programs. Any idea why it happened and how it could be fix? Thanks in
advance.
 
I have seen this before too. Here is how I have solved it.

1) Stop using the Line tool and start using the Box tool when building the
report in the designer.
2) Make sure all of the Boxes use at least a 1 Point line (no Hairline)

There seems to be some problem with the way Access renders a line that
affects the PDF creation. But when the line is a collapsed Box it all seems
to work out OK.
 
It has to do with how Access encodes the output of the Line tool. It creates
a series(and I mean a ton of them) of BltBit records. I can only guess why
internally it uses this logic is to allow it to encode all of the variations
for the properties the Line tool exposes such as dashed and dotted lines.

I ran into this issue when I wrote a tool to convert Snapshot files to RTF.
The output from the Line tool is seemingly too complex to encode within a
standard Enhanced Metafile(EMF) record. It's actually stored as a Comment
record within the EMF and recreated at display/print time by the Snapshot
Viewer Application.

Both the ReportUtilities and the ReportToPDF tools on my site will only work
with Reports that use the Rectangle(Box) tool instead of the Line tool.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Stephen

Never did formally thank you for the Report To PDF tool. I deployed the old
version with the Access MDE (was deployed two days before you released the
MDEless version) and had exactly ZERO issues with the install, output, and
performance. If the customer ever decides to add additional features to the
application I guess that I will upgrade him to your newest version, but in
the meantime I remain firmly in the "If it aint broke don't fix it" crowd.

Even though this project went into a small shop (8 to 12 users) I bet you
likely saved me 8 to 10 hours in unbillable support calls, that I would have
had using other solutions. I am in your debt.

THANK YOU!!
 
Solved my problem too. Thanks.
WAL50

Ron Weiner said:
I have seen this before too. Here is how I have solved it.

1) Stop using the Line tool and start using the Box tool when building the
report in the designer.
2) Make sure all of the Boxes use at least a 1 Point line (no Hairline)

There seems to be some problem with the way Access renders a line that
affects the PDF creation. But when the line is a collapsed Box it all seems
to work out OK.
 
Back
Top