background image

 

10

 

ESCBnt 

 

[Name]

 

Set buzzer

 

[Format] 

 ASCII 

ESC 

t  

Hex 

1B 

42 

  n 

 t 

Decimal 

27 

66 

  n    t 

[Description]

 

1<=n<=9

1<=t<=9 

[Details]

 

The buzzer ring when print the order.

 

n

Refers to the number of buzzer times

 

t

Refers to the buzzer beeps every few hours (t * 100) milliseconds.

 

 

 

ESCDn1...nk NUL 

 

[Name] 

Set horizontal tab positions 

[Format]  ASCIIESC   D   n1...nk    NUL  

Hex     1B   44   n1...nk    00  
Decimal   27   68   n1...nk    0 

[Range]

 

1

≤ 

n

≤ 

255 

0

≤ 

k

≤ 

32 

[Description]

 

Set horizontal tab positions

 

• 

nspecifies the column number for setting a horizontal tab position from 

thebeginning of the line

• 

k indicates the total number of horizontal tab positions to be set.

 

[Note]  

• 

The horizontal tab position is stored as a value of [character width * n]measured from 

the  beginning  of the line.  The character  width includes theright-side character 
spacing, and double-width characters are set with twice thewidth of normal 
characters

 

• 

This command cancels the previous horizontal tab settings.

 

• 

When setting n = 8, the print position is moved to column 9 by sending HT.

 

• 

Up to 32 tab positions ( k = 32) can be set. Data exceeding 32 tab positions 

isprocessed as normal data.

 

• 

When [ n] k is less than or equal to the preceding value [ n] k-1, tab setting 

isfinished and the following data is processed as normal data.

 

• 

ESC D NUL cancels all horizontal tab positions.

 

The previously specified horizontal tab positions do not change, even if thecharacter 

width changes.

 

• 

The character width is memorized for each standard and page mode.

 

[Defaults]The default tab positions are at intervals of 8 characters (columns 9, 17, 25,...)  
forfont A (12 

24).

 

[Reference]

  HT 

 
ESCEn 

 

[Name] 

Turn emphasized mode on/off 

[Format]   

ASCII      ESC    E  n  

 

Hex           1B     45 n  

 

Decimal     27     69 n 

[Range]

 

0

≤ 

n

≤ 

255 

[Description]

 

Turn emphasized mode on/off

  

 

When the LSB of n is 0, emphasized mode is turnedoff.

 

 

When the LSB of n is1, emphasized mode is turned on.

 

[Note]

• 

Only the least significant bit of n is enabled.

 

This command and ESC ! turn on and off emphasized mode in the same way. 

Be careful when this command is used with ESC !

.

 

[Defaults] 

n=0 

[Reference]  ESC! 

Summary of Contents for BT850A

Page 1: ...1 80MM THERMAL RECEIPT PRINTER PROGRAMMER MANUAL ...

Page 2: ...example 1 n 4 where 1 is a decimal number rather than the ASCII code table in 1 3 Range Gives the allowable ranges for the arguments 4 Description Describes the command s function 5 Detail The command notice is given Because commands in different modes when with different commands will lead to mutual influence and this section gives the details 6 Reference Gives the lists of related commands ESC S...

Page 3: ...f the line Reference ESC2 ESC3 DLEDC4nmt Name Real time pulse generator Format ASCII DLE DC4 n m t Hex 10 14 n m t Decimal 16 20 n m t Range n 1 m 0 1 1 t 8 Decription Output pulse is specified by the parameter t connection pins m show as below m Connect Pins 0 Cash Drawer Connect Pin 2 1 Cash Drawer Connect Pin 5 Pulse high time for t 100 ms low time for t 100ms Details When the printer is execut...

Page 4: ...00 0 Double width mode not selected ON 20 32 Double width mode selected 6 N A 7 OFF 00 0 Underline mode not selected ON 80 128 Underline mode selected Note When both double height and double width modes are selected quadruple sizecharacters are printed The printer can underline all characters but can not underline the space set by HT or 90 clockwise rotated characters The thickness of the underlin...

Page 5: ... the internal character set is automatically selected n is available only for the least significant bit Defaults n 0 Reference ESC ESC ESC yc1c2 x1d1 d y x1 xkd1 d y xk Name Define user defined characters Format ASCII ESC y c1 c2 x1d1 d y x1 xkd1 d y xk Hex 1B 26 yc1 c2 x1d1 d y x1 xkd1 d y xk Decimal 27 38 yc1 c2 x1d1 d y x1 xkd1 d y xk Range y 3 32 c1 c2 126 0 x 12 12 24 0 x 9 9 17 0 d1 d y xk 2...

Page 6: ... image is cleared The user defined character definition is cleared when 1 ESC is executed 2 ESC is executed 3 ESC is executed 4 The printer is reset or the power is turned off When the user defined characters are defined in font B 9 17 only the mostsignificant bit of the 3rd byte of data in vertical direction is effective Defaults The internal character set Reference ESC ESC Example When font A 12...

