
Chapter 3: Programming Commands54
Select character size
ASCII GS ! n
Hexadecimal 1D 21 n
Decimal 29 33 n
Value of n: 1–8 = vertical number of times active font
1–8 = horizontal number of times active font
Range of n: 00–07, 10–17, ...70–77
Default of n: 11 hexadecimal
Selectsthecharacterheightusingbits0to2andselectsthecharacterwidthusingbits4to6,asfollows:
Withsmoothingenabled,maximumvalueof0+nis66.
Character width selection
Hex Decimal Width
00 0 1 (normal)
10 16 2 (two times width)
20 32 3 (three times width)
30 48 4 (four times width)
40 64 5 (ve times width)
50 80 6 (six times width)
60 96 7 (seven times width)
70 112 8 (eight times width)
Character height selection
Hex Decimal Height
00 0 1 (normal)
01 1 2 (two times height)
02 2 3 (three times height
03 3 4 (four times height)
04 4 5 (ve times height)
05 5 6 (six times height)
06 6 7 (seven times height)
07 7 8 (eight times height)
Thiscommandiseffectiveforallcharacters(exceptforHRIcharacters)andiseffecitveuntiltheprinterisinitialized,
reset,orpoweredoff.
Instandardmode,theverticaldirectionisthepaperfeeddirection,andthehorizontaldirectionisperpendiculartothe
paperfeeddirection.However,whencharacterorientationchangesin90degreeclockwise-rotationmode,therelationship
betweenverticalandhorizontaldirectionsisreversed.
Inpagemode,verticalandhorizontaldirectionsarebasedonthecharacterorientation.Whencharactersareenlargedwith
differentsizesononeline,allthecharactersonthelinearealignedatthebaseline.Whencharactersareenglargedwidth-
wise,thecharactersareenlargedtotheright,startingfromtheleftsideofthecharacter.
Theselectprintmode(1B21n)commandcanalsoselectorcanceldouble-widthanddouble-heightmodes.However,the
setting of the last received command is effective.
Exceptions
Ifnisoutofthedenedrange,thiscommandisignored.
Innativemode,theverticaldirectionislimitedto7(seventimesheight)whenTallfontisselected.If8(eighttimes
height)isselected,theresultsareunspecied.
Related information
InA793emulation,thiscommandisdiscardedandnotputintoprintbuffer.
Komentáře k této Příručce