Setting the bin to print from

edited November 2011 in FastReport 4.0
I am trying to set up the printer to use the bin that the user has preselected.
This doesn't seem to be part of the print options, so I browsed the source and found that this information is taken from the report pages. With this information I looped through the pages of the report and set the Bin property to the desired one (tried to do this before and after preparing the report) . However, when I press print in the preview window SetPrintParams() is called with Bin set to DMIBN_AUTO which is a different value.

Anyone knows how to do this? There should be an easy way to do this, maybe I'm on the wrong track.

I'm on Delphi 2010 by the way.

BR
/Zalzero

Edit: It seems I did this on the wrong place, and this eventually worked after manipulating the report pages properly. However it seems a bit strange that you set the bin on the pages and not in the printer options :S.

Comments

  • gpigpi
    edited 12:43PM
    wrote:
    However it seems a bit strange that you set the bin on the pages and not in the printer options :S.
    You can set different bins for different TfrxReportPage, so printer options is not good solution

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.