Chapter 3: Programming Commands38
Vertical and horizontal positioning
Thehorizontalpositioningcommandscontrolthehorizontalprintpositionsofcharactersonthereceipt.
The commands describe operation for 80mm paper.
Horizontal tab
ASCII HT
Hexadecimal 09
Decimal 9
Movestheprintpositiontothenexttabpositionsetbythesethorizontaltabpositions(1B44n1n2...00)command.
The print position is reset to column one after each line.
Tabtreatstheleftmarginascolumnone,thereforechangestotheleftmarginwillmovethetabpositions.
Whennotabsaredenedtotherightofthecurrentposition,orifthenexttabispasttherightmargin,linefeedis
executed.HThasnoeffectinpagemode.Ifunderlineisset,tabspacesskippedbythiscommandarenotunderlined.
Printinitializationsets32tabsatcolumn8,16,24…
Set horizontal and vertical minimum motion units
ASCII GS P x y
Hexadecimal 1D 50 x y
Decimal 29 80 x y
Value of x: Horizontal Range of x: 0 – 255 Default of x: 203
Value of y: Vertical Range of y: 0 – 255 Default of y: 203
Setsthehorizontalandverticalmotionunitsto1/xinchand1/yinchrespectively,untiltheprinterisinitialized,reset,or
powered off.
When x or yissetto0,thedefaultsettingforthatmotionunitisused.Whencombinedwithothercommands,the
calculated result is truncated to the minimum value of the mechanical pitch.
Mode Commands using x Commands using y
Standard 1B 20, 1B 24, 1B 5C, 1D 4C, 1D 57 1B 33, 1B 4A, 1B 4B, 1D 56
Page (upper left or lower right) 1B 20, 1B 24, 1B 57, 1B 5C, [1C 53] 1B 33, 1B 4A, 1B 4B, 1B 57, 1D 24, 1D 56, 1D 5C
Page (upper right or lower left) 1B 33, 1B 4A, 1B 4B, 1B 57, 1D 24, 1D 5C 1B 20, 1B 24, 1B 57, 1B 5C, [1C 53], 1D 56
Set column
ASCII ESC DC4 n
Hexadecimal 1B 14 n
Decimal 27 20 n
Value of n: 1 – 44 = Standard pitch
1 – 56 = Compressed pitch
Default of n: 1
Printstherstcharacterofthenextprintlineincolumnn.Itmustbesentforeachlinenotprintedatcolumnone.
The value of n is set to one after each line.
Exceptions
Thiscommandcannotbeusedwithsingle-ordouble-densitygraphics.
Related information
ThisisignoredinLEGACYemulationandtheparameterbytegoesintotheprintbuffer.
Comments to this Manuals