Help - Search - Members - Calendar
Full Version: I cannot Print for DotMatix with FR3
Fast Reports forum > Fast Reports Products > FastReport 3.0
__Oz__
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
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
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
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
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.
Invision Power Board © 2001-2012 Invision Power Services, Inc.