Page 7: ...08 Hd7 10 H d2 FF Hd5 08 Hd8 04 H d3 80 Hd6 00 Hd9 00 H ESC mnLnHd1 dk Name Select bit image mode Format ASCII ESC m nL nH d1 dk Hex 1B 2A m nL nH d1 dk Decima l27 42 m nL nH d1 dk Range m 0 1 32 33 0 nL 255 0 nH 3 ...

Page 8: ... not print a dot If the width of the printing area set by GS L and GS W less than the widthrequired by the data sent with the ESC command the following will beperformed on the line in question but the printing cannot exceed the maximumprintable area The width of the printing area is extended to the right to accommodate theamount of data If step does not provide sufficient width for the data the le...

Page 9: ...7 When 24 dot bit image is selected ...

Page 10: ... spacing but cannot underline the space set by HT The printer cannot underline 90 clockwise rotated characters and white blackinverted characters When underline mode id turned off by setting the value of n to 0 or 48 thefollowing data is not underlined and the underline thickness set before themode is turned off does not change The default underline thickness is 1 dot Changing the character size d...

Page 11: ...27 63 n Range 32 n 126 Description Cancel user defined characters Note This command cancels the pattern defined for the character code specified byn After the user defined characters is canceled the corresponding pattern forthe internal character is printed This command deletes the pattern defined for the specified code in the fontselected by ESC If a user defined character has not been defined fo...

Page 12: ...izontal tab settings When setting n 8 the print position is moved to column 9 by sending HT Up to 32 tab positions k 32 can be set Data exceeding 32 tab positions isprocessed as normal data When n k is less than or equal to the preceding value n k 1 tab setting isfinished and the following data is processed as normal data ESC D NUL cancels all horizontal tab positions The previously specified hori...

Page 13: ...escription Prints the data in the print buffer and feeds the paper n vertical or horizontalmotion unit inches Note After printing is completed this command sets the print starting position to thebeginning of the line The paper feed amount set by this command does not affect the values set byESC 2 or ESC 3 In standard mode the printer uses the vertical motion unit y ESCMn Name Select character font...

Page 14: ...ESC ESC ESC nLnH Name Set relative print position Format ASCII ESC nLnH Hex 1B 5C nLnH Decimal 27 92nLnH Range 0 nL 255 0 nH 255 Description Sets the print starting position based on the current position by using thehorizontal or vertical motion unit This command sets the distance from the current position to nL nH 256 horizontal or vertical motion unit Note Any setting that exceeds the printable ...

Page 15: ...e FEED button In the macro ready mode the FEED button are enabled regardless of thesettings of this command however the paper cannot be fed by using thesebuttons Defaults n 0 ESCdn Name Print and feed n lines Format ASCIIESC d n Hex 1B 64 n Decimal 27 100 n Range 0 n 255 Description Prints the data in the print buffer and feeds n lines Note This command sets the print starting position to the begi...

Page 16: ... Decimal27 123n Range 0 n 255 Description Turns on off upside down printing mode When the LSB of n is 0 upside down printing mode is turned off When the LSB of n is 1 upside down printing mode is turned on Note Only the lowest bit of n is valid This command is enabled only when processed at the beginning of a line instandard mode In upside down printing mode the printer rotates the line to be prin...

Page 17: ...tc except upside down printing mode If the printing area width set by GS L and GS W for the NV bit image is less than onevertical line the following processing is performed only on the line in question However in NV bit image mode one vertical line means 1 dot in normal mode m 0 48 and indouble height mode m 2 50 and it means 2 dots in double width mode m 1 49 andin quadruple mode m 3 51 The print...

Page 18: ...not be performed During processing this command the printer is in BUSY when writing the data to the NV user memory and stops receiving data Therefore it is prohibit ted to transmit the data including the real time commands during the execution of this command NV bit image means a bit image which is defined in a non volatile memory by FS q andprinted by FS p In standard mode this command is effecti...

Page 19: ... bit image data whose totalcapacity bit image data header exceeds 192K bytes Even setting the ASB during the processing of the commandthe printer is not transmitted ASB status or execution status detection When this command is received during macro definition the printer ends macrodefinition and begins performing this command Once a NV bit image is defined it is not erased by performing ESC reset ...

Page 20: ...acters If n is outside of the defined range this command is ignored In standard mode the vertical direction is the paper feed direction and thehorizontal direction is perpendicular to the paper feed direction However when character orientation changes in 90 clockwise rotation mode therelationship between vertical and horizontal directions is reversed When characters are enlarged with different siz...

Page 21: ...mode is selected Defaults n 0 GSHn Name Select printing position for HRI characters Format ASCIIGS H n Hex 1D48n Decimal 29 72 n Range 0 n 3 48 n 51 Description Selects the printing position of HRI characters when printing a bar code n select printing position as follow n Printing position 0 48 Not printed 1 49 Above the bar code 2 50 Below the bar code 3 51 Both above and below the bar code HRI i...

Page 22: ...cut is available there is no full cut Notice for When n 0 the printer feeds the paper to thecutting position and cuts it When n 0 the printer feeds the paper to cutting position n verticalmotion unit and cuts it GSfn Name Select font for Human Readable Interpretation HRI characters Format ASCIIGSf n Hex1D66 n Decimal 29 102n Range n 0 1 48 49 Description Selects a font for the HRI characters used ...

