Author |
Message |
BenKason
Newbie
Joined: 22 Sep 2010
Location: Canada
Online Status: Offline
Posts: 8
|
Topic: Page Breaks for Duplex Printing of a form letter Posted: 22 Sep 2010 at 8:49am |
I have a very simple report that just pulls data for some letters.
I have a grouping in it that groups together and inserts a page break after the group.
The Problem is I want to do duplex printing, so when it runs the group onto two pages it will print duplex, which works now, but when the group only fits one page I need to generate a blank page after it so that the duplexing doesn't screw up, and print the next record on the back side of the page.
any ideas how I can get that blank page to generate, but only when the grouping fits on only one page?
I also would want to suppress my page header and footer on that second page always.
I can't figure it out for the life of me. I thought I could put in a new group footer to generate another page break, but then that screws up all the records after one rolls onto two pages.
Please help if you can.
Thanks
|
IP Logged |
|
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
|
Posted: 22 Sep 2010 at 9:13am |
is this what you are looking for:
|
IP Logged |
|
BenKason
Newbie
Joined: 22 Sep 2010
Location: Canada
Online Status: Offline
Posts: 8
|
Posted: 22 Sep 2010 at 9:21am |
I found that article, yes, however the PageNumber MOD 2 = 1 variable doesn't work for me.
I have followed the steps in that document to the letter.
I used the PageNumber MOD 2 = 0 variable to suppress the contents of my Page Header and Page Footer fields, however I used that right on the field itself.
I just cannot get it to create the new blank page after the grouping.
|
IP Logged |
|
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
|
Posted: 22 Sep 2010 at 9:40am |
1. how many group levels do you have?
2. where did you place the pageNumber Mod 2 = 1 formula?
|
IP Logged |
|
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
|
Posted: 22 Sep 2010 at 9:41am |
3. do you ever have an instance where you want to have more than 1 group of data on the 'front' page?
Edited by DBlank - 22 Sep 2010 at 9:42am
|
IP Logged |
|
BenKason
Newbie
Joined: 22 Sep 2010
Location: Canada
Online Status: Offline
Posts: 8
|
Posted: 22 Sep 2010 at 9:52am |
I only have one Group in the entire report. It is a dead simple report.
report header - no formatting
page header - I have suppressed the object in this section with PageNumber MOD 2 = 0 - THIS WORKS!
group header - In the Section Expert for this field I have put in Not onfirstrecord for the 'New Page Before' section - The check box is NOT checked. Keep together is checked as well.
detail - No Formatting
group footer - In the Section Expert for this field I have put in PageNumber Mod 2 = 1 for the 'New Page After' section - The check box is NOT checked. Keep together is checked as well
page footer - I have suppressed the object in this section with PageNumber MOD 2 = 0 - THIS WORKS!
report footer - No formatting
|
IP Logged |
|
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
|
Posted: 22 Sep 2010 at 10:01am |
you do not have to check the 'keep together' in either header or footer.
Check all sections and make sure you do not have the Reset page number after marked as TRUE anywhere.
You can do further testing by
1. place the page number field (special fields) on the report footer or header to make sure it is doing wat you expect
2. creating a formlua field called "Test_Page_Break" as
PageNumber MOD 2 = 1
and place in the group footer. You should see it say TRUE on ODD pages and FALSE on even pages
Is this all correct?
|
IP Logged |
|
BenKason
Newbie
Joined: 22 Sep 2010
Location: Canada
Online Status: Offline
Posts: 8
|
Posted: 22 Sep 2010 at 10:22am |
I have removed the Keep Together Check Boxes
I put the Page Number on the page header and it displays accurate numbers
No Reset Page Number is selected
The formula displays True and False accurately.
The Page Number displays the correct page number.
I'm so confused... :)
|
IP Logged |
|
DBlank
Moderator
Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
|
Posted: 22 Sep 2010 at 10:26am |
try and make the check boxes as true (checked) in next to the formulas field in the new page before/new page after...
Edited by DBlank - 22 Sep 2010 at 10:26am
|
IP Logged |
|
BenKason
Newbie
Joined: 22 Sep 2010
Location: Canada
Online Status: Offline
Posts: 8
|
Posted: 22 Sep 2010 at 11:44am |
That has no impact, I've tried with them both ways.
|
IP Logged |
|
|