© Copyright 2002-2011 BROTHER INDUSTRIES, LTD. Version 3.12 Model Name: Mobile thermal printer (Western language models) MW-120 MW-120
You can set it so that each character is the same width even if you use a proportional font. However, using a fixed-width font with proport
1-3) Overview of document creation A general overview of document creation is shown below. 11 A Switch command mode (E
12 D Text operations 1. Specify character set Select font (ESC k) Select character code (ESC t) Select int
1-4) Standard flow Standard printing flow [Description] 1) Status request Send a status request (ESC + i + S) 2) Status resp
14 1-4) Status and Error handling 1-4-1) Status information: When your program issues the command “Status request”, MPrint returns basic 32 bytes
15 Series code Series Value General printer type ‘2’ Char (32 Hex) Model code Model Value MW-100 ‘1’ Char (31 Hex) MW-120 / MW-120 TypeF ‘
16 Reserved 06 Hex Discontinue settings. Do not useReserved 07 Hex Discontinue settings. Do not useCarbon copy (2ply) 08 Hex Reserved 09
17 Notice number Name Value Invalid 00 Hex Not used 01 Hex Not used 02 Hex Not used 03 Hex Not used 04 Hex Not used 05 Hex 1-4-2) Error inf
18 b. “Paper empty error” An error status (setting bit 1 in the error information 1 table) is sent to the host device when a printer is aware of a
19 i. “No paper at start point error / Feed error” An error status (setting bit 6 in the error information 2 table) is sent to the host device when
2 Machine Model: MW-120/MW-120 TypeF/MW-140BT TypeE/MW-140BT TypeF/ MW-145BT/MW-260 IMPORTANT - PLEASE READ CAREFULLY
20 Chapter 2. Command information The MPrint range of printers can be updated through firmware updates. These updates can include new commands. Co
21 [Description] ・ Selects the font. n=0 Brougham (better for fixed-width) n=1 Letter Gothic Bold (better for fixed-width) n=2 Brussels (better
22 2-2) Text printing commands ESC 4 Apply italic style [ASCII] ESC 4 [Decimal] 27 52 [Hexadecimal] 1B 34 [Parameters] None [Description] ・
23 ESC G Specify double printing [ASCII] ESC G [Decimal] 27 71 [Hexadecimal] 1B 47 [Parameters] None [Description] ・ Applies the bold style.
24 ESC g Specify micron pitch [ASCII] ESC g [Decimal] 27 103 [Hexadecimal] 1B 67 [Parameters] None [Description] ・ Prints the following data
25 ・ This mode is cancelled using CR, ESC $, ESC \, ESC ( V, ESC ( v. ESC SO Specify auto-cancelling enlarged characters [ASCII] ESC SO [Decima
DC4 Cancel auto-cancelling double-width characters [ASCII] DC4 [Decimal] 20 [Hexadecimal] 14 [Parameters] None [Description] ・ Cancels the double-
27 ESC SP Select character spacing for ANK characters [ASCII] ESC SP n [Decimal] 27 32 n [Hexadecimal] 1B 20 n [Parameters] 0≤n≤127 [Descr
28 [Description] ・ This command is only used to change the size. ・ Underlining must not be specified. ・ Character width cannot be specified. ・ T
29 2-3) Line feed amount commands ESC 0 Specify line feed of 1/8" [ASCII] ESC 0 [Decimal] 27 48 [Hexadecimal] 1B 30 [Parameters] None [
3 Notes for using Bluetooth When you are connecting the machine via Bluetooth, the printer may not start to receive the data immediately after the
2-4) Horizontal movement commands ESC l Specify left margin [ASCII] ESC l n [Decimal] 27 108 n [Hexadecimal] 1B 6C n [Parameters] 0 ≤ n ≤ 25
CR Carriage return [ASCII] CR [Decimal] 13 [Hexadecimal] 0D [Parameters] None [Description] ・ Concludes the input of one line, and waits for input o
32 ・ Moves the horizontal print position from the position where HT was entered to the next nearest horizontal tab position to the right. ESC $
33 2-5) Vertical movement commands LF Line feed [ASCII] LF [Decimal] 10 [Hexadecimal] 0A [Parameters] None [Description] ・ The print position is
34 ESC J Forward paper feed [ASCII] ESC J n [Decimal] 27 74 n [Hexadecimal] 1B 4A n [Parameters] 0 ≤ n ≤ 255 [Description] ・ Ends input
VT Apply vertical tab [ASCII] VT [Decimal] 11 [Hexadecimal] 0B [Parameters] None [Description] ・ Moves the print position from the position where
36 ESC ( V Specify absolute vertical position [ASCII] ESC ( V nL nH mL mH [Decimal] 27 40 86 nL nH mL mH [Hexadecimal] 1B 28 56 nL nH mL mH [P
37 2-6) Paper formatting ESC ( c Specify page format [ASCII] ESC ( c nL nH tL tH bL bH [Decimal] 27 40 99 nL nH tL tH bL bH [Hexadecimal] 1B
38 2-8) Graphics commands ESC * Select bitmap image [ASCII] ESC * m n1 n2 data [Decimal] 27 42 m n1 n2 data [Hexadecimal] 1B 2A m n1 n2 dat
39 ESC K 8-dot bitmap image (standard density) [ASCII] ESC K n1 n2 data [Decimal] 27 75 n1 n2 data [Hexadecimal] 1B 4B n1 n2 data [Parameter
4 Table of contents Chapter 1. General Information...
40 ESC Z 8-dot bitmap image (quadruple density) [ASCII] ESC Z n1 n2 data [Decimal] 27 90 n1 n2 data [Hexadecimal] 1B 5A n1 n2 data [Parameter
41 2-9) Advanced commands ESC i B Bar code [ASCII] ESC i [parameter] B or b [bar code data] backslash [Decimal] 27 105 [parameter
42 B or b: Beginning of bar code data ? (generate check digit) Generates a check digit when “?” is in the bar code data The position of “?”
43 ESC i Q Print QR Code * [ASCII] ESC i Q or q [parameter] [bar code data] \\\ [Decimal] 27 105 81 or 113 [parameter] [bar code data] 92 92 9
44 3. Structured append defines if you have split the data into sets or not. Please input “0” if you have not split and “1” if you have split the d
45 Numeric – N or n Alphanumeric – A or a 2-byte code (Kanji characters) – K or k Binary input – B or b + 4 digit numbers The 4 digit numbers
46 ESC i V Print PDF417 code* [ASCII] ESC i V or v [Parameters] [2D bar code data] \\\ [Decimal] 27 105 86 or 118 [Parameters] [2D bar code
47 [Bar code data]: maximum bar code data size: It is 1,850 characters of alphanumeric, 2,710 characters of numeric or 1,108 bytes of binary to inp
48 ** The 2D code below is supported by MW-145BT and MW-260. ESC i D Print DataMatrix code** [ASCII] ESC i D or d [Parameters] [2D code data] \\
49 [Decimal 1 byte] 0 [Decimal 1 byte] 18 [Decimal 1 byte] 32 [Decimal 1 byte] 26 [Decimal 1 byte] 36 [Decimal 1 byte] 36 [Decimal 1 byte]
5 Chapter 1. General Information 1-1) About this Manual This manual explains how to control the Brother MPrint series of mobile printers (hereaft
50 ESC i F Print downloaded data [ASCII] ESC i F P n [Decimal] 27 105 70 80 n [Hexadecimal] 1B 69 46 50 n [Parameters] MW-120, MW-120 Type
51 [Description] ・ Requests the printer status. ESC i L Select landscape orientation [ASCII] ESC i L n [Decimal] 27 105 76 n [Hexadecimal]
52 Chapter 3. Appendix 3-1) Control code Lists Character/style selection ESC R 1B 52 Select international character set ESC q 1B 71 Select cha
53 Horizontal movement ESC l 1B 6C Specify left margin ESC Q 1B 51 Specify right margin CR 0D Carriage return ESC D 1B 44 Specify horizontal
54 Advanced commands ESC i B 1B 69 42 Bar code ESC i Q 1B 69 51 2D bar code (QR code) * ESC i V 1B 69 56 2D bar code (PDF417) * ESC i D 1B 69
55 3-2) Character table Standard character code table for ESC/P codes 0 1 2 3 4 5 6 7 8 9 A B C D E F0 SP 0 @ P ` p Ç É á ░ └ α 1 !
56 Eastern European character code table (Windows-1250) 0 1 2 3 4 5 6 7 8 9 A B C D E F0 SP 0 @ P ` p € tˇ ° Ŕ Đ ŕ đ 1 ! 1 A Q a q À
57 Western European character code table (Windows 1252) 0 1 2 3 4 5 6 7 8 9 A B C D E F0 SP 0 @ P ` p € ° À Ð à ð 1 ! 1 A Q a q ~ ‘ ¡
58 International character set Compatible characters in each language when the international character set is switched n 23 24 40 5B 5C 5D 5E 60
1-2) Paper size and printable area information Brother MPrint is able to output to A7 size or A6 size thermal paper. The MW-120, MW-140BT and MW-145
Carbon copy paper (C-51 / C-251) A7 size information (C-51): Position Description Size(mm) Size(dots) A Paper width 74 874 B Paper length 105 1
1-3) Character and text information MPrint has 5 bitmap font styles, “Brougham”, “Letter Gothic Bold”, “Brussels”, “Helsinki” and “San Diego”, and 3
Detailed font width information With a “fixed-width” font each character is the same width as all other characters. In a “Proportional” font
Commenti su questo manuale