Page 23: ...ode system as below m Bar code system Number of Characters Remarks 0 UPC A 11 k 12 48 d 57 1 UPC E 11 k 12 48 d 57 2 JAN13 EAN13 12 k 13 48 d 57 3 JAN8 EAN8 7 k 8 48 d 57 4 CODE39 1 k 48 d 57 65 d 90 32 36 37 43 45 46 47 5 ITF 1 k even number 48 d 57 6 CODABAR 1 k 48 d 57 65 d 68 36 43 45 46 47 58 65 UPC A 11 n 12 48 d 57 66 UPC E 11 n 12 48 d 57 67 JAN13 EAN13 12 n 13 48 d 57 68 JAN8 EAN8 7 n 8 4...

Page 24: ... data as normal data When the bar code system used is JAN8 EAN8 the printer prints the bar code afterreceiving 8 bytes bar code data and processes the following data as normal data The number of data for ITF bar code must be even numbers When an odd number of datais input the printer ignores the last received data n indicates the number of bar code data and the printer processes n bytes from the n...

Page 25: ...er prints an HRI character at the beginning of a string of HRI as the starting HRI character string The printer prints an HRI character at the end of the HRI character string as a string termination character HRI The printer prints HRI characters a literal character as acontrol character 00 H to 1F HAnd 7F H When this printer uses CODE128 please consider the following factors regarding data transf...

Page 26: ...ity 0 48 Normal 203 2dpi 203 2dpi 1 49 Double width 203 2dpi 101 6dpi 2 50 Double height 101 6dpi 203 2dpi 3 51 Quadruple 101 6dpi 101 6dpi dpi dots per 25 4 mm 1 Note xL xH select the number of data bits xL xH 256 in the horizontal direction for the bitimage yL yH select the number of data bits yL yH 256 in the vertical direction for the bitimage In standard mode this command is effective only wh...

Page 27: ...th mm 2 0 250 0 250 0 625 3 0 375 0 375 1 000 4 0 560 0 500 1 250 5 0 625 0 625 1 625 6 0 750 0 750 2 000 Multi level bar codes are as follows UPC A UPC E JAN13 EAN13 JAN8 EAN8 CODE93 CODE128 Binary level bar codes are as follows CODE39 ITF CODABAR Defaults n 3 Reference GS k GSxn Name Setting the left pitch of Bar Code Printing Format ASCII GS xn Hex1D 78 n Decimal29 120 n Description Print barco...

Page 28: ...ts n 0 Reference FS GS FS Name Select Hanzi character mode Format ASCIIFS Hex1C26 Decimal 28 38 Description Select Hanzi character mode Note ForHanzi character When select Chinese character mode the printer handles all the Hanzi code every two bytes In the first byte the second byte of the sequential processing Hanzi code When the power is turned on the printer does not select Chinese character mo...

Page 29: ...2 Hex 1C 53 n1 n2 Decimal 28 83 n1 n2 Range 0 n1 255 0 n2 255 Description Sets left and right side Kanji character spacing n1 and n2 Left side spacing is n1 0 125mm right side spacing is n2 0 125mm Note When double width mode is set the left and right side character spacing istwice the normal value In standard mode this command sets the spacing respectively In standard mode the horizontal motion u...

Page 30: ...zi characters is turned off When the LSB of n is 1 quadruple size mode for Hazji characters is turned on Details Only the lowest bit of n is valid In quadruple size mode the printer prints the same size characters as whendouble width and double height modes are both turned on When quadruple size mode is turned off using this command the followingcharacters are printed in normal size When some of t...

Page 31: ...hen use GS a to enable Automatic Status Back ASB the status transmitted by DLE EOT and the ASB status must be differentiated by using the table in Appendix D This command is valid even when the printer is disabled with ESC Select peripheral device This command is being processed as soon as received by the printer Note The status is transmitted whenever the data sequence of 10 H 04 H n 1 n 4 is rec...

Page 32: ... 2 0 00 0 Top cover close 1 04 4 Top cover open 3 0 00 0 Paper is not being fed by using the FEED button 1 08 8 Paper is beging fed by the FEED button 4 1 10 16 Fixed to On 5 0 00 0 No shortage of paper 1 20 32 Shortage of paper 6 0 00 0 No error 1 40 64 Error occurs 7 0 00 0 Fixed to Off n 3 Error Status Bit 0 1 Hex Decimal Function 0 0 00 0 Fixed to Off 1 1 02 2 Fixed to On 2 Undefined 3 0 00 0 ...

Page 33: ...d voltage of print head is over range 7 0 00 0 Fixed to Off Bit 1 0 Hex Decimal Function 0 0 00 0 Fixed to Off 1 1 02 2 Fixed to On 2 3 0 00 0 Roll paper near end sensor 1 0C 12 Roll paper near end sensor 4 1 10 16 Fixed to On 5 6 0 00 0 Paper present 1 60 96 Paper not present 7 0 00 0 Fixed to Off ...

Reviews: