User`s manual
80
MP-4200 TH Programmer’s Manual - Revision 1.0
[Function] Set printing area width.
[Format] ASCII GSWn
L
n
H
Hexadecimal 1D57n
L
n
H
Decimal 2987n
L
n
H
[Range] 0≤n
L
≤255
0≤n
H
≤255
[Default] n
L
=0;n
H
=2
[Description] Setprintingareawidthto[(n
L
+n
H
×256)×horizontalmotionunit].
[Details] •Thiscommandiseffectiveonlywhenprocessedatthebeginningofaline.
•Ifsettingsexceedprintablearea,themaximumvalueoftheprintableareaisused.
•ThehorizontalandverticalmotionunitsarespecifiedbyGSP.Changingthehorizontaland
vertical motion unit does not affect the current left margin.
•Thehorizontalmotionunit(x)isused for calculating leftmargin.Thecalculated resultis
truncated to the minimum value of the mechanical pitch.
•Ifrequestedprintingareawidthlessthanonecharacterthefollowingprocessingisperformed:
1. The printing area width is extended to the right to accommodate one character.
2. If printing area width cannot be extended, the left margin is reduced to accommodate one
character.
3.Ifprintingareawidthcannotbeextended,therightmarginisreducedtoaccommodateonecharacter.
•Ifthewidthsetfortheprintingareaislessthanoneverticalline,thefollowingprocessingisperformedonlyon
the line in question when data other than character data (e.g., bit image, user-defined bit image) is being processed:
1. The printing area width is extended to the right to accommodate one line in vertical for the
bit image within the printable area.
2. If the printing area width cannot be extended sufficiently, the left margin is reduced to
accommodate one line in vertical.
• The commands which set the printing area width for bit image printing and its minimum
widths are as follows:
•Bitimage(ESC*):
Singledensitymode=2dots
Doubledensitymode=1dot
•Downloadedbitimage(GS/):
DoublewidthmodeorQuadruplemode=2dots
NormalmodeorDouble-heightmode=1dot