background image

LR1100 Programming Manual V1.2 

 

 

Request 

Recover from an error and restart printing from the line where the error occurred

 

Recover from an error at clearing the receive and print buffers

 

[Notes] 



This command is effective only when an auto cutter error, a black mark detecting 
error or a platen-open error occurs. 



The printer starts processing data upon receiving this command. 



This command is executed even when the printer is offline, the receive buffer is full, 
or there is an error status with a serial interface model. 



With a parallel interface model, this command cannot be executed when the printer 
is busy.  



The status is also transmitted whenever the data sequence of <10>H<05>H<n> (1 





2) is received. 

 

Example: 

 

In 

ESC 



m nL

 

nH

 

dk

, d1 = <10>H, d2 = <05>H, d3 = <01>H 



This command should not be contained within another command that consists of 
two or more bytes. 

 

Example: 

 

If you attempt to transmit 

ESC 3 n 

to the printer, but DTR (DSR for the host 

computer) goes to MARK before n is transmitted, and 

DLE ENQ 2 

interrupts before 

n is received, the code <10>H for 

DLE ENQ 2 

is processed as the code for 

ESC 3 

<10>H. 



DLE ENQ 2 

enables the printer to recover from an error after clearing the data in 

the receive buffer and the print buffer. The printer retains the settings (by

ESC !

ESC 3

, etc.) that were in effect when the error occurred. The printer can be 

initialized completely by using this command and 

ESC @

. This command is 

enabled only for errors that have the possibility of recovery, except for print head 
temperature error. 

[Reference]  

DLE EOT 

 
DLE DC4 n m t 

[Name] 

Generate pulse at real-time 

