Specifies the printing device / software to be used in classic 4GL reports.
Syntax
DBPRINT = {any string}
Usage and Examples
In classic 4GL reports, you can use the START REPORT TO clause to specify output destination. Among other option you can send the report to any printing device or software by using the PRINTER keyword:
START REPORT ord_rep TO PRINTER
or
START REPORT ord_rep TO OUTPUT "PRINTER"
In this case, the report will be sent to the printer specified in the DBPRINT environment variable:
DBPRINT = Canon MF4800 LT XPS
To get available printers list in Linux:
lpstat -p
If DBPRINT is not defined, the default system printer is used for reporting.
DBPRINT applies at runtime, so it is set in inet.env.