DBPRINT - REPORT TO PRINTER

"James B. Byrne via Aubit4gl-discuss" <[email protected]> Tue, 15 Jun 2021 17:02:12 -0400
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
What, exactly, is the DBPRINT env supposed to contain?  The Aubit4gl manual
says this:

DBPRINT PRINT/RUNTIME/REPORT
Printing command Name of command to use to pass report out-
put when executing reports defines as START REPORT ... TO
PRINTER


I have tried setting this variable to different printers (np4174, np4172), but
the output always goes to np4172 which is the system default printer.

DBPRINT='np4173'

I have tried setting it to an enscript command (

DBPRINT='enscript -B -d"np4174" --font=DejaVuSansMono@12
--download-font=DejaVuSansMono --margins=18:18:18:18'

And the report still goes to np4172.

Additionally, all I ever see on the report that is printed on np4172 is the top
line.  The rest of the page is blank.

If I print to a file and then pass that file to the enscript command given
above then the report is printed properly on the selected printer.

How is this supposed to work?

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:[email protected]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3