[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





[Description] 

Outputs the pulse specified by t to connector pn m as follows: 

Connector pin 

Drawer kick-out connector pin2 

Drawer kick-out connector pin5 

Содержание LR1100

Страница 1: ...LR1100 POS THERMAL PRINTER PROGRAMMING MANUAL...

Страница 2: ...d create a situation where personal injury or material damages may occur In the events described above Bematech and its officers administrators employees subsidiaries affiliates and dealers shall not...

Страница 3: ...Command Set Details 9 HT 9 LF 10 CR 10 DLE EOT n 10 DLE ENQ n 12 DLE DC4 n m t 13 ESC SP n 14 ESC n 14 ESC nL nH 15 ESC n 16 ESC y c1 c2 x1 d1 d y x1 xk d1 d y xk 16 ESC m nL nH d1 dk 19 ESC n 21 ESC...

Страница 4: ...m 31 ESC 9 n 32 FS p n m 32 FS q n xL xH yL yH d1 dk 1 xL xH yL yH d1 dk n 33 GS n 36 GS x y d1 d x y 8 37 GS m 38 GS B n 38 GS I n 39 GS H pl pH fn m d1 d2 d3 d4 fn 48 40 GS H n 40 GS L nL nH 41 GS V...

Страница 5: ...xL xH yL yH dxL dxH dyL dyH 60 GS nL nH 62 GS nL nH 62 SPECIAL PRINTING COMMANDS 63 ESC Z m n k dL dH d1 dn 63 GS Z n 64 GS k pL pH cn fn n cn 48 fn 65 64 GS k pL pH cn fn n cn 48 fn 66 64 GS k pL pH...

Страница 6: ...49 fn 67 70 GS k pL pH cn fn n cn 49 fn 69 70 GS k pL pH cn fn m d1 dk cn 49 fn 80 71 GS k pL pH cn fn m cn 49 fn 81 71 GS k pL pH cn fn m cn 49 fn 82 71 GS A pL pH n m 72 GS F pL pH a m nL nH 73 GS F...

Страница 7: ...High print quality Low noise printing Supports cash drawer kick out Low power consumption and operation cost Supports printing of different density bitmap Emulation ESC POS command set 1 2 I O connec...

Страница 8: ...Command LF Print and line feed CR Print and carriage return HT JMP to the next TAB position ESC D n Set horizontal tab positions ESC J n Print and Feed n dots paper ESC d n Print and Feed n lines ESC...

Страница 9: ...aracter set ESC t n Select character code table Bit Image Command ESC Select bit image mode GS Define downloaded bit image GS Print downloaded bit image GS v Print the bitmap with width and height FS...

Страница 10: ...eturn to standard mode in page mode ESC L Select page mode ESC S Select standard mode ESC T Select print direction in page mode ESC W Set printing area in page mode ESC Z Print 2D barcode FS W Turn qu...

Страница 11: ...he maximum space available for printing The printable area under ESC POS for LR1100 is specified by horizontal direction 72mm or 2 84 Printing area a value set by the command It must be always less th...

Страница 12: ...is disabled this command is ignored Notes This command line feed is ignored with a serial interface model Sets the print starting position to the beginning of the line Reference LF DLE EOT n Name Rea...

Страница 13: ...r there is an error status with a serial interface model When Auto Status Back ASB is enabled using the GS a command the status transmitted by the DLE EOT command and the ASB status must be differenti...

Страница 14: ...printing is stopped due to high print head temperature until the print head temperature drops sufficiently or when the paper roll cover is opened during printing n 4 Continuous paper sensor status Bit...

Страница 15: ...r command that consists of two or more bytes Example If you attempt to transmit ESC 3 n to the printer but DTR DSR for the host computer goes to MARK before n is transmitted and DLE ENQ 2 interrupts b...

Страница 16: ...that consists of 2 or more bytes This command is effective even when the printer is disabled with ESC Select peripheral device Reference ESC p ESC SP n Name Set right side character spacing Format ASC...

Страница 17: ...ardless of the character size When some characters in a line are double or more height all the characters in the line are aligned at the baseline ESC M can also select character font type However the...

Страница 18: ...the LSB of n is 1 the user defined character set is selected Notes When the user defined character set is canceled the built in character set is automatically selected n is available only for the leas...

Страница 19: ...to print a dot or 0 not to print a dot This command can define different user defined character patterns for each font To select a font use ESC or ESC M User defined characters and a downloaded bit i...

Страница 20: ...LR1100 Programming Manual V1 2 d1 0F H d4 30 H d7 40 H d2 03 H d5 80 H d8 40 H d3 00 H d6 00 H d9 20 H When font B 9 17 is selected...

Страница 21: ...255 0 nH 3 0 d 255 Description Selects a bit image mode using m for the number of dots specified by nL and nH as follows m Mode Vertical Direction Horizontal Direction Number of Dots Dot Density Dot...

Страница 22: ...the printing cannot exceed the maximum printable area The width of the printing area is extended to the right to accommodate the amount of data If step does not provide sufficient width for the data t...

Страница 23: ...mode 2 dots thick Notes The printer can underline all characters including right side character spacing but cannot underline the space set by HT The printer cannot underline 90 clockwise rotated char...

Страница 24: ...51 n Range 0 n 255 Description Sets the line spacing to n vertical motion unit If result is less than 3 0 mm then line spacing is set to 3 0 mm Notes The line spacing can be set independently in stand...

Страница 25: ...ted by ESC If a user defined characters have not been defined the printer ignores this command Reference ESC ESC ESC Name Initialize printer Format ASCII ESC Hex 1B 40 Decimal 27 64 Description Clears...

Страница 26: ...gs 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 is processed as normal data Transmit n k in ascending o...

Страница 27: ...on Notes Only the lowest bit of n is enabled Printer output is the same in double strike mode and in emphasized mode Default n 0 Reference ESC E ESC J n Name Print and feed paper Format ASCII ESC J n...

Страница 28: ...nt types However the setting of the last received command is effective Reference ESC ESC R n Name Select an international character set Format ASCII ESC R n Hex 1B 52 n Decimal 27 82 n Range 0 n 13 De...

Страница 29: ...ot underline 90 clockwise rotated characters Double width and double height commands in 90 rotation mode enlarge characters in the opposite directions from double height and double width commands in n...

Страница 30: ...n selects the justification as follows n Justification 0 48 Left justification 1 49 Centering 2 50 Right justification Notes The command is enabled only when processed at the beginning of the line in...

Страница 31: ...ines Notes This command sets the print starting position to the beginning of the line This command does not affect the line spacing set by ESC 2 or ESC 3 The maximum paper feed amount is 1016 mm 40 in...

Страница 32: ...Cyrillic 32 WCP1254 Turkish 7 CP866 Cyrilliec 2 33 WCP1255 Hebrew 8 MIK Cyrillic Bulgarian 34 WCP1256 Arabic 9 CP755 East Europe Latvian 2 35 WCP1258 Vietnam 10 Iran 36 ISO 8859 2 Latin 2 11 reserve...

Страница 33: ...ting mode is turned on Notes Only the lowest bit of n is valid This command is enabled only when processed at the beginning of a line in standard mode This command does not affect printing in page mod...

Страница 34: ...Decimal 28 112 n m Range 1 n 255 0 m 3 48 m 51 Description Prints NV bit image n using the mode specified by m m Mode Vertical Dot Density Horizontal Dot Density 0 48 Normal 203 2 dpi 203 2 dpi 1 49 D...

Страница 35: ...is not printed This command feeds dots for the height n of the NV bit image in normal and double width modes and for the height n 2 of the NV bit image in doubleheight and quadruple modes regardless...

Страница 36: ...bytes FS yH of the command are processed normally When the amount of data exceeds the capacity left in the range defined by xL xH yL yH the printer processes xL xH yL yH out of the defined range In th...

Страница 37: ...eived during macro definition the printer ends macro definition and begins performing this command Once an NV bit image is defined it is not erased by performing ESC reset and power off This command p...

Страница 38: ...Character Height Selection Hex Decimal Width Hex Decimal Width 00 0 1 normal 00 0 1 normal 10 16 2 double width 01 1 2 double height 20 32 3 02 2 3 30 48 4 03 3 4 40 64 5 04 4 5 50 80 6 05 5 6 60 96...

Страница 39: ...d 255 Description Defines a downloaded bit image using the number of dots specified by x and y x specifies the number of dots in the horizontal direction y specifies the number of dots in the vertica...

Страница 40: ...r size or white black reverse printing except for upsidedown printing mode If the downloaded bit image to be printed exceeds the printable area the excess data is not printed If the width of the print...

Страница 41: ...mand does not affect the space between lines White black reverse mode has a higher priority than underline mode Even if underline mode is on it is disabled but not canceled when white black reverse mo...

Страница 42: ...2 d3 d4 Range pl pH 256 6 pl 6 pH 0 Fn 48 m 48 32 d 126 Description Saves the process ID specified by d1 d2 d3 d4 for the data processed immediately before this function GS H n Name Select printing po...

Страница 43: ...d is effective only when processed at the beginning of the line in standard mode If the setting exceeds the printable area the maximum value of the printable area is used Default nL 0 nH 0 Reference G...

Страница 44: ...L nH Name Set printing area width Format ASCII GS W nL nH Hex 1D 57 nL nH Decimal 29 87 nL nH Range 0 nL 255 0 nH 255 Description Sets the printing area width to the area specified by nL and nH The pr...

Страница 45: ...right to accommodate one line vertical for the bit image within the printable area If the printing area width cannot be extended sufficiently the left margin is reduced to accommodate one vertical lin...

Страница 46: ...B of m 0 The macro executes r times continuously at the interval specified by t When the LSB of m 1 After waiting for the period specified by t the PAPER OUT LED indicators blink and the printer waits...

Страница 47: ...o disabled If the ASB is enabled as a default the printer transmits the status when the printer data reception and transmission are possible at the first time from when the printer is turned on The fo...

Страница 48: ...m d1 dk NUL GS k m n d1 dn Name Print bar code Format ASCII GS k m d1 dk NUL Hex 1D 6B m d1 dk 00 Decimal 29 107 m d1 dk 0 ASCII GS k m n d1 dn Hex 1D 6B m n d1 dn Decimal 29 107 m n d1 dn Range 0 m 6...

Страница 49: ...f bar code data and processes the following data as normal data The number of data for the ITF bar code must be even numbers When an odd number of bytes of data is input the printer ignores the last r...

Страница 50: ...HT 09 9 I EM 19 25 Y LF 0A 10 J SUB 1A 26 Z VT 0B 11 K ESC 1B 27 A FF 0C 12 L FS 1C 28 B CR 0D 13 M GS 1D 29 C SO 0E 14 N RS 1E 30 D SI 0F 15 O US 1F 31 E DEL 7F 127 T When CODE128 m 73 is used When u...

Страница 51: ...00 H to 1F H and 7F H are space Others Be sure to keep spaces on both right and left sides of a bar code Spaces are different depending on the types of the bar code Reference GS H GS f GS h GS w GS r...

Страница 52: ...his command Therefore bits 2 and 3 do not transmit the status of paper end Reference DLE EOT GS a GS v 0 m xL xH yL yH d1 dk Name Print raster bit image Format ASCII GS v 0 m xL xH yL yH d1 dk Hex 1D...

Страница 53: ...ead in and discarded on a dot by dot basis The position at which subsequent characters are to be printed for raster bit image is specified by HT Horizontal Tab ESC Set absolute print position ESC Set...

Страница 54: ...N8 CODE93 CODE128 Binary level bar codes are as follows CODE39 ITF CODABAR Default n 3 Reference GS k GS x n Name Set barcode printing left space Format ASCII GS x n Hex 1D 78 n Decimal 29 120 n Descr...

Страница 55: ...idth and double height modes are set including right and left side character spacing quadruple size characters are printed The printer can underline all characters including right and left side charac...

Страница 56: ...the following values of n n Function 0 48 Turns off underline mode for Kanji characters 1 49 Turns on underline mode for Kanji characters 1 dot thick 2 50 Turns on underline mode for Kanji characters...

Страница 57: ...2 c1 c2 d1 dk Decimal 28 50 c1 c2 d1 dk Range c1 and c2 indicate character codes for the defined characters Model type c1 c2 Chinese kanji supporting model c1 FEH A1H c2 FEH 0 d 255 k 32 slip k 72 pap...

Страница 58: ...2 0 125 mm Notes This command sets the left and right side character spacing for normal sized characters When double width mode is set the left and right side character spacing is twice the normal val...

Страница 59: ...on When quadruple size mode is turned off using this command the following characters are printed in normal size When some of the characters on a line are different in height all the characters on the...

Страница 60: ...eafter are processed in page mode Executing an ESC FF command prints the received data collectively and executing an FF command restores the printer to standard mode after the received data is printed...

Страница 61: ...by ESC W This command switches the settings for the following commands in which the values can be set independently in standard mode and page mode to those for page mode Set right side character spaci...

Страница 62: ...n Range 0 n 3 48 n 51 Description Selects the print direction and starting position in page mode n specifies the print direction and starting position as follows n Print Direction Starting Position 0...

Страница 63: ...data as normal data If the printing area width or height is set to 0 the printer stops command processing and processes the following data as normal data This command sets the position where data is...

Страница 64: ...by ESC T When the starting position is set to the upper left or lower right this command sets the absolute position in the vertical direction When the starting position is set to the upper right or l...

Страница 65: ...A m n k dL dH d1 dn Decimal 27 90 m n k dL dH d1 dn Application PDF417 barcode and QR CODE only Description PDF417 barcode printing m specifies column number of 2D barcode 1 m 30 n specifies security...

Страница 66: ...etting of this function affect the processing of functions 81 and 82 When auto processing n 0 is selected the maximum number of columns in the data area is 30 columns The following data is not include...

Страница 67: ...xecuted the printer is reset or the power is turned off GS k pL pH cn fn n cn 48 fn 68 Function Set PDF417 row height Format ASCII GS k pL pH cn fn n Hex 1D 28 6B pL pH cn fn n Decimal 29 40 107 pL pH...

Страница 68: ...r correction codeword 48 Error correction level 0 2 49 Error correction level 1 4 50 Error correction level 2 8 51 Error correction level 3 16 52 Error correction level 4 32 53 Error correction level...

Страница 69: ...pL pH cn fn m d1 dk Decimal 29 40 107 pL pH cn fn m d1 dk Range 4 pL pH 256 65 535 pL 255 pH 255 cn 48 fn 80 m 48 0 d 255 k pL pH 256 3 Description Store PDF417 symbol data d1 dk in the symbol storag...

Страница 70: ...ern o Indicator codeword of left and right o The descriptor of symbol length the first codeword in the data area o The error correction codeword calculated by modulus 929 o Pad codeword When auto proc...

Страница 71: ...to 5 Delimiter 1F 31 1 Fixed Value 31 49 1 Delimiter 1F 31 1 Other information 30 or 31 48 or 49 1 NUL 00 0 1 The height and width data of the pattern are in dot units The decimal values of the height...

Страница 72: ...n n Range pL 3 pH 0 cn 49 fn 67 1 n 16 Default n 3 Description Set QR Code module size to n dots n dots GS k pL pH cn fn n cn 49 fn 69 Name Set QR Code error correction level Format ASCII GS k pL pH c...

Страница 73: ...t QR Code in symbol storage area Format ASCII GS k pL pH cn fn m Hex 1D 28 6b pL pH cn fn m Decimal 29 40 107 pL pH cn fn m Range pL 3 pH 0 cn 49 fn 81 m 48 Description Print QR Code from data stored...

Страница 74: ...the horizontal size is 120 dots 120 is converted to 3 bytes of data Hex 31H 32H 30H Decimal 49 50 48 Other information data transmission Hex 30H Decimal 48 indicates that the data is printable Hex 31...

Страница 75: ...ned before this command is executed such as user defined characters downloaded bit image and macro becomes undefined The printer cuts the paper at the end of the test print The printer goes BUSY while...

Страница 76: ...tored once in the reception buffer there may be a delay between the reception of the command from the reception buffer to the actual operation Reference FF GS FF GS V GS FF Name Feed black marked pape...

Страница 77: ...o the left 2 50 Align left Adds spaces to the right Notes If n or m is out of the defined range the previously set print mode is not changed If n 0 m does not have any meaning Default n 0 m 0 Referenc...

Страница 78: ...n number specified by r is cleared Defaults aL 1 aH 0 bL 255 bH 255 n 1 r 1 Reference GS C 0 GS C 2 GS C GS c GS C 2 nL nH Name Set counter Format ASCII GS C 2 nL mH Hex 1D 43 32 nL mH Decimal 29 67 5...

Страница 79: ...ue and sb is the maximum counter value If counting up reaches a value exceeding the maximum it is resumed with the minimum value If the counter value set by sc is outside the counter operation range t...

Страница 80: ...counter value in the print buffer is printed when the printer receives a print command or is in the buffer full state The counter print mode is set by GS C 0 The counter mode is set by GS C1 or GS C...

Отзывы: