PSB No:
Page: 2 of 14
ESC X m n1 n2 (Select Pitch and Point Size)
C X m n1 a is the command for selecting pitch and point size where m, nl and n2 are variables. The vadable W is used to select the pitch, which is the character spa&g. The variable W” selects the point size and the variable “n2”, at this time, will always be 0 (zero). The variables In” and 91’ ate explained below.
Thevaluesusedfor’m’ateO,l,18,21,24,30,36,4248,60,and72 tf’o”is usedasthevaluefor”m”,therewillbenochangeinpit~. lf”lVsusedasthe value far W, the character pitch will be proportional spacing. To determine the character pit& for all other values of %I”, divide 360 by “m”. For example, if rn=W then 360 divided by 60 equals 6 and the character pitch is 6 characters per inch. If m=30, the character pitch is 12 characters per inch.
FortheRomanandSansSerifforrts,thevaiueausedfor’nimare0,16,20,TI,24, 28,3238,40,42,44,48,5238,8Oand84. ForaUotbrfonts,Utevaluesusedfor “nlmare0,21,and42 l’heactualpaintsbthatwillprintisnl didedby2 For example, if nl=20, the point size is 10. tf nl=48, the point size is 24. NOTE: When selectina a Doirft size laraer than 24 (the value for nl is treater than 4& select twof3ortional wacina tm=ll for the character me&.
In the Basic programming language, the command would look like this.
LPRlf+lT cHR$(n);*xll;CHRS(l);CHR$(48);~~~(o);”~his is 24 point proportional spaced”
Ch6(27) is ESC, cW(l) selects proportional spacing, chr$(48) selects 24 point character size. At this time, n2 is m zero (0).