R
RobGMiller
Using Stephen Leban's ReportToPDF with Access 2003
In some cases, merging two PDFs created with ConvertUncompressedSnapshot
programatically will cause distortions. Operates differently with different
versions of Acrobat I believe.
A simple test merging two PDFs using Acrobat.CAcroPDDoc object will create
distortions. The second PDF might not be there and the first will be modified
by the merge process.
If the two are merged manually using Acrobat by opening the first one and
attempting to import the second one (document/insertpages) an error message
is displayed as follows.
These documents contain subset fonts that have the same name and cannot be
merged.
Further investigation on Adobe
(http://kb.adobe.com/selfservice/viewContent.do?externalId=327594) suggests
"re-create the PDF file with the fonts fully embedded, or without the font
embedded at all"
The ConvertUncompressedSnapshot function exposed by strStorage.dll included
with the ReportToPDF code does have a parameter to specify weather or not to
embed the fonts. If the PDFNoFontEmbedding parameter is set to 0, the files
are never merged properly with some versions of Acrobat. If it is set to 1
then the files are merged properly only every second time.
I was not able to find a full explanation of how the
ConvertUncompressedSnapshot function works and I was wondering if anyone had
encountered a similar issue or has more information on the
ConvertUncompressedSnapshot function.
Thanks
In some cases, merging two PDFs created with ConvertUncompressedSnapshot
programatically will cause distortions. Operates differently with different
versions of Acrobat I believe.
A simple test merging two PDFs using Acrobat.CAcroPDDoc object will create
distortions. The second PDF might not be there and the first will be modified
by the merge process.
If the two are merged manually using Acrobat by opening the first one and
attempting to import the second one (document/insertpages) an error message
is displayed as follows.
These documents contain subset fonts that have the same name and cannot be
merged.
Further investigation on Adobe
(http://kb.adobe.com/selfservice/viewContent.do?externalId=327594) suggests
"re-create the PDF file with the fonts fully embedded, or without the font
embedded at all"
The ConvertUncompressedSnapshot function exposed by strStorage.dll included
with the ReportToPDF code does have a parameter to specify weather or not to
embed the fonts. If the PDFNoFontEmbedding parameter is set to 0, the files
are never merged properly with some versions of Acrobat. If it is set to 1
then the files are merged properly only every second time.
I was not able to find a full explanation of how the
ConvertUncompressedSnapshot function works and I was wondering if anyone had
encountered a similar issue or has more information on the
ConvertUncompressedSnapshot function.
Thanks