Problem off de Printing in FastReport on Kylix 3
if printing document in preview the fast report , not printing document the state job in cups is aborted.
Plese
Willian
Gerencial Informatica
user = 4772
Plese
Willian
Gerencial Informatica
user = 4772
Comments
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.
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
???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.
i have the same pb with mandrake 9.2 and that was the solution
bruno