Re: Text cannot be read when printing a VFP report to 'Adobe PDF' driver

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.


.



Relevant Pages

  • Re: Dynamic Report
    ... report, then open the report in, what, IE, and cause it to be printed there? ... one of the steps necessary is to have it dynamically select a font size ... programming I provide to Word to perform the task. ... those templates to the sections of the text. ...
    (microsoft.public.access.reports)
  • RE: Problem after VS 2008 sp1 or something else
    ... both install IDAutomationHC39M_FREE font. ... the report must be installed on the report server and on the client ... Microsoft Online Community Support ...
    (microsoft.public.vsnet.general)
  • Re: Dynamic Report
    ... Excel has a printing option to prorate the page. ... report independently of the columns of the rest of the report. ... Word could handle the sizing (font and column widths) and this could be ... and printing "to fit". ...
    (microsoft.public.access.reports)
  • Re: Dynamic Report
    ... report independently of the columns of the rest of the ... But I have no idea how to set up such templates as an ... Word could handle the sizing (font and column widths) and this could ... and printing "to fit". ...
    (microsoft.public.access.reports)
  • Re: To Nard Mosely of Digital-Metaphors
    ... The process of Report generation works something like this... ... of something to be rendered - location, font, text etc. ... > The signiture is activated thru an escape sequence and has no font name ... I code a string with my ...
    (borland.public.delphi.thirdpartytools.general)