- 103 -
GS v 0 m xL xH yL yH d1 ... dk
CT-S280 CT-S300 CT-S2000 CT-S4000 BD2-2220 PMU series
Supportmodel
CT-S281
CT-S310 CT-S801/851 CT-S601/651 CT-P29x series CT-S310II
[Function] Printing of raster bit image
[Code] <1D>H<76>H<30>H<m><xL><xH><yL><yH> [<d>]k
[Range] 0≤m≤3, 48≤m≤51,0≤xL≤255,0≤xH≤255,
0≤yL≤255, 0≤yH≤8, 0≤d≤255,
k=(xL+xH×256)×(yL+yH×256), however, k≠0
[Outline] [The specification which is commontothemodel]
•Prints raster bit images in mode “m”.
m
Mode Name
Dot Densityin
Vertical Direction
Dot Densityin
Horizontal Direction
0,48
NORMALMODE
203dpi 203dpi
1,49
DOUBLE WIDTH MODE
203dpi 101dpi
2,50
DOUBLE HEIGHT MODE
101dpi 203dpi
3,51
QUADRUPLE SIZEMODE
101dpi 101dpi
•xL,xH specify thenumber ofdata in horizontal directionofthebit image to(xL+xH×256) bytes.
•yL,yH specify thenumber ofdata in vertical directionof thebit image to(yL+yH×256) bytes.
[Caution] [The specification which is commontothemodel]
•Anyoftheprintmodes(charactersize,emphasis,doublestrike,inverting,underlining,back-to-whitereversing,
etc.) does notaffect theraster bitimage.
• If the print area specified by GS L and GS W is narrower than a minimum width, the print area for that line
only is extended to the minimum width. The minimum width is one dot in NORMAL MODE (m=0, 48) and
DOUBLE HEIGHT MODE (m=2, 50), and 2 dots in DOUBLE WIDTH MODE (m=1, 49) and QUADRUPLE
SIZE MODE(m=3,51).
•Anypart ofdata that is outof theprint area isonlyread anddiscarded in unitsof dot.
•TheprintstartpositioncanarbitrarilybespecifiedwithHT(horizontaltab),ESC$(specifyingabsoluteposition),
ESC
\
(specifying relative positions), andGS L(setting left margins).Note thatiftheprint start positionis nota
multiple of8,the printingspeed may decrease.
•The setting of ESCa (aligning characters) are alsovalid fortherasterbit image.
•Ifthiscommandisexecutedduringmacrodefinition,themacrodefinitionissuspended,andtheprocessingof
the commandstarts.The macrois left undefined.
•“d”denotesdefined data.Dots to beprintedare specified as “1”,andthose nottobeprintedas“0”.
[The specification which depend on the model]
CT-S280/CT-S281/CT-S300/CT-S310/BD2-2220/PMU series/CT-P29x series
•Valid only when no print data is present in the print buffer at the selection of STANDARD
MODE.
CT-S2000/CT-S4000/CT-S801/CT-S851/CT-S601/CT-S651
•Valid only when no print data is present in the print buffer (at the top of a line).