A2000ReportToPDF

D

Doug

I am using the A2000ReportToPDF utility available on Steven Lebans web site.
Great functionality but I recently tried to output some reports using a
custom font and can not seem to get the fonts to embed in the pdf file. I
have set the PDFNoFontEmbedding parameter to 1 and to 0 with no change in
results. The fonts are embedable as I can create the pdf of the report
using a pdf printer and they are there.

I would appreciate suggestions on how to get the fonts to embed in the
output file.

Thanks in advance.

Doug
 
S

Stephen Lebans

Looks like I screwed up that property when I created a custom version of the
ReportToPDF solution for a NG poster during the last update.

It's on my list of things to fix with the new release coming soon(after
March break vacation).

--

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

Doug

Thank you for the update. I'll keep watching for the update on your site.
Am I correct in assuming that if the variable is set to 0 fonts will be
embeded (when the module is fixed)?

Doug
 
A

Aaron Kempf

Snapshot format is superior

I dont think that anyone should use PDF, the AcroBat Reader is a bloated
piece of crap

I mean seriously-- how often does it need to prompt me for updates?

Snapshot Viewer doesn't get slower and slower every time you use it
 
J

jhweb_online

Snapshot format is superior

I dont think that anyone should use PDF, the AcroBat Reader is a bloated
piece of crap

I mean seriously-- how often does it need to prompt me for updates?

Snapshot Viewer doesn't get slower and slower every time you use it







- Show quoted text -

Any idea when you could steal the time from something and fix this?
 
S

Stephen Lebans

It is fixed. I'm sure I posted to the public NG"S. THere is a bug in the VB
code module that declares the function. Let me have a look........here you
go:

At the top of your modReportTOPDF module is the function signature:


Public Declare Function ConvertUncompressedSnapshot Lib "StrStorage.dll" _
(ByVal UnCompressedSnapShotName As String, _ ByVal OutputPDFname As String,
_ Optional ByVal CompressionLevel As Long = 0, _ Optional ByVal
PasswordOwner As String = "", _ Optional ByVal PasswordOpen As String = "",
_ Optional ByVal PasswordRestrictions As Long = 0, _ Optional
PDFNoFontEmbedding As Long = 0 _


) As Boolean


The very last line of the Sig is missing the ByVal declaration:


Optional PDFNoFontEmbedding As Long = 0 _


Should be changed to:


Optional ByVal PDFNoFontEmbedding As Long = 0 _



--

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

jhweb_online

It is fixed. I'm sure I posted to the public NG"S. THere is a bug in the VB
code module that declares the function. Let me have a look........here you
go:

At the top of your modReportTOPDF module is the function signature:

Public Declare Function ConvertUncompressedSnapshot Lib "StrStorage.dll" _
(ByVal UnCompressedSnapShotName As String, _ ByVal OutputPDFname As String,
_ Optional ByVal CompressionLevel As Long = 0, _ Optional ByVal
PasswordOwner As String = "", _ Optional ByVal PasswordOpen As String = "",
_ Optional ByVal PasswordRestrictions As Long = 0, _ Optional
PDFNoFontEmbedding As Long = 0 _

) As Boolean

The very last line of the Sig is missing the ByVal declaration:

Optional PDFNoFontEmbedding As Long = 0 _

Should be changed to:

Optional ByVal PDFNoFontEmbedding As Long = 0 _

--

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

Thanks, works perfectly :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top