SET PRINT FONT
SET PRINT FONT nFont [SIZE nWidth,nHeight] [BOLD] [UNDERLINE] [ITALIC]Selects a printing font in the historical variant.
Overview
Historical eAdvPL reference, section 13.1. Syntax depends on that implementation’s macros and platform; current SmartClient support is unconfirmed. A numeric identifier selects the font, with optional dimensions and styles. The reference warns that some printers do not support the command. We assign no font name to the number: obtain it from device documentation. Output must already be prepared; this is neither TFont construction nor PDF generation. (Sources: refs. 1–1.)
Syntax
SET PRINT FONT nFont [SIZE nWidth,nHeight] [BOLD] [UNDERLINE] [ITALIC]Return value
No useful return documented in this subset.
Commented example
// Fragment: nFont verified for the device; output already prepared.
SET PRINT FONT nFont BOLDRequests the font and bold style, subject to device support. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
- Verify includes and graphical context in the target release. The fragment assumes the stated objects; it is not a complete application. Do not use in headless execution.
- Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.