Bematech LR200M Programming Manual

Bematech LR200M Programming Manual

Mobile thermal receipt printer
Hide thumbs Also See for LR200M:

Advertisement

Quick Links

LR200M Mobile Thermal Receipt Printer
PROGRAMMING MANUAL

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LR200M and is the answer not in the manual?

Questions and answers

Summary of Contents for Bematech LR200M

  • 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...
  • Page 3: Table Of Contents

    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 ...............................
  • Page 5: Overview

    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...
  • Page 7: Command List

    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...
  • Page 10: Command Set Details

    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.
  • Page 11: Dc2 T

    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.
  • Page 13: Esc So N

    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.
  • Page 14: Esc Dc4 N

    LR200M Programming Manual V1.0 ESC DC4 n [Name] Disable Double Width mode [Format] ASCII Decimal [Description] Disable Double Width mode ESC SP n [Name] Set right-side character spacing [Format] ASCII SP n 20 n Decimal 32 n 0 n 255...
  • Page 15: Esc $ Nl Nh

    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.
  • Page 16: Esc % N

    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 18 LR200M Programming Manual V1.0 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 ..
  • Page 19: Esc M Nl Nh D1

    LR200M Programming Manual V1.0 d1 = <1F>H d4 = <08>H d7 = <10>H... d2 = <FF>H d5 = <08>H d8 = <04>H... d3 = <80>H d6 = <00>H d9 = <00>H... ESC m nL nH d1...dk [Name] Select bit-image mode ESC m nL nH d1...dk...
  • 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.
  • Page 21: Esc - N

    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]  n2, 48 n 50 [Description] Turns underline mode on or off, based on the following values...
  • Page 22: Esc ? N

    LR200M Programming Manual V1.0  In standard mode, the vertical motion unit (y) is used. [Default] n = 30 [Reference] ESC 2 ESC ? n [Name] Cancel user-defined characters [Format] ASCII ESC ? n 1B 3F Decimal 27 63 32 n 126...
  • Page 23: Esc 2

    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.
  • Page 24: Esc 8 N1 N2

    LR200M Programming Manual V1.0 [Format] ASCII ESC 7 n1 n2 n3 37 n1 n2 n3 Decimal 55 n1 n2 n3 Set “max heating dots”, ”heating time”, “heating interval” ; [Description] n1 = 0-255 Max printing dots; Unit(8dots); Default:9(80 dots); n2 = 3-255 Heating time; Unit(10us); Default:80(800us);...
  • Page 25: Esc D N1

    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...
  • Page 26: Esc G N

    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.
  • Page 27: Esc R N

    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.
  • Page 28: Esc V N

    LR200M Programming Manual V1.0 Slovenia/Croatia China [Default] n = 0 ESC V n [Name] Turn 90clockwise rotation mode on/off [Format] ASCII ESC V n 56 n Decimal 86 n 0 n 1, 48n 49 [Range] [Description] Turns 90clockwise rotation mode on/off...
  • Page 29: Esc C 5 N

    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 $.
  • Page 30: Esc V N

    LR200M Programming Manual V1.0 0 n 5, 16 n19, n = 255 [Range] [Description] Selects page n from the character code table. Code Page Code Page CP437 [U.S.A., Standard Europe] Thai Katakana CP720[Arabic] CP850 [Multilingual] CP855 CP860 [Portuguese] CP857[Turkish] CP863 [Canadian-French]...
  • Page 31: Fs ! N

    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.
  • Page 33: Fs P N M

    LR200M Programming Manual V1.0 FS p n m [Name] Print NV bit image [Format] ASCII Decimal 112 n 1 n 255 [Range] 0 m3 , 48 m 51 [Description] Prints NV bit image n using the mode specified by m.
  • Page 34: Fs Q N [Xl Xh Yl Yh D1

    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 <FSyH> 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.
  • Page 36: Gs ! N

    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]...
  • Page 37: Gs * X Y D1

    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.
  • Page 38: Gs / M

    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.
  • Page 39: Gs B N

    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.
  • Page 40: Gs L Nl Nh

    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.
  • Page 42: Gs F N

    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.
  • Page 45: Gs R N

    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.
  • Page 46: Gs V 0 M Xl Xh Yl Yh D1

    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.
  • Page 47: Gs W N

    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.
  • Page 48: Gs X N

    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...
  • Page 49: Gs ( K Pl Ph Cn Fn N (Cn=49, Fn=69)

    LR200M Programming Manual V1.0 [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)
  • Page 50: Gs ( K Pl Ph Cn Fn M (Cn=49, Fn=81)

    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).

Table of Contents