Re: Text cannot be read when printing a VFP report to 'Adobe PDF' driver
- From: "Dan Freeman" <spam@xxxxxxxxxxxxx>
- Date: Tue, 24 Apr 2007 22:48:57 -0700
Sorry. But if you want someone here to debug your code, you'll have to post
the actual code. Not "something like" the actual code.
The only thing you'll get with <something like> the code is <something like>
the answer.
Dan
DPM wrote:
Thanks.
'Swis721 LtCn BT' is a TrueType font.
Within the custom report listener class it updates the following
properties in the EvaluateContents event,
to colour the text.
oObjProperties.FillRed = <Red Backcolor>
oObjProperties.FillGreen = <Green Backcolor>
oObjProperties.FillBlue = <Blue Backcolor>
oObjProperties.FillAlpha = 255
oObjProperties.PenRed = <Red Forecolor>
oObjProperties.PenGreen = <Green Forecolor>
oObjProperties.PenBlue = <Blue Forecolor>
oObjProperties.Reload = .T.
"Dan Freeman" <spam@xxxxxxxxxxxxx> wrote in message
news:%23EUOZ4cgHHA.4872@xxxxxxxxxxxxxxxxxxxxxxx
Since this only happens with the 'Swis721 LtCn BT' font, I'd suspect
issues there. Is it a TrueType font?
If you're going to use a custom reportlistener class, you'll need to
give SOME idea what it does that might be causing this. You haven't.
Dan
"DPM" <aa@xxxxx> wrote in message
news:%23Uh%23k6ZgHHA.3424@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
We have installed 'Adobe PDF' driver which comes with Adobe Acrobat
7.0 professional.
The default printer of Windows is set to a network printer.
When a report is printed in VFP9 as follows, the generated PDF
comes up with parts of large characters and cannot be read
REPORT FORM <Report Name> TO PRINTER PROMPT NOCONSOLE OBJECT
loReportListener
Now select the 'Adobe PDF' from the printer dialog and print.
loReportListener is a subclass of VFP Report Listener to enable
colouring We have noticed the following,
- This happens in Win2003 server and not in XP
- Font used for the report is 'Arial' and 'Swis721 LtCn BT' and
only the Swis font gets large. Eventhough the font is installed or
not in Windows the behavior is the same.
- Even to get a report with Arial font working the resolution of
the PDF driver needs to be set as 4000dpi which results in a large
file size Please could someone help.
.
- References:
- Prev by Date: Re: Windows did not start successfully....
- Next by Date: spinner - display numeric with 2 decimals
- Previous by thread: Re: Text cannot be read when printing a VFP report to 'Adobe PDF' driver
- Next by thread: ? TYPE(DTOC(DATE())) = "D"
- Index(es):
Relevant Pages
|