fn = 49: Function 49 Setting Paper Layout
GS ( E pL pH fn
[Code]
<1D>H<28>H<45>H<pL><pH><fn>[a]<3B>H[bL bH]<3B>H[cL cH]<3B>H[dL dH]<3B>H[eL
[Range]
9≦(pL+pH×256)≦24 (9≦pL≦24、pH=0)
fn=49
a=48、49
100≦(bL+bH×256)≦3000、35≦(cL+cH×256)≦100
0≦(dL+dH×256)<3000、0≦(eL+eH×256)<3000
38≦(fL+fH×256)≦3000、27≦(gL+gH×256)≦533
240≦(hL+hH×256)≦720
When any of the following is met, the parameter is illegal and the command is ignored.
(bL+bH×256)≦((cL+cH×256)+35)
(bL+bH×256)<(dL+dH×256)
(bL+bH×256)<(eL+eH×256)
(bL+bH×256)<(fL+fH×256)
Paper size<((gL+gH×256)+((hL+hH×256)+34))
[Outline]
Sets paper layout.
Sets vertical layout (bL, bH-fL, fH) and horizontal layout (gL, gH, hL, hH) in units of 1
mm.
Operates only in printer function setting mode.
• Sets "paper type" by a.
• Sets "vertical layout" with bL, bH-fL, fH.
• Sets "horizontal layout" with gL, gH, hL, hH.
[Default]
All settings are "State of no setting"
[a1] ; [bL bH] ; [cL cH] ; [dL dH] ; [eL
eH] ; [fL fH] ; [gL gH] ; [hL hH] ;
a
48
Receipt (without black mark)
49
Receipt (with black mark added)
bL,bH
Distance from black mark top end to next black mark top end
cL,cH
Distance from black mark top end to black mark bottom end
dL,dH
Distance from black mark top end to initial position
eL,eH
Distance from black mark top end to cut position
fL,fH
Distance from initial position to print area bottom end
gL,gH
Distance from paper left end to print area left end
hL,hH
Distance from print area left end to print area right end
eH]<3B>H[fL fH]<3B>H[gL gH]<3B>H[hL hH]<3B>H
Paper Type
When a = 49 is Specified
When a = 49 is Specified
- 110 -