Problem while change the printers bin

kabourterplopkabourterplop The Netherlands
edited 2:23AM in FastReport 4.0
Hi all,

I've a problem when I want to change the printer bin.

I've a report and fill it with a Dataset that I set from my program. I use the following code but it doesn't work. It is written in .NET.
Dim frx as new TfrxReportClass()

frx.PreviewPages.Page(1).Bin = My.Settings.printerTray 'Binnumber is 258

Thanks in Advantage!

Best Regards,

Bart

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:23AM
    Bin property belongs to the design page it can only be modified after loading a report and before calling either show or prepare, any preview pages produced by that design page will use the bin, it was set to at design time.

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.