Entry points > Module Supervisor > Standard script IMPRIME 

DEFIMP

This entry point is called at the end of the subprogram used to determine a default printer (destination code), even if a printer cannot be found after the standard setup.

This subprogram is called by the AIMDEF action and is usually called in order to initialize the printer before printing a report.

Context and operating mode

The following tables are on line :

Table

Significant content

Table description

APRTAUS [AIA]

No

Destinations by user

APRINTER [AIM]

No

Destinations

AREPORT [ARP]

No

Report dictionary

AUTILIS [AUS]

No

Users

ACCES [ACC]

No

Access by user

The DEFIMP entry point allows to retrieve a printer's name (destination code) by entering the IMPRIMANTE variable and, if the name of the printer is required, by setting OBLIG to 1 (required) or to 0 (optional)

Available variables:

ETAT Report code
USER User
OKIMP =1 (One printer was found) =0 (no printer)

Open tables:
APRTAUS APRINTER AREPORT AUTILIS ACCES