Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ReportToPDF font question

9 views
Skip to first unread message

Gina Whipp

unread,
May 16, 2007, 8:59:16 AM5/16/07
to
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


Stephen Lebans

unread,
May 16, 2007, 11:01:53 AM5/16/07
to
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.


"Gina Whipp" <NotInt...@InViruses.com> wrote in message
news:OT1YIo7l...@TK2MSFTNGP03.phx.gbl...

Gina Whipp

unread,
May 16, 2007, 1:08:20 PM5/16/07
to
Thanks Stephen... I will look at that right after lunch!

--
Gina Whipp

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

"Stephen Lebans" <ForEmailGotoMy.WebSite.-WWWdotlebansdot...@linvalid.com>
wrote in message news:e4JYVs8l...@TK2MSFTNGP05.phx.gbl...

Gina Whipp

unread,
May 16, 2007, 1:35:31 PM5/16/07
to
Okay did that, same results, .pdf still showing Arial font.
--
Gina Whipp

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

"Gina Whipp" <NotInt...@InViruses.com> wrote in message

news:OSEXTz9...@TK2MSFTNGP05.phx.gbl...

Stephen Lebans

unread,
May 16, 2007, 4:19:44 PM5/16/07
to
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.


"Gina Whipp" <NotInt...@InViruses.com> wrote in message

news:OE2YfC%23lHH...@TK2MSFTNGP05.phx.gbl...

Gina Whipp

unread,
May 16, 2007, 7:40:47 PM5/16/07
to
Thanks Stephen... and I will post back should I find a resolution!

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II
"Stephen Lebans" <ForEmailGotoMy.WebSite.-WWWdotlebansdot...@linvalid.com>

wrote in message news:OtnV8d$lHHA...@TK2MSFTNGP02.phx.gbl...

0 new messages