change bin

after months... I had time do begin do integrate Fastreport 3 in my application. Almost everthing works fine... It's fun to work with it... scripting, speed, .... ;)

But - Problem:

In FR 2.45 I changed the bins with:
Prn.SetPrinterInfo(....)

In FR 3.08 it seems to be something like:
frxPrinters.printer.SetPrintParams(...)

But in the SetPrintParams-function it checks a FBin-Variable if it's -1 - if not then sets FBin and not the given ABin...
 if FBin <> -1 then
    ABin := FBin;
  FMode.dmDefaultSource := ABin;
why and how to set it right? ... To check, I made the Bin-Property writeable ;) and set it to -1 to be able to use SetPrintParams... I worked almost... It sets the bin in the dialog but not without the dialog.

Is it necessery to set it for every page... I found a writable bin-property there?

Thanks for suggestions

Leave a Comment