Set Character Cell; Set Character Direction - IBM 6400 Programmer's Reference Manual

Line matrix printers, intelligent printer data stream
Table of Contents

Advertisement

Graphics Command Set

Set Character Cell

or
Description: This order specifies the size of the character cell for output
characters with subsequent Character String orders. The character cell size for
non-graphics (for example, text) does not change with this order. The Set
Character Cell order does not change any other graphics drawing attributes.
There are two types of formats with this order. The first format has a length of 4
and has four parameter bytes. The second format has a length of 8 and has
eight parameter bytes.
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 Direction

Description: This order sets the value of the character direction attribute.
Subsequent strings that print using the Character String order will print in the
direction specified relative to the character baseline angle. See "Set Character
Angle" on page 109. The character direction for non-graphics (text) does not
change with this order. This order does not change any other graphics drawing
attributes.
Parameter P1 specifies the direction, as shown:
110
6400 IPDS
33
L1
P1-P4
33
L1
P1-P8
3A
P1
Hex
Line Type
00
Drawing Default
01
Left to Right
02
Top to Bottom

Advertisement

Table of Contents
loading

Table of Contents