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 2:22PM
    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 2:22PM
    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 2:22PM
    It's impossible. You should use bands and objects.

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.