AhmetSinav
IS-IT--Management
OpenEdge 10.1B.
Hi,
i can change font via the following code,
PROCEDURE runPrintTest:
OUTPUT TO printer.
MESSAGE "This is a test".
OUTPUT CLOSE.
END PROCEDURE.
RUN runPrintTest.
LOAD "SOFTWARE\PSC\PROGRESS\10.1B\" BASE-KEY "HKEY_CURRENT_USER".
/* Set PrinterFont */
PUT-KEY-VALUE SECTION "Startup" KEY "PrinterFont" VALUE "Courier New, size=8, bold".
USE "SOFTWARE\PSC\PROGRESS\10.1B\".
/* Use new PrinterFont setting */
RUN runPrintTest.
i want to set more fonts to my document. for example i want to make the headers bold and the data's is not bold.
/* headers */
Customer No Customer Name /* this font will be Bold */
/* datas */
1 blalalala /* this font will be Normal */
Best Regards.
Hi,
i can change font via the following code,
PROCEDURE runPrintTest:
OUTPUT TO printer.
MESSAGE "This is a test".
OUTPUT CLOSE.
END PROCEDURE.
RUN runPrintTest.
LOAD "SOFTWARE\PSC\PROGRESS\10.1B\" BASE-KEY "HKEY_CURRENT_USER".
/* Set PrinterFont */
PUT-KEY-VALUE SECTION "Startup" KEY "PrinterFont" VALUE "Courier New, size=8, bold".
USE "SOFTWARE\PSC\PROGRESS\10.1B\".
/* Use new PrinterFont setting */
RUN runPrintTest.
i want to set more fonts to my document. for example i want to make the headers bold and the data's is not bold.
/* headers */
Customer No Customer Name /* this font will be Bold */
/* datas */
1 blalalala /* this font will be Normal */
Best Regards.