This entry point is called before launching a report with a process.
It is used to prohibit the latter.
The print is not launched and the entry point is not called if:
- parameter AUTPRT <> Yes
- the printer is not entered
- in Radio Frequency mode, if the printer is of type Preview.
Position GPE to 1 to prohibit the print.
There is no transaction in process upon calling this entry point.
ETAT contains the print code
IMPRIMANTE contains the printer code
TBPAR(1..), TBVAL(1..) are the print and value parameters
NOMPRT indicates the process from which the print is launched
OPT shows a ? if the print launch must be confirmed by the user (question)
OPT shows & if the launch must not be followed by a confirmation message
MSG is added to the question before the print (if OPT = ?) or to the post-print message (if OPT<> &).
This entry point is called after launching a report with a process.
After this entry point:
-neither GPE nor GOK are tested
- a print confirmation message is displayed if OPT <> &.
There is no transaction in process upon calling this entry point.
ETAT contains the print code
IMPRIMANTE contains the printer code
TBPAR(1..), TBVAL(1..) are the print and value parameters
NOMPRT indicates the process from which the print is launched
OPT shows a ? if the print launch must be confirmed by the user (question)
OPT shows & if the launch must not be followed by a confirmation message
MSG is added to the question before the print (if OPT = ?) or to the post-print message (if OPT<> &).