HP Value Serial/USB Receipt Printer II User Manual Page 38

  • Download
  • Add to my manuals
  • Print
  • Page
    / 155
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 37
Chapter 3: Programming Commands38
Vertical and horizontal positioning
Thehorizontalpositioningcommandscontrolthehorizontalprintpositionsofcharactersonthereceipt.
The commands describe operation for 80mm paper.
Horizontal tab
ASCII HT
Hexadecimal 09
Decimal 9
Movestheprintpositiontothenexttabpositionsetbythesethorizontaltabpositions(1B44n1n2...00)command.
The print position is reset to column one after each line.
Tabtreatstheleftmarginascolumnone,thereforechangestotheleftmarginwillmovethetabpositions.
Whennotabsaredenedtotherightofthecurrentposition,orifthenexttabispasttherightmargin,linefeedis
executed.HThasnoeffectinpagemode.Ifunderlineisset,tabspacesskippedbythiscommandarenotunderlined.
Printinitializationsets32tabsatcolumn8,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
Setsthehorizontalandverticalmotionunitsto1/xinchand1/yinchrespectively,untiltheprinterisinitialized,reset,or
powered off.
When x or yissetto0,thedefaultsettingforthatmotionunitisused.Whencombinedwithothercommands,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
Printstherstcharacterofthenextprintlineincolumnn.Itmustbesentforeachlinenotprintedatcolumnone.
The value of n is set to one after each line.
Exceptions
Thiscommandcannotbeusedwithsingle-ordouble-densitygraphics.
Related information
ThisisignoredinLEGACYemulationandtheparameterbytegoesintotheprintbuffer.
Page view 37
1 2 ... 33 34 35 36 37 38 39 40 41 42 43 ... 154 155

Comments to this Manuals

No comments