Page 1
LR200M Mobile Thermal Receipt Printer PROGRAMMING MANUAL...
Page 2
Bematech was negligent regarding the design or manufacture of the product. Bematech shall not be liable against any damages or problems arising from the use of any options or any consumable products other than those designated as original Bematech products or...
LR200M Programming Manual V1.0 TABLE OF CONTENTS Overview ............................3 Command List ............................ 5 Command Set Details ......................... 8 HT ................................8 LF ................................8 CR ................................9 DC2 T ................................ 9 DLE EOT n ..............................9 ESC SO n ..............................11 ESC DC4 n ..............................
Page 4
LR200M Programming Manual V1.0 ESC R n ..............................25 ESC V n ..............................26 ESC a n ..............................26 ESC c 5 n ..............................27 ESC d n ..............................27 ESC t n ..............................27 ESC v n ..............................28 FS ! n ...............................
LR200M Programming Manual V1.0 Overview The LR200M is a high quality mobile printer using thermal technology for printing. It is compatible with most point-of-sale systems on the market. The LR200M portable printer optimizes the mobile checkout process and helps accelerate business at the Point of Sale.
Page 6
LR200M Programming Manual V1.0 1. Status Indicator 2. Feed Key 3. Battery indicator 4. Power Key 5. Printer top cover 6. USB interface connector 7. Power supply connector 8. Error indicator 9. Printer body 10. Transparent cover 11. Cover opening lever...
A command set describes the behavior of the printer when sequences of bytes are received through the communication interface. The command set available with LR200M is ESC/POS®. It is a standard defined by Seiko Epson Corporation. ESC/POS® commands can be classified as executing or setting.
Page 8
LR200M Programming Manual V1.0 Type Command Name Set the underline dots (0,1,2) ESC - n Select/Cancel user-defined characters ESC % n Select Chinese mode FS & Select character mode FS . Set print mode for Kanji characters Define user-defined characters ESC &...
Page 9
LR200M Programming Manual V1.0 Type Command Name GS ( k pL pH cn Set QR code correction level error fn n1 n2 (fn=69) GS ( k pL pH cn fn m d1…dk Store QR code data in the symbol storage area...
Command Set Details This section presents detailed information about each ESC/POS® command implemented by the LR200M printer. Some terms used in the description of ESC/POS command set need further explanation, as described below. Print buffer: a buffer that stores the image data to be printed.
LR200M Programming Manual V1.0 [Format] ASCII Decimal [Description] Prints the data in the print buffer and feeds one line, based on the cu rrent line spacing. [Note] This command sets the print position to the beginning of the line. [Reference]...
Page 12
LR200M Programming Manual V1.0 [Notes] The status is transmitted whenever the data sequence <10>H<04>H<n> (1 n 4) is received. Example: In ESC m nL nH d1...dk, d1=<10>H, d2=<04>H, d3=<01>H Do not use this command within another command that consists of 2 or more bytes.
LR200M Programming Manual V1.0 Paper present. Printing stopped because of paper out. No error. Error occurred. Not used. Fixed to Off. n = 3: Error status Off/On Decimal Function Not used. Fixed to Off. Not used. Fixed to On. Undefined.
LR200M Programming Manual V1.0 Emphasized mode not selected Emphasized mode selected Double-height mode not selected Double-height mode selected Double-width mode not selected Double-width mode selected Undefined Underline mode off Underline mode on When both double-height and double-width modes are selected, quadruple-size [Notes] characters are printed.
LR200M Programming Manual V1.0 ESC % n [Name] Select/cancel user-defined character set [Format] ASCII ESC % n 25 n Decimal 37 n 0 n 255 [Range] [Description] Selects or cancels the user-defined character set. When the LSB of n is 0, the user-defined character set is canceled.
Page 17
LR200M Programming Manual V1.0 This command can define different user-defined character patterns for each font. To select a font, use ESC !. User-defined characters and a downloaded bit image cannot be defined simultaneously. When this command is executed, the downloaded bit image is cleared.
Page 20
LR200M Programming Manual V1.0 If the value of m is out of the specified range, nL and the data following are [Notes] processed as normal data. The nL and nH indicate the number of dots in the bit image in the horizontal direction.
LR200M Programming Manual V1.0 ESC - n [Name] Set the underline dots (0,1,2) [Format] ASCII ESC - n 2D n Decimal 45 n [Range] n2, 48 n 50 [Description] Turns underline mode on or off, based on the following values...
LR200M Programming Manual V1.0 Only the lowest bit of n is valid. [Notes] This command is enabled only when processed at the beginning of a line in standard mode. This command does not affect printing in page mode.
LR200M Programming Manual V1.0 0 n 47 [Range] [Description] Sets the printing margin space for left side to n characters. [Default] n = 0 ESC D n1...nk NUL [Name] Set horizontal tab positions [Format] ASCII ESC D n1...nk NUL 44 n1...nk 00 Decimal 68 n1...nk 0...
LR200M Programming Manual V1.0 [Description] Turns emphasized mode on or off When the LSB of n is 0, emphasized mode is turned off. When the LSB of n is 1, emphasized mode is turned on. Only the least significant bit of n is enabled.
LR200M Programming Manual V1.0 4D n Decimal 77 n [Range] n = 0, 1, 48, 49 [Description] Selects the character font. Function Character Font A (12× 0, 48 Character Font C (9×17) selected. 1, 49 Character Font B (9×24) selected.
LR200M Programming Manual V1.0 The command is enabled only when processed at the beginning of [Notes] the line in standard mode. This command executes justification in the printing area. This command justifies the space area according to HT or ESC $.
LR200M Programming Manual V1.0 [Description] Transmits printer sensor status. Status information is represented by one-byte of return data. Off/On Decimal Function Offline Online Undefined Paper present Paper out Voltage is normal Voltage >9.5V Undefined Undefined Temperature is normal Temperature >60°...
Page 32
LR200M Programming Manual V1.0 When both double-width and double-height modes are set (including right- and left- [Notes] side character spacing), quadruple-size characters are printed. The printer can underline all characters (including right- and left-side character spacing), but cannot underline the space set by HT and 90° clockwise-rotated characters.
LR200M Programming Manual V1.0 FS p n m [Name] Print NV bit image [Format] ASCII Decimal 112 n 1 n 255 [Range] 0 m3 , 48 m 51 [Description] Prints NV bit image n using the mode specified by m.
LR200M Programming Manual V1.0 ESC , FS q, GS /, GS v 0 [References] FS q n [xL xH yL yH d1...dk]1...[xL xH yL yH d1...dk]n [Name] Define NV bit image [Format] ASCII FS q n [xL xH yL yH d1...dk]1...[ xL xH yL yH d1...dk]n 1C 71 n [xL xH yL yH d1...dk]1...[ xL xH yL yH d1...dk]n...
Page 35
LR200M Programming Manual V1.0 This command is effective when 7 bytes <FSyH> of the command are processed normally. W hen 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.
LR200M Programming Manual V1.0 GS ! n [Name] Select character size [Format] ASCII GS ! n 1D 21 n Decimal 29 33 n 0 n 255 [Range] (1 vertical number of times 8, 1 horizontal number of times 8) [Description]...
LR200M Programming Manual V1.0 Character width selection. See Table 1 below. Table 1 Character Width Selection Table 2 Character Height Selection Decimal Width Decimal Width 1(normal) 1(normal) 2(double-width) 2(double-height) T his command is effective for all characters (alphanumeric and Kanji), except for [Notes] HRI characters.
LR200M Programming Manual V1.0 y specifies the number of dots in the vertical direction. The number of dots in the horizontal direction is x×8; in the vertical direction it is y× [Notes] If x×y is out of the specified range, this command is disabled.
LR200M Programming Manual V1.0 This command is ignored if a downloaded bit image has not been defined. [Notes] In standard mode, this command is effective only when there is no data in the print buffer. This command has no effect in the print modes (emphasized, double-strike, underline, character size, or white/black reverse printing), except for upsidedown printing mode.
LR200M Programming Manual V1.0 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 indicates Human Readable Interpretation. [Notes] HRI characters are printed using the font specified by GS f.
Page 41
LR200M Programming Manual V1.0 Off/On Decimal Status for ASB Undefined . Undefined . ASB is disabled. ASB is enabled. Undefined. If ASB is enabled, the printer transmits the status when this command is executed. [Notes] The printer automatically transmits the status whenever the enabled status changes.
LR200M Programming Manual V1.0 Byte 4: Off/On Decimal Function Not used. Fixed to On. Not used. Fixed to Off. GS f n [Name] Select font for Human Readable Interpretation (HRI) characters [Format] ASCII 66 n Decimal 29 102 n n 1, 48, 49...
Page 43
LR200M Programming Manual V1.0 ASCII n d1...dn n d1...dn Decimal 29 107 n d1...dn 0 m 6 (k and d depend on the bar code system used) [Range] 65 m 73 (n and d depend on the bar code system used) [Description] Selects a bar code system and prints the bar code.
Page 44
LR200M Programming Manual V1.0 [Notes for ] n indicates the number of bar code data bytes, and the printer processes n bytes from the next character data as bar code data. If n is outside the specified range, the printer stops command processing and processes the following data as normal data.
LR200M Programming Manual V1.0 When using CODE128 in this printer, take the following points into account for data transmission: The top of the bar code data string must be the code set selection character (CODE A, CODE B, or CODE C), which selects the first code set.
LR200M Programming Manual V1.0 Paper sensor status (n = 1, 49): Off/On Decimal Status for ASB Undefined. Paper roll end sensor: paper adequate. (0C) (12) Paper roll end sensor: paper near end. Not used. Fixed to Off. Undefined. Not used. Fixed to Off.
LR200M Programming Manual V1.0 This command is not affected by print modes (character size, emphasized, double- strike, upside-down, underline, reverse printing, etc.) for raster bit image. Data outside the printing area is read in and discarded on a dot-by-dot basis.
LR200M Programming Manual V1.0 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 [Default] n = 3 [Reference] GS k GS x n...
LR200M Programming Manual V1.0 GS ( k pL pH cn fn m (cn=49, fn=81) [Name] Print QR Code in symbol storage area [Format] ASCII GS ( k pL pH cn fn m 1D 28 6b pL pH cn fn m...
Page 51
LR200M Programming Manual V1.0 The height and width data of the pattern are in dot units. The decimal values of the height and width data are converted to ASCII character format and sent in order from the MSB. Example.: When the horizontal size is 120 dots, “120” is converted to 3 bytes of data (Hex:31H, 32H, 30H, Decimal:49, 50, 48).
Need help?
Do you have a question about the LR200M and is the answer not in the manual?
Questions and answers