__Oz__
Aug 10 2004, 03:07 AM
Delphi 5 SP1, FastReport V3 demo,
frxReport1.PrepareReport;
frxReport1.Export(frxDotMatrixExport);
OR
frxDotMatrixExport1.Report := frxReport1;
frxReport1.DotMatrixReport := True;
frxDotMatrixExport1.Report.PrepareReport;
frxDotMatrixExport1.Report.Print;
when I push Print button, I get an accsesss violation with both of codes.
How can I do?
and When I buy FastReport V3?
AlexTZ
Aug 10 2004, 04:19 AM
If frxReport1 contains a dot-matrix report (not a regular report!) it can be printed to dmp printer using frxReport1.Print method.
You can buy FR3 at the end of this month.
GRFrones
Jun 1 2005, 01:11 PM
I couldn't too... I tried this code:
| CODE |
Relatorio.PrepareReport;
TXT := TfrxDotMatrixExport.Create( Self ); TXT.ShowDialog := True; TXT.Report := Relatorio; Relatorio.DotMatrixReport := True; Relatorio.ShowPreparedReport;
|
The preview is ok, but when I push print button, nothing is printed...
PS: I tried to print to a file, and the file is generated with only one char...
What's wrong?
Thank you very much!
AlexTZ
Jun 5 2005, 10:37 AM
You cannot print a regular report in dot-matrix mode. Your report should be designed for dot-matrix. To do this, go File|New.. and select "Dot-matrix report wizard" or "dot-matrix report".
GRFrones
Jun 13 2005, 10:43 AM
hmmmmm... Ok... Thank you, Alex!
regards.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.