Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Rap & Font

edited October 2003 in General
Report with RAP, I've this problem with font.
Is a simply report as a letter without DATA and only text, using Arial
Narrow as font and 5 font size, because the report must be print on a Page.
I've installed the report on 10 computers but on 2 of these the report
print a second page. On this machines the report have changed the font to MS
Arial Unicode. WHY? On the others the report is OK and i have, in the and,
some free space.
All the 10 computers have the same configuration: Pentium 3, Windows 2000
Professional, Delphi 6, Report Builder 7.02 for delphi 6, InfoPower
Components e Pragnaan Support for export Report.

Andrea

Comments

  • edited October 2003
    Hi Andrea,

    Be sure the two computers that are switching to Unicode have the same
    language settings as the other computers. ReportBuilder will use the
    regional settings set by Windows if you do not tell it otherwise. Check the
    regional settings in the Conrol Panel.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    Hi Nico,

    As I told you before, the configuration are the same for all the
    computers(language, printer, excetera) and the problem is already present on
    preview.

    I don't know how report builder make the reports on preview but I think that
    there are some problems already on design (it change the font). The report
    is different on preview. If I change the default printer the result could
    change?

    This problem exist also in our customer and I can't ask them to change
    printers or drivers (they have some rules and permission for do this) to
    permit at the report builder to work correctly. There is a metod or a
    property that can i call or set to force the report to print over a page or
    to set the correct font?

    Other suggest?

    Andrea







    Make sure that all computers are using the exact same printer driver.

    Perhaps download the latest printer driver from the manufacturers web site.


  • edited October 2003
    Hi Andrea,

    ReportBuilder creates a font list based on the available fonts from Windows
    and your print driver. If this is working on 8 machines and not on 2, there
    must be a difference in the configuration either with the printer driver
    installed or the fonts installed. Be sure these are the same on all
    computers. ReportBuilder uses the TppFontList.CreateList method to get all
    available fonts where it calls the Windows API function EnumFontFamilies()
    to retrieve all the available fonts. The TppFontList class is located in
    the ppUtils.pas file if you would like to see how it works.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.