Page 1 of 1

Simple question about printing and viewing

Posted: Fri Jun 04, 2010 10:07 am
by MasterCephus
Let's say I have one MRT file that contains 3 pages (a front, back of a form, and an alternate back). Depending on the decision of my user, I want to decide which back page I want to render and print. I am having trouble doing this...

I have tried:

report.Pages["Back"].Skip = false;
report.Pages["AltBack"].Skip = true;

report.Pages["Back"].Printable = true;
report.Pages["AltBack"].Printable = false;

report.ShowWithWpf();

No matter what, all three pages show in the viewer...what am I doing wrong?

Simple question about printing and viewing

Posted: Mon Jun 07, 2010 2:52 am
by Jan
Hello,

Please use following code:

Code: Select all

report.Pages["Back"].Enabled = true;
report.Pages["AltBack"].Enabled = false;
Thank you.

Simple question about printing and viewing

Posted: Mon Jun 07, 2010 9:38 am
by MasterCephus
that worked perfectly!

Another question. My forms are really small. I would like for them to print in landscape on the same page. They fit, but when they print, each page is printed on a separate page. They could easily fit on one side of one regular sheet of paper.

How do you "combine" them to print on one piece of paper?

Simple question about printing and viewing

Posted: Tue Jun 08, 2010 2:57 am
by Andrew
Hello,

Could you, please send a report for analysis.

Thank you.

Simple question about printing and viewing

Posted: Wed Jun 09, 2010 10:27 am
by MasterCephus
Andrew,

Unfortunately, I can't send a report as my project contains sensitive state information that I can't hand out.

Maybe I can describe my situation a little better and that will help solve the problem:

I have an MRT file that contains 3 pages. These pages represent a front of a form, the back of a form, and alternative back.

Each page is of size:
Page Height: 8.25
Page Width: 4.25
Orientation: Landscape

Now each prints on separate page perfectly (left aligned in landscape with a ton of available space on the right hand side of the page. So when I hit print, the front page prints in landscape (on the left hand side of the paper) on one page. The back does the exact same thing on a separate page.

What I would like to do is when I hit the print button, I want the front page to print in landscape on the left hand side of the paper in landscape and the back to print on the right hand side in landscape on the same printed page.

Does that make sense?

Simple question about printing and viewing

Posted: Thu Jun 10, 2010 12:47 am
by Jan
Hello,

Sorry this is not possible with our report engine.

Thank you.

Simple question about printing and viewing

Posted: Mon Jun 14, 2010 12:49 pm
by MasterCephus
Interesting...could this be a feature request? This is something that would be really useful for us.

Is there any way to to combine two pages that in landscape mode to print on one page?

Simple question about printing and viewing

Posted: Tue Jun 15, 2010 2:16 am
by Jan
Hello,

May be more better to use special program for this. For example FinePrint.

Thank you.