How to add blank row in jasper report

I want to add blank row last detail band but before the summary band (between detail band and summary band), I trying to fix row per page but the display of the rows must be consistent with the data displayed. For example, there are 15 data rows, while the page can display 20 rows. There will be 5 rows displayed as blank rows up to the summary band

my XML

<band height="19">
        <printWhenExpression><![CDATA[!$F{SEQ}.equals("")]]></printWhenExpression>
        <staticText>
            <reportElement x="686" y="2" width="10" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{M4}.equals( "1" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Bottom">
                <font size="12"/>
            </textElement>
            <text><![CDATA[*]]></text>
        </staticText>
        <staticText>
            <reportElement x="699" y="2" width="10" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{M5}.equals( "1" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Bottom">
                <font size="12"/>
            </textElement>
            <text><![CDATA[*]]></text>
        </staticText>
        <frame>
            <reportElement mode="Transparent" x="1" y="0" width="800" height="19" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[!$F{SEQ}.equals("") ? true : false]]></printWhenExpression>
            </reportElement>
            <box>
                <topPen lineWidth="0.0"/>
                <leftPen lineWidth="1.5"/>
                <bottomPen lineWidth="0.5"/>
                <rightPen lineWidth="1.5"/>
            </box>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="512" y="0" width="1" height="19" isPrintWhenDetailOverflows="true"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="683" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="657" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="722" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="696" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="670" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="644" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="774" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="709" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="735" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="787" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="748" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="761" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="0.5"/>
                </graphicElement>
            </line>
            <textField isStretchWithOverflow="true" isBlankWhenNull="false">
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" mode="Transparent" x="19" y="0" width="230" height="18" isPrintWhenDetailOverflows="true"/>
                <textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
                    <font fontName="AngsanaUPC" size="13" isBold="false" isItalic="false" isUnderline="false" pdfFontName="AngsanaUPC" pdfEncoding="Identity-H" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression class="java.lang.String"><![CDATA[$F{COURSENAME} + " "]]></textFieldExpression>
            </textField>
            <textField isStretchWithOverflow="true" isBlankWhenNull="false">
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="253" y="1" width="105" height="17" isPrintWhenDetailOverflows="true"/>
                <textElement textAlignment="Center" verticalAlignment="Top">
                    <font fontName="AngsanaUPC" size="13" pdfFontName="AngsanaUPC" pdfEncoding="Identity-H" isPdfEmbedded="true"/>
                </textElement>
                <textFieldExpression class="java.lang.String"><![CDATA[$F{ITEXT}+" "]]></textFieldExpression>
            </textField>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="465" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="555" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
            <textField isBlankWhenNull="true">
                <reportElement x="435" y="1" width="28" height="17" isPrintWhenDetailOverflows="true">
                    <printWhenExpression><![CDATA[!$F{TIPM}.equals(0)]]></printWhenExpression>
                </reportElement>
                <textElement textAlignment="Center" verticalAlignment="Middle">
                    <font fontName="AngsanaUPC" size="13"/>
                </textElement>
                <textFieldExpression class="java.lang.String"><![CDATA[$F{TIPM} + " ช.ม."]]></textFieldExpression>
            </textField>
            <textField pattern="#,###.##" isBlankWhenNull="true">
                <reportElement x="467" y="1" width="39" height="17" isPrintWhenDetailOverflows="true">
                    <printWhenExpression><![CDATA[$F{SEQ} !=""]]></printWhenExpression>
                </reportElement>
                <textElement textAlignment="Right" verticalAlignment="Middle">
                    <font fontName="AngsanaUPC" size="13"/>
                </textElement>
                <textFieldExpression class="java.lang.Double"><![CDATA[$F{EXPAB}]]></textFieldExpression>
            </textField>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="392" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="357" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="250" y="0" width="1" height="19" isPrintWhenDetailOverflows="true"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="600" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
            <line>
                <reportElement positionType="Float" stretchType="RelativeToTallestObject" x="431" y="0" width="1" height="19"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
            <textField>
                <reportElement x="4" y="0" width="13" height="17" isPrintWhenDetailOverflows="true"/>
                <textElement textAlignment="Right" verticalAlignment="Top">
                    <font fontName="AngsanaUPC" size="13"/>
                </textElement>
                <textFieldExpression class="java.lang.String"><![CDATA[$F{SEQ} == "" ? "" : $F{SEQ}+"."]]></textFieldExpression>
            </textField>
            <staticText>
                <reportElement x="659" y="2" width="10" height="16" isPrintWhenDetailOverflows="true">
                    <printWhenExpression><![CDATA[( $F{M2}.equals( "1" ) ? true : false )]]></printWhenExpression>
                </reportElement>
                <textElement textAlignment="Center" verticalAlignment="Bottom">
                    <font size="12"/>
                </textElement>
                <text><![CDATA[*]]></text>
            </staticText>
            <staticText>
                <reportElement x="646" y="2" width="11" height="16" isPrintWhenDetailOverflows="true">
                    <printWhenExpression><![CDATA[( !$F{M1}.isEmpty() ? true : false )]]></printWhenExpression>
                </reportElement>
                <textElement textAlignment="Center" verticalAlignment="Bottom">
                    <font size="12"/>
                </textElement>
                <text><![CDATA[*]]></text>
            </staticText>
            <staticText>
                <reportElement x="423" y="1" width="7" height="17" isPrintWhenDetailOverflows="true">
                    <printWhenExpression><![CDATA[$F{NPPM}.equals(75)]]></printWhenExpression>
                </reportElement>
                <textElement textAlignment="Center" verticalAlignment="Middle">
                    <font fontName="AngsanaUPC" size="13" isBold="true"/>
                </textElement>
                <text><![CDATA[%]]></text>
            </staticText>
        </frame>
        <textField isBlankWhenNull="true">
            <reportElement x="395" y="1" width="36" height="17" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[!$F{NPPM}.equals("0") ? true : !$F{NPPM}.equals(75) ? true : false]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Middle">
                <font fontName="AngsanaUPC" size="13"/>
            </textElement>
            <textFieldExpression class="java.lang.String"><![CDATA[$F{NPPM} + " คน"]]></textFieldExpression>
        </textField>
        <textField isBlankWhenNull="true">
            <reportElement x="361" y="1" width="29" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[!$F{NMOD}.equals(0)]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Middle">
                <font fontName="AngsanaUPC" size="13"/>
            </textElement>
            <textFieldExpression class="java.lang.String"><![CDATA[$F{NMOD} == "" ? "" : $F{NMOD}+" รุ่น"]]></textFieldExpression>
        </textField>
        <textField>
            <reportElement x="515" y="1" width="35" height="17">
                <printWhenExpression><![CDATA[$F{SEQ} !=""]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Right" verticalAlignment="Middle">
                <font fontName="AngsanaUPC" size="13"/>
            </textElement>
            <textFieldExpression class="java.lang.String"><![CDATA[$F{SEXPAB}.equals("0.0") ? "0" : $F{SEXPAB}.equals("0") ? "0" : $F{SEXPAB}]]></textFieldExpression>
        </textField>
        <staticText>
            <reportElement x="603" y="1" width="39" height="17" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{INS}.equals( "X" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Top">
                <font fontName="AngsanaUPC" size="15" isBold="true" isItalic="false" pdfFontName="Arial Unicode MS" pdfEncoding="Identity-H" isPdfEmbedded="true"/>
            </textElement>
            <text><![CDATA[/]]></text>
        </staticText>
        <staticText>
            <reportElement x="560" y="1" width="35" height="17" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{ISO}.equals( "X" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Top">
                <font fontName="AngsanaUPC" size="15" isBold="true" pdfFontName="Arial Unicode MS" pdfEncoding="Identity-H" isPdfEmbedded="true"/>
            </textElement>
            <text><![CDATA[/]]></text>
        </staticText>
        <staticText>
            <reportElement x="711" y="2" width="11" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{M6}.equals( "1" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Bottom">
                <font size="12"/>
            </textElement>
            <text><![CDATA[*]]></text>
        </staticText>
        <staticText>
            <reportElement x="673" y="2" width="11" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{M3}.equals( "1" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Bottom">
                <font size="12"/>
            </textElement>
            <text><![CDATA[*]]></text>
        </staticText>
        <staticText>
            <reportElement x="724" y="2" width="11" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{M7}.equals( "1" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Bottom">
                <font size="12"/>
            </textElement>
            <text><![CDATA[*]]></text>
        </staticText>
        <staticText>
            <reportElement x="738" y="2" width="11" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{M8}.equals( "1" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Bottom">
                <font size="12"/>
            </textElement>
            <text><![CDATA[*]]></text>
        </staticText>
        <staticText>
            <reportElement x="751" y="2" width="11" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{M9}.equals( "1" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Bottom">
                <font size="12"/>
            </textElement>
            <text><![CDATA[*]]></text>
        </staticText>
        <staticText>
            <reportElement x="764" y="2" width="11" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{M10}.equals( "1" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Bottom">
                <font size="12"/>
            </textElement>
            <text><![CDATA[*]]></text>
        </staticText>
        <staticText>
            <reportElement x="777" y="2" width="10" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{M11}.equals( "1" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Bottom">
                <font size="12"/>
            </textElement>
            <text><![CDATA[*]]></text>
        </staticText>
        <staticText>
            <reportElement x="790" y="2" width="8" height="16" isPrintWhenDetailOverflows="true">
                <printWhenExpression><![CDATA[( $F{M12}.equals( "1" ) ? true : false )]]></printWhenExpression>
            </reportElement>
            <textElement textAlignment="Center" verticalAlignment="Bottom">
                <font size="12"/>
            </textElement>
            <text><![CDATA[*]]></text>
        </staticText>
    </band>
</detail>
<summary>
    <band height="93" splitType="Stretch">
        <line>
            <reportElement x="1" y="0" width="800" height="1"/>
            <graphicElement>
                <pen lineWidth="0.75"/>
            </graphicElement>
        </line>
        <frame>
            <reportElement x="1" y="0" width="800" height="93"/>
            <box>
                <pen lineWidth="0.75"/>
                <topPen lineWidth="0.0"/>
                <leftPen lineWidth="1.5"/>
                <bottomPen lineWidth="1.5"/>
                <rightPen lineWidth="1.5"/>
            </box>
            <line>
                <reportElement x="555" y="0" width="1" height="93"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
            <staticText>
                <reportElement mode="Opaque" x="622" y="71" width="115" height="19"/>
                <textElement textAlignment="Center">
                    <font fontName="AngsanaUPC" size="14"/>
                </textElement>
                <text><![CDATA[.........../........../..............]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="313" y="38" width="155" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="false" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[..........................................................................................................]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="613" y="39" width="136" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="false" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[.................................................................................]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="63" y="70" width="115" height="20"/>
                <textElement textAlignment="Center">
                    <font fontName="AngsanaUPC" size="14"/>
                </textElement>
                <text><![CDATA[.........../........../..............]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="58" y="38" width="136" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="false" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[.......................................................................................]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="336" y="70" width="115" height="20"/>
                <textElement textAlignment="Center">
                    <font fontName="AngsanaUPC" size="14"/>
                </textElement>
                <text><![CDATA[.........../........../..............]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="611" y="56" width="135" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="true" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[กรรมการผู้จัดการ / กรรมการฝ่าย]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="65" y="56" width="125" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="true" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[ผู้บังคับบัญชาแผนกบุคคล 2]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="36" y="39" width="24" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="true" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[ลงชื่อ ]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="748" y="40" width="33" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="true" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[ผู้อนุมัติ]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="289" y="38" width="24" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="true" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[ลงชื่อ ]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="325" y="56" width="148" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="true" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[ผู้บังคับบัญชาฝ่ายบุคคลและธุรการ]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="589" y="39" width="27" height="18"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="true" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[ลงชื่อ ]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="195" y="38" width="33" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="true" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[ผู้เสนอ]]></text>
            </staticText>
            <staticText>
                <reportElement mode="Opaque" x="471" y="39" width="48" height="17"/>
                <box>
                    <pen lineWidth="0.0"/>
                    <topPen lineWidth="0.0"/>
                    <leftPen lineWidth="0.0"/>
                    <bottomPen lineWidth="0.0"/>
                    <rightPen lineWidth="0.0"/>
                </box>
                <textElement textAlignment="Left" verticalAlignment="Top" rotation="None">
                    <font fontName="AngsanaUPC" size="14" isBold="true" isUnderline="false" isStrikeThrough="false" pdfFontName="angsau.ttf" pdfEncoding="Identity-H"/>
                    <paragraph lineSpacing="1_1_2"/>
                </textElement>
                <text><![CDATA[ผู้ตรวจสอบ]]></text>
            </staticText>
            <line>
                <reportElement x="250" y="1" width="1" height="92"/>
                <graphicElement>
                    <pen lineWidth="1.0"/>
                </graphicElement>
            </line>
        </frame>
    </band>
</summary>

my conditions java code

if (TEMPCOUNT > CHECK) {
       if (TEMPLENGTH <= (CHECK + 6)) {
            CHECK = (TEMPCOUNT - 1) + 16;
            GROUP++;
       } else {
       if (TEMPCOUNT == (CHECK + 6)) {
           CHECK = (TEMPCOUNT - 1) + 16;
           GROUP++;
           }
      }
}

this 16 is fixed to row per page

enter image description here

if I do not condition last page footer will be at the top next to detail, is wrong

but I try set summary band is last page footer band and set condition but still wrong

enter image description here

I can't print blank rows fit page Please help me and thank.....