Format Description : The programming manual command description includes the following sections: 1) [Name] This is the first part of the command descriptions. ASCII code is given command of the form and the function overview of command . 2) [Format] This section uses the ASCII coding form, Hex code form, Decimal code form of three kinds of formal description of the command.
Page 3
[Name ] Horizontal tab [Format] ASCII HT Decimal 09 [Decription] Moves the print position to the next horizontal tab position. [Details] •This command is ignored unless the next horizontal tab position has been set. • If the next horizontal tab position exceeds the printing area, the printer setstheprinting position to [Printing area width + 1].
Page 4
Decimal 27 32 0 ≤ n ≤ 255 [Range] [Description]Setting the right side character spacing for [n¬0.125 mm]. • For the double-width mode, the right side character spacing is double than the normal [Note] mode. When the character is magnified , the right side character spacing is n times than the normalmode.
Page 5
ESC$nLnH [Name] Set absolute print position [Format] ASCIIESC $ nL nH Hex1B 24 nL nH Decimal27 36 nL nH 0≤ nL≤ 255 [Range] 0≤ nH≤ 255 [Description]Sets the distance from the beginning of the line to the position at whichsubsequent characters are to be printed. •The distance from the beginning of the line to the print position is [( nL + nH * 256) *(vertical or horizontal motion unit)] inches.
Page 6
• Set a corresponding bit to 1 to print a dot or 0 to not print a dot. •This command can define different user-defined character patterns by each fonts. To select a font, use ESC ! • A user-defined character and a downloaded bit image cannot be defined simultaneously.
Page 8
0≤ d≤ 255 [Description] Selects a bit-image mode using m for the number of dots specified by nL and nH,as follows: Mode Vertical Direction Horizontal Direction Number of DotDensity DotDensity Number of Data(K) Dots nL +nH ∗ 256 67.7dpi 101.6dpi 8-dot single-density nL +nH ∗...
Page 10
ESC- n [Name] Turn underline mode on/off ASCII [Format] Decimal 0≤ n≤ 2,48≤ n≤ 50 [Range] [Description] Turns underline mode on or off, based on the following values of n: Function 0, 48 Turns off underline mode 1, 49 Turns on underline mode (1-dot thick) 2, 50 Turns on underline mode (2-dots thick) [Note] •...
Page 11
ESC2 [Name] Select default line spacing [Format] ASCII Decimal [Description] Select default line spacing for3.75mm(30¬0.125mm). • The line spacing can be set independently in standard mode and in page mode. [Note] [Reference] ESC3 ESC3n [Name] Set line spacing [Format] ASCII Decimal 0≤...
Page 12
ESCBnt [Name] Set buzzer [Format] ASCII Decimal 1<=n<=9,1<=t<=9 [Description] [Details] The buzzer ring when print the order. •nRefers to the number of buzzer times •tRefers to the buzzer beeps every few hours (t * 100) milliseconds. ESCDn1...nk NUL [Name] Set horizontal tab positions [Format] ASCIIESC D n1...nk NUL 1B 44 n1...nk 00 Decimal 27 68 n1...nk 0...
Page 13
ESCGn [Name] Turn on/off double-strike mode [Format] ASCIIESCG n 1B 47 n Decimal27 71 n 0≤ n≤ 255 [Range] [Description]Turn on/off double-strike mode • When the LSB of n is 0, double-strike mode is turned off. • When the LSB of n is 1, double-strike mode is turned on. [Note] Only the lowest bit of n is enabled.
Page 14
[Name] Turn 90° clockwise rotation mode on/off [Format] ASCII Decimal 0≤ n≤ 1,48≤ n≤ 49 [Range] [Description] Turn 90° clockwise rotation mode on/off n is used as below: Function 0,48 Turns off 90° clockwise rotation mode 1,49 Turns on 90° clockwise rotation mode •...
Page 15
0,48 Left justification 1, 49 Centering 2, 50 Right justification • The command is enabled only when processed at the beginning of the line [Note] instandard mode. • This command executes justification in the printing area. • This command justifies the space area according to HT, ESC $ or ESC \. [Defaults] ESCc5n [Name]...
Page 16
m =0/48 Drawer kick-out connector pin 2. M=1/49 Drawer kick-out connector pin 5. ESCtn [Name] Select character code table [Format] ASCII Decimal 0≤ n≤ 5,16≤ n≤ 19,n=255 [Range] [Description]Selects a page n from the character code table. [Defaults]n=0 [Reference]Character Code Table ESC{n [Name] Turns on/off upside-down printing mode...
Page 17
[Format] ASCII 1B 6D Decimal 27 109 [Description]Select Cut mode and half cut FSpnm Print NV bit image [Name] [Format] ASCII 70 n 11 n Decimal 1≤ n≤ 255 [Range] 0≤ m≤ 3,48≤ m≤ 51 [Description] Prints a NV bit image n using the mode specified by m. Mode Vertical DotDensity Horizontal Dot Density...
Page 19
• A definition data of a NV bit image consists of [xL xH yL yH d1...dk]. Therefore, when onlyone NV bit image is defined n=1, the printer processes a data group ╳ 256) ╳ (yL + [xL xH yL yHd1...dk] once. The printer uses ([data: (xL + xH ╳...
Page 20
[Name] Set character size [Format] ASCII Decimal 0≤n≤ 255 [Range] (1 ≤ vertical number of times ≤ 8, 1 ≤ horizontal number of times ≤ 8) [Description] Selects the character height using bits 0 to 2 and selects the character width usingbits 4 to 7, as follows: OFF/ON Hex Decimal...
Page 21
[Description] Turn white/black reverse printing mode。 • When the LSB of n is 0, white/black reverse mode is turned off. • When the LSB of n is 1, white/black reverse mode is turned on. • Only the lowest bit of n is valid. [Note] •...
Page 22
[Defaults] nL=0,nH=0 [Reference] GS W ①GSVm②GSVm n [Name] Select cut mode and cut paper [Format] ①ASCIIGS V m Hex 1D56 m Decimal 29 86 m ②ASCIIGS V mn Hex1D 56 m n Decimal29 86 m n ①m=1,49 [Range] ②m=66,0≤ n≤ 255 [Description]Selects a mode for cutting paper and executes paper cutting.
Page 23
[Defaults] n=162 [Reference] GS k ①GSkmd1...dkNUL②GSkmn d1...dn [Name] Print barcode ①ASCII d1...dk [Format] d1...dk Decimal 107 m d1...dk ②ASCII d1...dn d1...dn Decimal 107 m d1...dn [Range]①0≤ m≤ 6 (k and d depends on the bar code system used) ②65 ≤ m≤ 73(n and d depends on the bar code system used) [Description] Selects a bar code system and prints the bar code.
Page 24
• This command ends with a NUL code. • When the bar code system used is UPC-A or UPC-E, the printer prints the bar code data afterreceiving 12 bytes bar code data and processes the following data as normal data. •When the bar code system used is JAN13 (EAN13), the printer prints the bar code afterreceiving 13 bytes bar code data and processes the following data as [Note②]...
Page 25
[Notice for standard mode] •If d is outside of the specified range, the printer only feeds paper and processes the followingdata as normal data. •If the horizontal size exceeds printing area, the printer only feeds the paper. •This command feeds as much paper as is required to print the bar code, regardless of theline spacing specified by ESC 2 or ESC 3.
Page 26
printer stops command processing,and subsequent data processing as normal data. • If the combination "{" and subsequent characters do not apply to any special characters, the printer stops command processing, and subsequent data as normal data. •If the printer receives a specially coded character set can not be used, the printer stops command processing, and subsequent data as normal data.
Page 27
• When this command is received during macro definition, the printer ends macrodefinition, and begins performing this command. The definition of thiscommand should be cleared. •d indicates the bit-image data. Set time a bit to 1 prints a dot and setting it to 0does not print a dot.
Page 28
Double-height mode is ON. - - - - - - - - - Underline mode is OFF. Underline mode is ON. [Note]• When both double-width and double-height modes are set (including right- andleft-side character spacing), quadruple-size characters are printed. • The printer can underline all characters (including right- and left-side characterspacing), but cannot underline the space set by HT and 90°...
Page 29
0,underline printing is no longer performed, but the previously specified underlinethickness is not changed. The default underline thickness is 1 dot. • The specified line thickness does not change even when the character sizechanges. • It is possible to turn underline mode on or off using FS !, and the last receivedcommand is effective.
Page 30
Version Capacity (coding) the level by EC L(7%) M(15%) Q(25%) H(30%) FSWn [Name]Turn quadruple-size mode on/off for Hanzi characters [Format] ASCIIFS W n Hex 1C 57 n Decimal 2887n 0≤ n≤ 255 [Range] [Description] Turn quadruple-size mode on/off for Hanzi characters •...
DLE EOT n [Name] Real-time status transmission [Format] ASCII Decimal [Range] 1 ≤ n ≤ 4 [Description] Transmits the selected printer status specified by n in real-time, according to the following parameters: n = 1: Transmit printer status n = 2: Transmit off-line status n = 3: Transmit error status n = 4: Transmit paper roll sensor status [Details] •...
Page 32
Fixed to Off. Fixed to On. Drawer open Drawer close On-line Off-line Fixed to On. Recover until on-line Wait for on-line recover Undefined. Fixed to Off. n = 2: Off-line Status Decimal Function Fixed to Off. Fixed to On. Top cover close Top cover open Paper is not being fed by using the FEED button.
Page 33
Temperature and voltage of print head is normal Temperature and voltage of print head is over range Fixed to Off. n = 4: Feed Status Decimal Function Fixed to Off. Fixed to On. Roll paper near-end sensor: Roll paper near-end sensor: Fixed to On.
Need help?
Do you have a question about the BT850A and is the answer not in the manual?
Questions and answers