User`s manual

80
MP-4200 TH Programmer’s Manual - Revision 1.0
[Function] Set printing area width.
[Format] ASCII  GSWn
L
n
H
Hexadecimal 1D57n
L
n
H
Decimal 2987n
L
n
H
[Range] 0≤n
L
≤255
0≤n
H
≤255
[Default] n
L
=0;n
H
=2
[Description] Setprintingareawidthto[(n
L
+n
H
×256)×horizontalmotionunit].
[Details] •Thiscommandiseffectiveonlywhenprocessedatthebeginningofaline.
•Ifsettingsexceedprintablearea,themaximumvalueoftheprintableareaisused.
•ThehorizontalandverticalmotionunitsarespecifiedbyGSP.Changingthehorizontaland
vertical motion unit does not affect the current left margin.
•Thehorizontalmotionunit(x)isused for calculating leftmargin.Thecalculated resultis
truncated to the minimum value of the mechanical pitch.
•Ifrequestedprintingareawidthlessthanonecharacterthefollowingprocessingisperformed:
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.Ifprintingareawidthcannotbeextended,therightmarginisreducedtoaccommodateonecharacter.
Ifthewidthsetfortheprintingareaislessthanoneverticalline,thefollowingprocessingisperformedonlyon
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:
•Bitimage(ESC*):
Singledensitymode=2dots
Doubledensitymode=1dot
•Downloadedbitimage(GS/):
DoublewidthmodeorQuadruplemode=2dots
NormalmodeorDouble-heightmode=1dot