User`s manual

20
MP-4200 TH Programmer’s Manual - Revision 1.0
ESC Q n
[Function] Set right margin.
[Format] ASCII E SCQn
Hexadecimal 1B 51 n
Decimal 2781n
[Range] 0≤n≤255
[Description] Setrightmargininnumberofcharacters,startingfromdefaultleftmargin.
[Notes] If requested right margin is on the left side of current horizontal position, the new margin will
become valid only in the next line.
ESC l n
[Function] Set left margin.
[Format] ASCII  ESCln
Hexadecimal 1B6Cn
Decimal 27108n
[Range] 0≤n≤255
[Description] Setleftmargininnumberofcharacters,startingfromthedefaultleftmargin.
[Notes] If requested left margin is on the right side of current horizontal position, the new margin will
become valid only in the next line.
ESC a n
[Function] Character alignment.
[Format] ASCII  ESCan
Hexadecimal 1B61n
Decimal 2797n
[Range] n=0,1,2
[Default] n=0
[Description] Thiscommandsethorizontalalignmentjustification.
Ifnis0(00hor30h),alignmentissettoleftjustified.
Ifnis1(01hor31h),alignmentissettocenterjustified.
Ifnis2(02hor32h),alignmentissettorightjustified.
[Notes] After initialization the default alignment is left justified.
ESC - n
[Function] Enable/disableunderlineprintmode.
[Format] ASCII  ESC-n
Hexadecimal 1B2Dn
Decimal 2745n
[Range] n=0,1
[Default] n=0
[Description] Enableordisableunderlineprintmode.
Ifnis0(00hor30h),underlinemodeisdisabled.
Ifnis1(01hor31h),underlinemodeisenabled.
[Notes] After processing this command, the printer will underline every character or space sent for
printing.
ESC 4
[Function] Enableitalicprintmode.