ReportToPDF font question

G

Gina Whipp

Hello All,

Maybe someone has come across this problem before. I have been using
Stephen Lebans ReportToPDF for sometime now and LOVE IT (Thanks Stephen!!!).
I have an Access database, tables on SQL Server and front being accessed
thru Terminal Services with an HP LaserJet 4 printer. When I send the
report to .pdf the font changes from Times New Roman to Arial! The .snp is
in Times New Roman, so my thought is it's not the utility or Access and I
just want a confirmation and to know if anyone has run into this problem and
has a suggestion (a fix would be nice too!).

Big THANKS,
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II
 
S

Stephen Lebans

There was a bug introduced for Font Embedding in the last release.

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 _



I hope to publish an update in the next day or two. Now that I finally found
this bug, I might as well ad the Password and Security stuff I've been
working on.


--

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

Stephen Lebans

Hi Gina,
If it is a Terminal Services issue I'm afraid I have no experience with this
setup. You may have to post a new thread to a Terminal Services Newsgroup. I
just did a quick GoogleGroups search on "Terminal Services" PDF and there
are quite a few hits on many PDF related issues. Some of the threads talk
about TS not sending the font down the pipeline and substituting a local
font. One thread in particular mentioned selecting "Print as Image" as an
immediate fix.

I would like to post any resolution you find on the ReportToPDF Web page.
--

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

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