Non Visual reportig

Hi,

in an old application (delphi 2) we use Navronas ReportPrinterPro as a print engine.
We didn't use any visual editors, all output are completly created by code.
The code uses the engine like the common delphi printer with the difference, that
we use real sizes (mm) instead of pixels as function parameters in Textout, DrawImage etc. Also we use Preview and Save to file functionality.

Now my question, can I do this with Fast report too?

Can i Print with code like
prt := ReportComp.Create;
prt.BeginDoc;
prt.TextOut(1000,1000,'Hello World'); // 1000 means 1000 * 100/mm
prt.EndDoc;

If its possible, can I use all Previews and Fileoutputfilters with it?

Is it possible to change the tray of a printer in a printout like

page 1 on tray 1
page 2 on tray 2
page 3 on tray 1



best regards
Stephan


Comments

  • edited 4:26AM
    You can use the code to create report layout. This is described in the programmer's manual. You can print, export or preview that report.
  • edited 4:26AM
    OK, I read this but it seems not the thing I need.
    I dont want to use bands or datasources etc.
    I want functions for directly printing on the canvas without creating a band for it.
    On the other hand it is up to me to care for pagebreaks an to print
    inside the boundaries of a page.

    It seems that this is not possible, or am I wrong ?

    best regards
    Stephan
  • edited 4:26AM
    It's impossible. You should use bands and objects.

Leave a Comment