Process AIMP1: Prints
FIN: Print several reports
Use this entry point to successively print several reports using the GPE and ETAT variables.
This entry point is not triggered for a direct print.
Context and operating mode
The only significant table is AREPORT, which contains the report in the process of being printed.
|
Table |
Significant content |
Table description |
|
AREPORT [ARP] |
No |
Report dictionary |
Example:
$ACTION
ACTION example
When "END": Gosub END
Endcase
Return
$END
If [F:ARP]RPTCOD="REPORT1" : # After REPORT1, REPORT2 is linked
GPE = 1
REPORT = "REPORT2"
Endif
Return
PRTFMT: Allow to enter the print format.
Use this entry point to allow the recover of the print format as defined in the printer management for a preview.
Context and operating mode
|
Table |
Significant content |
Table description |
|
AREPORT [ARP] |
No |
Report dictionary |
For a preview in a Client Server context, if the global GPE variable is set to 0 in this entry point, the print format entered in the printer record applies to the report. Otherwise, the print format is PDF.