Two reports in IReport

0

I am creating a report in IReport 4.0.1 of the following form where I generate a dispatch guide to a user, this report should generate two copies one for which the dispatch and the manager receive.

First generate a view with the report in general

 <pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">

Then create another view and with a subreporte copy it 2 times.

 <pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">

I am looking for the form that the report is repulsive at the time of printing, ie the sheet is divided into 2 part above and the other part below half.

Something like that for example

 -----------------------
| -------------------  | 
| |ORIGINAL         |  |   
| |1 Linea          |  |   
| |2 Linea          |  | 
| |3 Linea          |  | 
| -------------------  |  
|----------------------| <---MITAD
| -------------------  | 
| |COPIA            |  |   
| |1 Linea          |  | 
| |2 Linea          |  | 
| |3 Linea          |  |    
| -------------------  |
------------------------

But in my current report, for example, if I send a few items, the sheet will get out of balance, leaving something like this (Max 10 items to be shipped).

| -------------------  | 
| |ORIGINAL         |  |   
| |1 Linea          |  |   
| |2 Linea          |  | 
| -------------------  |  
|----------------------| 
| -------------------  | 
| |COPIA            |  | <-- MITAD   
| |1 Linea          |  | 
| |2 Linea          |  |   
| -------------------  |
|                      | 
|                      | 
|                      | 
------------------------
    
asked by MoteCL 06.12.2018 в 15:13
source

0 answers