Sets the current font for the printer.
call "PC_PRINTER_SET_FONT" using printer-handle font-family-name by value font-size by value font-style returning status-code
| Using call prototype (see Library Routines - Key) | Picture (32-bit systems) | ||||
|---|---|---|---|---|---|
| printer-handle | cblt-x4-comp5 | pic x(4) comp-5. | |||
| font-family-name | Group predefined as cblt-printer-name containing: | Group containing: | |||
| cblte-pn-name-length | cblt-x2-comp5 | pic x(2) comp-5. | |||
| cblte-pn-name | pic x(n). | pic x(n). | |||
| font-size | Numeric literal or cblt-x4-comp5 | Numeric literal or pic x(4) comp-5. | |||
| font-style | Numeric literal or cblt-x4-comp5 | Numeric literal or pic x(4) comp-5. | |||
| status-code | See Library Routines - Key | ||||
| printer-handle | The printer handle returned when the printer was opened. | ||||||||
| name-len | The length of the font family name. | ||||||||
| name-text | The family name of the font to be used (for example, Courier, Helvetica, Times, Symbol, Times New Roman, Roman, and so on). | ||||||||
| font-size | Point size of font. | ||||||||
| font-style | Set of bits defining the required font style:
All remaining bits are reserved for future use and should not be set. |
| status-code | Printer Handling Routines Return Codes |