Problem off de Printing in FastReport on Kylix 3

edited October 2003 in FastReport 2.xx CLX
;) if printing document in preview the fast report , not printing document the state job in cups is aborted.

Plese

Willian

Gerencial Informatica
user = 4772

Comments

  • edited 4:21PM
    Try to make a simple print without using FR:

    Printer.BeginDoc;
    Printer.Canvas.TextOut(100, 100, 'test');
    Printer.EndDoc;

    if this code won't work, there is a problem with CLX/Qt, not FR.
  • edited 4:21PM
    Hi

    I am also having the same problem - I tried the code to print directly using the TPrint object and it worked fine but printing from within the FR preview window does not work.

    I have also tried the FR direct print function :

    frReport->PrintPreparedReport("",1,true,frAll)

    but that does not work either ( is the first parameter correct ?)


    Any help is appreciated as this is becoming an urgent problem.

    Conor O'Dwyer
  • edited 4:21PM
    It is in polish magazine SOFTWARE-2 11/2003


    ???If you works with locales where ThousandSeparator is "." and DecimalSeparator is "," (in global variable of linux LC_NUMERIC) the report will not print (DBeXpress-related bug).Solution: redefine the global variables for Decimal Separator and ThousandSeparator.???

    file
    Odszukaj sekcjÄ™ LC_NUMERIC w pliku /usr/share/i18n/locales/pl_PL
    Jest :
    there is

    LC_NUMERIC
    decimal_point "<U002C>"
    thousands_sep ""
    grouping 0;0
    END LC_NUMERIC

    Zmieniamy na:
    change to

    LC_NUMERIC
    decimal_point "<U002E>" ( <--tu dokonujsz zmiany )
    thousands_sep ""
    grouping 0;0
    END LC_NUMERIC

    Przebudujemy locale poleceniem localedef:
    #localedef -f ISO-8859-2 -i usr/share/i18n/locales/pl_PL
    /usr/lib/locale/pl_PL
    Jeśli nie uzyskalibyśmy poprawnego efektu, dodatkowo usuwamy lub zmieniamy nazwę pliku /usr/lib/locale/locale-archive. Sprawdzamy, powinno być dobrze.
    ;)
  • edited 4:21PM
    try another font : adobe-courier

    i have the same pb with mandrake 9.2 and that was the solution


    bruno

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.