Different paper bins on multiple pages

FRNLFRNL Hoogeveen - Netherlands
Hello all,

I'm struggling to get a report working. It prints a order on page 1,
it should print a invoice with payment slip (preprinted) on page 2.

Because the payment slip is pre-printed, the paper for page 2 has to
come from a different paper bin than the paper for page 1. End users
can select a different printer, and have to select a different bin
too.

Also on page 1 and page 2 there are customer details, the order
details are put in a subreport. So is page 2 at the moment.

The FAQ on FastReport site tells me that it is enough to set the
FrReport dataset to the master dataset, and Reporttype to "multiple"
to get the report printed 1-2-1-2-1-2. However: I cannot get this to
work. So I've implemented a second subreport.

The pages are printed 1-2-1-2 now, but the trouble is that the
subreport does not respond to selecting another paperbin, neither in
designtime, nor in code.

My question has two parts:
1. How to setup report (and bands) to get the suggestion of setting
the report to multiple and the Report dataset working?
2. How to change the paperbin in code to get the second subreport to
print from another bin?

When using 2 pages instead of subreports, different papertray can be
selected, but the report prints 1111-22222 then.

What am I doing wrong, or am I running into some bug/extra features?

Any help is greatly appriciated.

Regards,
Teo

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.