Specifying paper source in code


I have hit a brick wall trying to send my report to a predetermined printer bin (ie not getting the user to select it)

AFAICS I should just be able to specify the bin in the reports printpage event ie

procedure TForm1.RepPrintPage(Page: TfrxReportPage; CopyNo: Integer);
begin
Page.Bin := 7;
Page.BinOtherPages := 7;
end;

But no matter what value I enter the paper is taken from the default source

I am using FR5 with XE6

Has anyone successfully been able to send a report to a specific bin?

Thanks

Comments

  • gpigpi
    edited 11:13PM
    Your code should works if you use really correct bin number

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.