Set Character Angle; Set Character Set; Set Character Precision - Printronix S828 Programmer's Manual

Table of Contents

Advertisement

Programmer Manual 
For both formats, parameters P1P2 form a two byte value that specifies the width of the character in
drawing units. Parameters P3P4 form a two byte value that specifies the height of the character in drawing
units.
For the second format, the width and height of the character cell contain both integer and fractional values.
Parameters P5P6 form a two byte value that specifies the fractional portion of the width of the character in
drawing units. Parameters P7P8 form a two byte value that specifies the fractional portion of the height of
the character in drawing units. There is an implied decimal point between P1P2 and P5P6, and between
P3P4 and P7P8.
The printer pads the standard graphics character cell with spaces to achieve the desired spacing. The
printer also adjusts the character size within the specified cell in integer multiples of the standard size
graphics character. The minimum character image (resulting from graphics mapping) is the standard size
graphics character, even though the scaled character cell may be smaller. In this case, overlapping of
characters may occur.
Note: The printer clips the expanded graphics representation of the last vertical column of a downloaded
NLQ character (see Load Symbol Sets).

Set Character Angle

34
Description: This order specifies the angle of the baseline of graphic character strings that print using
subsequent character string orders. The non-graphics (for example, text) character angle does not change
with this order. Angles of 0, 90, 180, and 270 degrees are valid. This order does not change any other
graphic drawing order attributes.
Parameters P1 and P2 form a two byte value that specifies the X coordinate. Parameters P3 and P4 form
a two byte value that specifies the Y coordinate. To meet the requirement that the angle be 0, 90, 180, or
270 degrees, either the X or the Y coordinate must equal zero, as follows:
If X > 0 and Y = 0, then the angle is zero degrees (default).
If X = 0 and Y > 0, then the angle is 90 degrees.
If X < 0 and Y = 0, then the angle is 180 degrees.
If X = 0 and Y < 0, then the angle is 270 degrees.
If X = 0 and Y = 0, then the angle is zero degrees.
If neither the X nor the Y coordinate is zero, the printer uses the current default for this drawing order.

Set Character Set

38
Description: This order sets the value of the current character set attribute. The character set specified by
this command must use an NLQ font if printing high-density graphics or a DP font if printing low-density
graphics. Downloaded DP characters are not supported in graphics.
Parameter P1 specifies the local character set identifier. A value of 0 or X'FF' selects the current drawing
default. A value of X'01' to X'FE' selects a local ID for the character set. This local ID is mapped to a
global font ID by the Load Font Equivalence command. See "Load Font Equivalence (LFE)".

Set Character Precision

39
Chapter 5 IPDS Programming Information 
04
P1-P4
P1
P1
 
183 
PTX‐S828 
260071‐001A 

Advertisement

Table of Contents
loading

Table of Contents