Consultor Eletrônico



Kbase P7758: How to force a windows 4GL application to print using a specific font and size?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/11/2005
Status: Verified

GOAL:

How to force a windows 4GL application to print using a specific font and size?

FACT(s) (Environment):

Windows
Progress 8.x
Progress 9.x

FIX:

Define the default font to be the same used in the original application:

To print in Courier New, size 8 font using the 4GL statement:

OUTPUT TO PRINTER.

Add:

PrinterFont = Courier New, Size=8

to the startup section of the progress.ini file or to the windows registry startup section.

To print in Courier New, size 8 font using the 4GL statement:

OUTPUT TO LPTx

Add:

PrinterFontx = Courier New, Size=8

to the startup section of the progress.ini file or to the windows registry startup section.