©Copyright 2010 BROTHER INDUSTRIES, LTD. ESC/P commands Version 1.20 Model Name Specifications Study: TD-4000/4100N Brother Industries, Ltd.
Machine Model: TD-4000/TD-4100N IMPORTANT - PLEASE READ CAREFULLY This documentation (“Documentation”) gives you information that will assist you in controlling your Machine Model. You may use the Documentation only if you first agree to the following conditions. If you do not agree to the following conditions, you may not use the Documentation. Condition of Use You may use and reproduce the Documentation to the extent necessary for your own use of your Machine Model (“Purpose”).
[Contents] Control Code List ................................................................................................................ 7 Print area........................................................................................................................... 10 Characters ......................................................................................................................... 12 Print position................................................................................
・ Line feed commands ................................................................................................ 39 ESC 0 Specify line feed of 1/8 inch ..................................................................... 39 ESC 2 Specify line feed of 1/6 inch ..................................................................... 39 ESC 3 Specify minimum line feed...................................................................... 39 ESC A Specify line feed of n/60 inch...............................
ESC i V 2D bar code PDF417 ............................................................................. 77 ESC i D 2D bar code DataMatrix control........................................................... 80 ESC i M 2D bar code MaxiCode control............................................................. 83 ESC i F Print downloaded data.......................................................................... 85 ESC i a Switch command mode....................................................................
Introduction This material provides the necessary information for directly controlling TD-4000/4100N. This information is provided assuming that the user has full understanding of the operating system being used and basic mastery of RS-232C, USB or Ethernet in a developer's environment.
Control Code List Character/style selection ESC R ESC q ESC k ESC t 1B 52 1B 71 1B 6B 1B 74 Select international character set Select character style Select font Select character code table 1B 34 1B 35 1B 45 1B 46 1B 47 1B 48 1B 50 1B 4D 1B 67 1B 70 1B 57 0E 1B 0E 0F 1B 0F 12 14 1B 2D 1B 21 1B 20 1B 58 Apply italic style Cancel italic style Apply bold style Cancel bold style Apply double-strike printing Cancel double-strike Specify pica pitch (10 cpi) Specify elite pitch (12 cpi) Specify micron pitch S
Horizontal direction movement ESC l ESC Q CR ESC D HT ESC $ ESC \ ESC a 1B 6C 1B 51 0D 1B 44 09 1B 24 1B 5C 1B 61 Specify left margin. Specify right margin.
Advanced commands ESC i B ESC i Q ESC i P ESC i V ESC i D ESC i M ESC i F ESC i a ESC i S ESC i L ESC i C 1B 69 42 1B 69 51 1B 69 50 1B 69 56 1B 69 44 1B 69 4D 1B 69 46 1B 69 61 1B 69 53 1B 69 4C 1B 69 43 Bar code 2D bar code QR codes QR code version setting 2D bar codes PDF417 2D bar code data matrix 2D bar code MaxiCode Print downloaded data Switch command mode Request printer status Select landscape orientation Specify cutting Advanced static commands ESC iXQ2 ESC iXQ1 ESC iXk2 ESC iXk1 ESC iXX2 ESC i
Print area The printing media are die-cut labels and continuous length label. The area that can physically be printed on depends on the size and type of the print media.
Below are the print areas for each media Print area 2 Label length ○ 9 Label spacing ○ 7 Label width Height of printable range 1 Thermal head ○ ○ 3 Top margin ○ Printable range No.1296 4 Bottom margin ○ 5 Left margin ○ 8 Length of printable range ○ 6 Right margin ○ No.001 Media ID. 1 ○ 2 ○ 50.8mm 25.6mm 3○ 4 ○ 3mm 7 ○ 8 ○ 47.8mm 9 ○ 1 RD 51mm×26mm 01A6 2 RD 76mm×26mm 01A5 76.2mm 25.6mm 1.5mm 3mm 73.2mm 3 RD 102mm×50mm 01A3 101.6mm 49.9mm 1.5mm 3mm 98.
Characters This system uses single-byte character codes and is installed with five bit-map fonts (Brougham, Letter Gothic bold, Brussels, Helsinki, and San Diego), and 3 out-line fonts (Letter Gothic, Brussels and Helsinki). Fixed pitch or proportional pitch (PS pitch) can be specified for any of the fonts. However, there are fonts that are better with a fixed pitch and fonts that are better with a proportional pitch (PS pitch). Fixed pitch fonts are: Brougham, Letter Gothic and Letter Gothic Bold.
Character sizes Each font is available in full size, reduced size (half width), double width, double height and half width, double height, and quadruple size. Full size Half width Double height and half width Double width Double height Quadruple size The actual character size is slightly smaller than the nominal size (the parameter value received with the size command). (This varies depending on the font.
Pitch Pitch refers to the spacing between neighboring characters. When characters are arranged with a fixed pitch, they will be evenly spaced. If characters extend over several lines, they will align in straight rows. abc a Fixed spacing b c Fixed spacing When characters are arranged with a proportional pitch, the spacing will vary depending on the character. (For example, "W" is wide but "I" is narrow.
Print position The print position is the standard position for printing characters, bitmaps, and bar codes. There is a horizontal print position and vertical print position, which are the reference points for vertical position movement and horizontal position movement. Characters are arranged with their top edges aligned with the print position. The baseline of each character is the bottom edge of the character, regardless of size, font, etc.
Bitmaps, bar codes, downloaded images These types of image data are treated in the same way as characters and are printed with the bottom edge of the image aligned with the baseline. Same line ・Characters and images are considered to be on the same line, even if tabs are inserted. ・Horizontal movement to the right between characters or images is regarded as being on the same line, however horizontal movement to the left is regarded as being on separate lines if wrapping occurs.
Line feed amount The amount of line feed is the amount of vertical movement from the print position of one line to the print position of the next line. HHHHHHHHHHHHH HHHHHHHHHHHHH Line feed amount HHHHHHHHHHHHH The line feed amount is set with ESC 0, ESC 2, ESC A, and ESC 3. ・Within the same line of text, the tallest character is determined and the baseline is moved so that the top edge of that character is at the vertical print position. ・The tallest character on that line becomes the line height.
Document creation flow Below is an explanation of the flow for creating documents. A Switch command mode (ESC i a) Initialize (ESC @) B Format Settings 1. Select landscape orientation (ESC i L) 2. Specify page length (ESC ( C) 3. Specify print area Specify page format (ESC ( c) Left/right margins (ESC I, ESC Q) 4. Specify line feed amount (ESC 0, ESC 2, ESC 3, ESC A) 5. Specify tab positions Specify horizontal tab position (ESC D) Specify vertical tab position (ESC B) C Print Operations 1.
D Text operations 1. Specify character set Select font (ESC k) Select character code (ESC t) Select international character set (ESC R) Specify character size (ESC X) Character spacing (ESC P, ESC M, ESC g, ESC SP) 2. Character style (ESC 4, ESC 5, ESC E, ESC F, ESC G, ESC H, ESC W, SO, ESC SO, SI, ESC SI DC2, DC4, ESC -, ESC !) 3. Character code Repeat 1–3 above as necessary.
Control command details Character/style selection commands ESC R Select international character set [ASCII] ESC R n 27 82 n [Decimal] [Hexadecimal] 1B 52 n [Parameters] 0 ≤ n ≤ 13,64 [Description] ・Selects the international character set and changes some of the character codes in the code table according to the value of n. n=0: U.S.A. n=1: France n=2: Germany n=3: U.K.
ESC q Select character style [ASCII] ESC [Decimal] [Hexadecimal] [Parameters] qn 27 113 n 1B 71 n 0≤n≤3 [Description] ・Selects the character style.
ESC k Select font [ASCII] ESC k [Decimal] n 27 107 n [Hexadecimal] [Parameters] 1B 6B n 0 ≤ n ≤ 4, 9 ≤ n ≤ 11 [Description] ・Selects the font.
Text printing commands ESC 4 Apply italic style [ASCII] ESC 4 [Decimal] 27 52 [Hexadecimal] [Parameters] 1B 34 None [Description] ・Applies italic character style. ・This command is valid anywhere in a text line. ESC 5 Cancel italic style [ASCII] ESC 5 [Decimal] 27 53 [Hexadecimal] [Parameter] 1B 35 None [Description] ・Cancels italic character style. ・This command is valid anywhere in a text line.
ESC E Apply bold style [ASCII] ESC E [Decimal] 27 69 [Hexadecimal] 1B 45 [Parameters] None [Description] ・Prints subsequent print data bold. ・This command is valid anywhere in a text line. ESC F Cancel bold style [ASCII] ESC F [Decimal] 27 70 [Hexadecimal] 1B 46 [Parameters] None [Description] ・Cancels the bold style. ・This command is valid anywhere in a text line.
ESC G Apply double-strike printing [ASCII] ESC G [Decimal] 27 71 [Hexadecimal] 1B 47 [Parameters] None [Description] ・Prints subsequent print data bold. ・This command is valid anywhere in a text line. ESC H Cancel double-strike printing [ASCII] ESC H [Decimal] 27 72 [Hexadecimal] 1B 48 [Parameters] None [Description] ・Cancels bold style. ・This command is valid anywhere in a text line.
ESC P Specify pica pitch [ASCII] ESC P [Decimal] 27 80 [Hexadecimal] 1B 50 [Parameters] None [Description] ・Prints subsequent data with pica pitch (10 characters/inch). ・The character spacing is 30 dots (=300 dots/10 characters). ・If the character width is 30 dots or less, the character spacing is set to 30 minus the character width. ・If the character width exceeds 30 dots, the character spacing is set to the character width. (The space between characters is 0 dot.
ESC M Specify elite pitch [ASCII] ESC M [Decimal] 27 77 [Hexadecimal] 1B 4D [Parameters] None [Description] ・Prints subsequent data with elite pitch (12 characters/inch). ・Character width is 25 dots (=300 dots/12 characters). ・If the character width is 25 dots or less, the character spacing is set to 25 minus the character width. ・If the character width exceeds 25 dots, character spacing is set to character width. (Character spacing is 0 dot.
ESC g Specify micron pitch [ASCII] ESC g [Decimal] 27 103 [Hexadecimal] 1B 67 [Parameters] None [Description] ・Prints subsequent data with micron pitch (15 characters/inch). ・Character spacing is 20 dots (=300dots/15 characters). ・If the character width is 20 dots or less, character spacing is set to 20 minus the character width. ・If the character width exceeds 20 dots, character spacing is set to character width. (The character spacing is 0 dot.
ESC p Specify proportional characters [ASCII] ESC p n [Decimal] 27 112 n [Hexadecimal] 1B 70 n [Parameters] n=0,1,48(“0”),49(“1”) [Description] ・Specifies proportional characters. ・n=1 or 49(“1”) applies proportional characters. ・n=0 or 48(“0”) cancels proportional characters. ・When proportional characters are specified, the character spacing set with ESC SP is retained as is.
ESC W Specify double width characters [ASCII] [Decimal] [Hexadecimal] ESC W n 27 87 n 1B 57 n [Parameters] n=0,1 or 48(“0”),49(“1”) [Description] ・Specifies double-width characters. ・n = 1 or 49(“1”) specifies double-width characters. ・n = 0 or 48(“0”) cancels double-width characters. ・Double-width characters specified with this code is not cancelled with the DC4 or FS DC4 code or line feed. ・Canceling double width characters mode will also cancel half width mode.
SO Specify auto-cancelling enlarged characters [ASCII] SO [Decimal] 14 [Hexadecimal] 0E [Parameters] None [Description] ・Prints subsequent data at double width. ・This mode is cancelled with DC4, LF, VT, FF, or an automatic line feed. ・This mode is cancelled with ESC $ or ESC \. ・This mode can also be cancelled with ESC W+0.
SI Specify reduced characters [ASCII] SI [Decimal] 15 [Hexadecimal] 0F [Parameters] None [Description] ・ Prints subsequent data at half width. ESC SI Specify reduced characters [ASCII] ESC SI [Decimal] 27 15 1B 0F [Hexadecimal] [Parameters] None [Description] ・Same as SI DC2 Cancel reduced characters [ASCII] DC2 [Decimal] 18 [Hexadecimal] 12 [Parameters] None [Description] ・Cancels reduced characters specified with SI.
DC 4 Cancel auto-cancelling double-width characters [ASCII] DC4 [Decimal] 20 [Hexadecimal] 14 [Parameters] None [Description] ・Cancels double-width characters specified with ESC SO or SO. ・Does not cancel a setting made with ESC W.
ESC – Applies/cancels underlining [ASCII] ESC - [Decimal] 27 n 45 n [Hexadecimal] 1B 2D n [Parameters] n=0,1,2,3,4 or 48(“0”),49(“1”),50(“2”),51(“3”),52(“4”) [Description] Applies or cancels underlining. . n = 4 or 52(“4”) applies 4-dot-wide underlining. . n = 3 or 51(“3”) applies 3-dot-wide underlining. . n = 2 or 50(“2”) applies 2-dot-wide underlining. . n = 1 or 49(“1”) applies 1-dot-wide underlining. . n = 0 or 48(“0”) cancels underlining. . This command is valid anywhere in a text line. .
[Example] Code ABC ESC - 1 ABC ESC - 0 ABC FF Print result ABCABCABC 35
ESC ! Global formatting [ASCII] ESC ! n 27 33 n [Decimal] [Hexadecimal] 1B 21 n [Parameters] 0 ≤ n ≤ 255 [Description] ・Specifies a combination of print modes. ・Specifies modes depending on the bit value of n. ・When the ESC ! code is used, a combination of multiple print modes can be specified at one time. ・The priority order is: Bit 5 > Bit 2 ・Bit 0 is available only if Bit 1 is 0. ・Selected character styles are canceled, and the characters return to the normal style.
ESC SP Specify character spacing [ASCII] ESC SP n [Decimal] 27 32 n [Hexadecimal] 1B 20 n [Parameters] 0 ≤ n ≤ 127 [Description] ・Specifies the character spacing. ・n indicates the number of dots. ・The default setting is 0 dot. ・With double-width characters, the character spacing is doubled, with half-width characters, it is halved.
ESC X Specify character size [ASCII] ESC X m nL nH [Decimal] 27 88 m nL nH [Hexadecimal] 1B 58 m nL nH [Parameters] Character width : The value of m is irrelevant. character size: nL = 24, 32, 48 dots Available only when nH=0 nL=33, 38, 42, 46, 50, 58, 67, 75, nL=83, 92, 100, 117, 133, 150, nL=167, 200 233 nH =0 nL=11, 44, 77, 111, 144 Available only when nH = 1 [Description] ・This command is used only to change the size. ・Outline must not be specified.
Line feed commands ESC 0 Specify line feed of 1/8 inch [ASCII] ESC 0 [Decimal] 27 48 [Hexadecimal] 1B 30 [Parameters] None [Description] . Specifies a line feed of 1/8 inch (about 0.32 cm). . Specifies a line feed of 38/300 inch (= 38 dots). ESC 2 Specify line feed of 1/6 inch [ASCII] [Decimal] [Hexadecimal] [Parameters] ESC 2 27 50 1B 32 None [Description] . Specifies a line feed of 1/6 inch (about 0.42 cm). . Specifies a line feed of 50/300 inch (= 50 dots).
ESC A Specify line feed of n/60 inch [ASCII] [Decimal] [Hexadecimal] [Parameters] ESC A n 27 65 n 1B 41 n 0 ≤ n ≤ 255 [Description] ・Specifies a line feed of n/60 inch. ・The line feed unit is 5 dots.
Horizontal direction movement commands ESC l Specify left margin [ASCII] ESC [Decimal] [Hexadecimal] l n 27 108 n 1B 6C n [Parameters] 0 ≤ n ≤ 255 0 ≤ left margin < right margin [Description] ・The left margin and the right margin use the left edge of the physically printable area as the reference. ・The space between the left edge of the physically printable area and the set number of columns is set as an unprinted area. The left margin position is the right edge of the specified column.
Left edge Columns ・ ・ 1 2 Left margin position 3 4 5 6 7 8 Unprinted area Right margin position 9 10 11 12 13 14 Print area Left margin setting Right margin setting Printable area Example: Left margin = Column 5; right margin = Column 14 42 15 16 Unprinted area
・The horizontal direction print position is moved to the left margin position. ・If the left margin setting is not at the beginning of the line, the left margin is set after a line feed. The beginning of the line indicates the left margin position for left alignment; for right and center alignment, it means that no image or character is entered on the line. ・Even if the character width is changed after the left margin is set, the left margin position does not change.
ESC Q Specify right margin [ASCII] ESC [Decimal] 27 [Hexadecimal] Q n 81 1B n 51 n [Parameters] 1≤n≤255 Left margin < character width * n at time of setting ≤ printable area [Description] ・The left margin and the right margin use the left edge of the physically printable area as the reference. ・The right margin position is the right edge of the set column. (Character width * n) ・The setting is in the range 0 ≤ (character width * n) ≤ x. ettings outside that range are ignored.
・When proportional pitch is specified with the ESC p command, a character width of 10 cpi (= 30 dot) is applied. ・If the print media is continuous length label, the print direction is landscape, and the page length is not specified, commands specifying the right margin are ignored.
CR Carriage return [ASCII] CR [Decimal] 13 [Hexadecimal] 0D [Parameters] None [Description] ・Finalizes the input of a line and waits for input of the next line. ・The next print position is the beginning of the next line. ・A line feed command immediately after the carriage return is ignored. Specifying auto-cancelling double-width characters with SO or ESC SO is cancelled. ・Same processing as LF.
ESC D Specify horizontal tab position [ASCII] ESC D [n] k NUL [Decimal] 27 68 [n] k 0 [Hexadecimal] 1B 44 [n] k 00h [Parameters] 1≤n≤255 0≤k≤32 [Description] ・The position of the horizontal tab is the character width * n (at the time that the horizontal tab is set) from the left margin. ・Enter n values in ascending order and end the setting with NUL. ・If an n value is smaller than the previous one, the tab setting is finished.
Left edge Left margin position ・ 1 Column 2 3 Tab position Tab position Right margin position 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 3 4 5 6 7 8 9 10 11 12 13 14 ・ HT code ・ HT code Unprinted area Printable area Unprinted area Example: After the left margin is set to Column 3 and the right margin to Column 15, horizontal tabs are set at Column 5 and Column 10, and an HT is performed.
ESC $ Specify absolute horizontal position [ASCII] ESC $ n1 n2 [Decimal] 27 36 n1 n2 [Hexadecimal] 1B 24 n1 n2 [Parameters] 0≤n1≤255 ,0≤n2≤255 [Description] ・Specifies in dots the absolute print position for the next data. ・An absolute print position specifies the next print position as the number of dots from the left margin. ・n1 and n2 indicate the number of dots from the left margin. (Number of dots = n1 + 256*n2) ・The dot spacing is calculated as 1/300 inch.
ESC a Specify alignment [ASCII] ESC a n [Decimal] 27 97 n [Hexadecimal] [Parameters] 1B 61 n 0≤n≤3 or “0”≤n≤“3” [Description] ・The data is printed aligned as follows according to the value of n. n=0 or 48(“0”) specifies left alignment n=1 or 49(“1”) specifies center alignment n=2 or 50(“2”) specifies right alignment n=3 or 51(“3”) specifies nothing ・The default setting is n = 0. ・Data is aligned between the left and right margins with CR, LF, and FF code input and buffer printing.
Vertical movement commands LF Line feed [ASCII] LF [Decimal] 10 [Hexadecimal] 0A [Parameters] None [Description] ・Feeds the paper by the amount set with the commands specifying the line feed amount (ESC 0, ESC 2, ESC 3, ESC A). ・The print position moves to the beginning of the next line. ・The default value is a 48-dot line feed. ・When a carriage return comes immediately after a line feed, the carriage return is ignored.
ESC J Forward paper feed [ASCII] [Decimal] [Hexadecimal] [Parameters] ESC J n 27 74 n 1B 4A n 0≤n≤255 [Description] ・Ends input for the current line and moves the vertical print position forward by n/300 inch (=1 dot). ・If the bottom margin setting is exceeded, printing starts. ・With left alignment, the print position for the next line is the end position of the current line. (The horizontal position does not move to the left margin.
ESC B Specify vertical tab position [ASCII] ESC B [n] k NUL [Decimal] 27 66 [n] k 0 [Hexadecimal] 1B 42 [n] k 00h [Parameters] 1≤n≤255 0≤k≤16 [Description] ・The position of the vertical tab is the line feed amount * n (at the time that the vertical tab is set) from the top margin. ・Enter n values in ascending order and end the setting with NUL. ・If an n value is smaller than the previous one, the tab setting is finished. ・Up to 16 vertical tabs can be set.
VT Apply vertical tab [ASCII] VT [Decimal] 11 [Hexadecimal] 0B [Parameters] None [Description] ・Moves the print position to the nearest vertical tab position down from the input position. ・The next horizontal print position is the beginning of the line. ・If the next vertical tab position exceeds the bottom margin, or if there is no vertical tab position set below the current position, performing a VT is equal to performing an FF.
ESC (V Specify absolute vertical position [ASCII] ESC ( [Decimal] V nL nH mL mH 27 40 86 nL nH mL mH [Hexadecimal] 1B 28 56 nL nH mL mH [Parameters] nL=2 nH=0 0≤mL≤255 0≤mH≤127 [Description] ・Specifies the vertical print position as an absolute position from the top margin position. Vertical position = mL + mH * 256 + top margin ・The absolute vertical position is measured from the top margin position at the time. ・If a position exceeding the bottom margin is specified, printing starts.
ESC (v Specify relative vertical position [ASCII] ESC ( [Decimal] v nL nH mL mH 27 40 118 nL nH mL mH [Hexadecimal] 1B 28 76 nL nH mL mH [Parameters] nL=2 nH=0 0≤mL≤255 0≤mH≤127 -16384 ≤(mL+mH * 256)≤16383 [Description] ・Specifies the vertical print position as a relative position from the current position. Vertical position after movement = mL + mH * 256 + current position ・When moving upwards, the specified value is expressed as a 2's complement. It is determined by the following equation.
Paper formatting ESC (c Specify page format [ASCII] [Decimal] [Hexadecimal] [Parameters] ESC ( c nL nH tL tH BL BH 27 40 99 nL nH tL tH BL BH 1B 28 63 nL nH tL tH BL BH nL=4,nH=0 (tL + tH * 256)<(BL + BH * 256) Top margin < bottom margin [Description] ・Specifies settings for the top and bottom margins. ・The physically printable area depends on the media. The top margin and the bottom margin are set in units of 1/300 inch (= 1 dot) using the top edge of the physically printable area as the reference.
ESC (C Specify page length [ASCII] [Decimal] [Hexadecimal] [Parameters] ESC ( C nL nH mL mH 27 40 67 nL nH mL mH 1B 28 43 nL nH mL mH nL=2,nH=0 0<(mL+mH * 256)<12000 [Description] ・Specifies the page length. ・ The unit is 1/300 inch (= 1 dot). Page length = mL + mH * 256 ・The current paper position is set as the TOF. ・The top and bottom margins are deleted with ESC ( c. ・All text content before this is cleared. ・The standard unit is not used.
Printer control commands ESC @ Initialize [ASCII] [Decimal] [Hexadecimal] [Parameters] ESC @ 27 64 1B 40 None [Description] ・This returns all commands to their default values. (See the note below.
Graphics commands ESC * Select bit image [ASCII] ESC [Decimal] 27 [Hexadecimal] * m n1 n2 Data 42 m n1 n2 Data 1B 2A m n1 n2 Data [Parameters] m=0,1,2,3,4,6,32,33,38,39,40,71,72,73 0≤n1≤255, 0≤n2≤11 The image data is n1 + n2*256 bytes when m = 0,1,2,3,4,6; (n1+n2*256)*3 bytes when m = 32,33,38,39,40 (n1+n2*256)*6 bytes when m = 71,72,73 [Description] ・Selects and outputs a bit image according to the value of m. ・n1 and n2 indicate the number of dot positions.
When m=0, 1, 2, 3, 4, 6 ・n1 and n2 indicate the number of dot positions. n1: the remainder from dividing the number of dot positions by 256 n2: the quotient from dividing the number of dot positions by 256 B7 B6 B5 B4 B3 B2 B1 B0 Relationship between the image data and the dots ・First, the data is lined up in one row as follows: … 1byte 1byte 1byte 1byte 1byte 1byte MSB LSB n1+n2*256 byte ・One dot of the image data is enlarged as follows according to the value of m.
When m = 32, 33, 38, 39, 40 ・n1 and n2 indicate the number of dot positions. n1: the remainder from dividing the number of dot positions by 256 n2: the quotient from dividing the number of dot positions by 256 1st byte B 7 B 6 B 5 B 4 2nd byte B 3 B 2 B 1 B 0 B 7 B 6 B 5 B 4 B 3 3rd byte B 2 B 1 B 0 B 7 B 6 . . . . . . . . . . . . . . . .
. One dot of the image data is enlarged as follows according to the value of m.
When m = 71, 72, 73 ・n1 and n2 indicate the number of dot positions. n1: the remainder from dividing the number of dot positions by 256 n2: the quotient from dividing the number of dot positions by 256 1st byte B 6 B 5 B 4 B 3 B 2 B 1 B 0 B 7 B 6 B 5 B 4 B 3 B 2 6th byte B 1 B 0 B 7 B 6 . . . . . . . . . . . . . . . .
・First, the data is lined up in three rows as follows: 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte 1byte … 1byte 1byte … 1byte LSB … 1byte MSB 1byte LSB 1byte MSB 1byte LSB 1byte MSB … 1byte LSB 1byte MSB … 1byte LSB 1byte MSB … 1byte LSB 1byte MSB (n1+n2*256)*6 byte . One dot of the image data is enlarged as follows according to the value of m.
n1: the remainder from dividing the number of dot positions by 256 n2: the quotient from dividing the number of dot positions by 256 B7 B6 B5 B4 B3 B2 B1 B0 Relationship between the image data and the dots ・First, the data is lined up in one row as follows: … 1byte 1byte 1byte 1byte 1byte 1byte MSB LSB n1+n2*256 byte ・One dot of image data is enlarged to 6 dots vertically by 6 dots horizontally. ・As a result, the image is 48 dots vertically by (n1 + n2 *256) * 6 dots horizontally.
ESC L 8-dot double-density bit image [ASCII] ESC L n1 n2 Data [Decimal] [Hexadecimal] 27 76 n1 n2 Data 1B 4C n1 n2 Data [Parameters] 0≤n1≤255,0≤n2≤3 The data contains n1 + n2 * 256 byte image data. [Description] Specifies that an 8-dot double-density bit image is printed with the number of dot positions indicated by n1 and n2. ・n1 and n2 are specified in the same way as for ESC K.
ESC Y 8-dot double-speed double-density bit image [ASCII] ESC Y n1 n2 Data [Decimal] 27 [Hexadecimal] 89 n1 n2 Data 1B 59 n1 n2 Data [Parameters] 0≤n1≤255,0≤n2≤3 The data contains n1 + n2 * 256 byte image data. [Description] ・Same as for an 8-dot double-density bit image. Horizontally neighboring dots are not omitted.
Advanced commands ESC i B Bar code [ASCII] ESC [Decimal] i [Parameters] B or b [Bar code data] Backslash 27 105 [Parameters] 66 or 98 [Bar code data] 92 [Hexadecimal] 1B 69 [Parameters] 42 or 62 [Bar code data] 5C [Parameters] 1 [Parameters]: Bar code parameters T or t (type) t0 : CODE39 t1 : ITF(I-2/5) t5 : EAN-8,EAN-13,UPC-A t6 : UPC-E t9 : CODABAR ta : CODE128 tb : GS1-128(UCC/EAN-128) tc : RSS symbols s (style) Ignored p (number of passes) Ignored R or r (characters below bar
62 ≤ height ≤ 1296 (RSS Limited) 134 ≤ height ≤ 1296 (RSS Expanded) If height < min., height = min. If height > max., height = max. (A bar code with a large number of stacked rows may be considered out of specifications and unreadable by the reader.
・The parameter “parentheses deletion” is available only when GS1-128(UCC/EAN-128) is selected. ・The parameter “ratio between thick and thin bars” is available only when t0, t1 or t9 is selected. ・The parameter “equalize bar lengths” is available only when t5 or t6 is selected. ・When another type is selected, these parameters are ignored. ・When there is no type command or an invalid type command is specified, CODE39 is set.
ESC i [Parameter] B or b [Bar code data] \\\ [Description] ・This specifies a bar code image. ・Any data exceeding the right margin is ignored. ・Since the check digit is generated automatically from the bar code data, the check digit is not sent as bar code data. Since the bar code data is also checked, the data would not be correctly recognized if the check digit data was present.
ESC i Q 2D Bar code QR codes [ASCII] ESC i [Decimal] Q 27 105 [Hexadecimal] 1B 69 or q Data 81 or 113 Data 51 71 Data or ・Format ESC i Q or q [Parameters] [Bar code data] 1 ① 2 \\\ 3 Parameters Unlike with 1D bar codes, it is necessary to specify all parameters from the top down. If a value other than those listed is entered for a parameter, that parameter is set to its default value. 1.
<> Supplement What is the QR code linkage setting? With QR codes, there are linkage settings. A long character string can be partitioned into 2 to 16 partitions and printed. With the ESC/P command, it is necessary to input only the number of partitions.
・With linkage. [Three partitions] (The parity for the character string “123456789" is 0x31.) ESC i Q 0x04 ESC i Q 0x04 ESC i Q 0x02 0x01 0x01 0x03 0x31 0x02 0x00 “123” \\\ \\\ 0x04 0x02 0x01 0x03 0x03 0x31 0x02 0x00 “789” \\\ 0x02 0x01 0x02 0x03 0x31 0x02 0x00 “456” 2 [Bar code data]: Bar code data When manual input is selected in 8 (data input method of the parameters), the bar code data must be preceded with one of the following single-byte alphanumeric characters.
ESC i P QR code version setting [ASCII] ESC [Decimal] 27 i P n 105 80 n [Hexadecimal] 1B 69 50 n [Parameters] 0≤n≤40 [Description] ・The barcode size can be fixed. ・The default value is “0”. ・The available versions differ depending on the symbol type used. If a setting other than those listed is specified, the setting returns to its default. The following settings are available for each symbol type.
ESC i V 2D bar code PDF417 [ASCII] ESC i [Decimal] [Hexadecimal] V or v Data 27 105 86 or 118 Data 1B 69 56 76 Data or ・Format ESC i V or v [Parameters] 1 ① [Bar code data] \\\ 2 3 Parameters Unlike with 1D bar codes, it is necessary to specify all parameters from the top down. If a value other than those listed is entered for a parameter, that parameter is set to its default value. 1.
8. Aspect value [Decimal 2 bytes] 1–1000 Inputs the aspect value. Actually, this is 0.01–10.0, but since the decimal point can not be entered, 100x the value is entered. The default value is 50. (Actual value of 0.5) *Notes: - When the Symbol size X specification or the symbol size specification is input, Aspect value is ignored. - When the Symbol size X specification or the symbol size specification is input, sometimes bar cord is not printed or unreadable barcode is printed.
[With symbol type MicroPDF417] Maximum of 250 alphanumeric characters, maximum of 366 numbers, maximum of 150 bytes of binary data However, the following table shows the maximum amount of information allowed according to symbol size X specification and symbol size Y specification.
ESC i D 2D bar code DataMatrix control [ASCII] ESC I [Decimal] 27 D or d 68 or 100 data or 64 105 [Hexadecimal] 1B 69 44 data data ・ Format ESC i D or d [Parameters] [Bar code data] 1 ① 2 \\\ 3 Parameters Unlike with 1D bar codes, it is necessary to specify all parameters from the top down. If a value other than those listed is entered for a parameter, that parameter is set to its default value. 1.
[Decimal 1 byte] 104 [Decimal 1 byte] 120 [Decimal 1 byte] 132 [Decimal 1 byte] 144 Vertical no. of cells: Vertical no. of cells: Vertical no. of cells: Vertical no. of cells: ● ECC200 rectangular Vertical no. of cells: AUTO Vertical no. of cells: 8 cells Vertical no. of cells: 12 cells Vertical no. of cells: 16 cells [Decimal 1 byte] 0 [Decimal 1 byte] 8 [Decimal 1 byte] 12 [Decimal 1 byte] 16 4.
*Note: The numbers of characters that can be entered (as listed above) are for the maximum vertical × horizontal cell settings (144 cells × 144 cells). The number of characters that can be entered may decrease, depending on the specified settings. ③ \\\: End of bar code There must be three backslashes at the end of 2D bar codes. Sample input For data “12345” with symbol type ECC square at 40 × 40 with a 3-dot cell size, the command will be as shown below.
ESC i M 2D bar code MaxiCode control [ASCII] ESC i M or m data [Decimal] 27 105 77 or 109 data [Hexadecimal] 1B 69 4D or 6D data • Format ESC i M or m [Parameters] \ [Bar code data] 1 ① 2 3 \\\ 4 Parameters If a value other than those listed is entered for a parameter, that parameter is set to its default value. 1. Symbol type [Decimal 1 byte] 0 [Decimal 1 byte] 1 [Decimal 1 byte] 2 2.
separated by a backslash and comma (\,), immediately before the normal data. \,\,\, When “\,” is not used three times, the data is written as shown in the following example. Example \,\, Postal code = data1 Country code = data2 Service class = default value If a value other than those listed is entered for a parameter, that parameter is set to its default value.
ESC i F Print downloaded data [ASCII] [Decimal] [Hexadecimal] ESC i F Pn 27 105 70 80 n 1B 69 46 50 n [Parameters] n :file header index 0≤n≤98 [Description] ・Expands downloaded data in the print buffer as image data. ・Expands downloaded image data from the print position. ・If there is no image data, this command is ignored. Must be downloaded beforehand Image file (.
・As with text, if the image data does not all fit on the current line, an automatic line feed is performed, and the data is placed at the beginning of the next line. At that time, the section exceeding the print area is deleted. Abcdefg Abcdefg 1. Enter text. Abcdefg 2. Enter downloaded image after an automatic line feed. Example: 3. Since the image does not fit, it is pasted in after an automatic line feed. Normal size Abc Abc Abc 3.
・If the result of pasting in the downloaded image exceeds the bottom margin position, it is pasted in after a page feed. However, if the downloaded image is larger than the entire area between the top and bottom margins, the entire image is ignored. Abcdefg Abcdefg Abcdefg WLMBGOr WLMBGOr Dabfdifpdzra Dabfdifpdzra BGHJgmfg BGHJgmfg gfdslrt gfdslrt 1. Enter text. 2. Enter downloaded image. 3. Since the image does not fit, it is pasted in after an automatic page feed.
・There are limits on the amount of image data that can be stored in the main unit. The size of the storage area is 2048 KB. However, bitmap data is not stored as is, but is converted into the main unit storage format by the transfer manager. ・Image data larger than the media size is handled by deleting the portion of the image that does not fit into the size of the media. The portion of image data deleted depends on the media orientation.
ESC i a Switch command mode [ASCII] [Decimal] [Hexadecimal] ESC i an 27 105 97 n 1B 69 61 n [Parameters] n :Command mode 0 or 48 = ESC/P standard mode 1 or 49 = Raster graphics 3 or 51 = P-touch Template mode [Description] ・Sets the command mode to ESC/P, P-touch Template and PTCBP (raster graphics). ・These three modes can be switched dynamically. ・Since this is a dynamic command, after the unit is turned off and on again, the setting returns to the previously set value.
ESC i S Request printer status [ASCII] ESC [Decimal] i S 27 105 83 [Hexadecimal] 1B 69 53 [Parameters] None [Description] ・Requests the printer status. The printer status comprises 32 bytes.
Error information 1 Flag Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Mask 0x01 0x02 0x04 0x08 0x10 0x20 0x40 0x80 Meaning No media error Media end error Cutter jam error Not used Main unit in use Power Off Not used Fan motor error Error information 2 Flag Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7 Mask 0x01 0x02 0x04 0x08 0x10 0x20 0x40 0x80 Meaning Media change error Buffer full error Communication error Image generation error Cover open error Not used Leading edge detection error System erro
ESC i L Select landscape orientation [ASCII] ESC i Ln [Decimal] 27 105 76 n [Hexadecimal] 1B 69 4C n [Parameters] n=0, 1 or 48, 49 [Description] ・Specifies and cancels the landscape orientation ・When n = 1 or 49 ("1"), the landscape orientation is specified. ・When n = 0 or 48 ("0"), the landscape orientation is cancelled. ・When this command is executed, all text is cleared. ・Set the paper orientation with this command before creating text. ・When the unit is turned on, landscape orientation is off.
ESC i C Specify cutting [ASCII] ESC i C [Decimal] 27 105 67 n 1B 69 43 n [Hexadecimal] n [Parameters] n=0,1 or 48,49 [Description] ・Specifies the cutting after printing. ・When n = 1 or 49 ("1"), cutting is specified. ・When n = 0 or 48 ("0"), cutting is cancelled. ・The default auto cut setting can be changed with the P-touch Template Settings Tool (P-touch Template Settings.exe). ・The number of auto cut copies can be specified with the P-touch Template Settings Tool (P-touch Template Settings.exe).
ESC iXQ2 Select default character style [ASCII] ESC i X Q [Decimal] 27 105 88 [Hexadecimal] 1B 58 51 [Parameters] n1:01h (Fixed) 69 81 2 n1 n2 50 n3 n1 n2 32 n1 n2 n3 n3 n2:00h (Fixed) 00h≤ n3≤04h [Description] ・Selects the default character style. n3=00h: Cancel (normal characters) *Manufacturer’s default n3=01h: Bold n3=02h: Outline n3=03h: Shadow n3=04h: Shadow and outline ・This command is a static command.
ESC iXQ1 Retrieve default character style [ASCII] ESC i X Q [Decimal] 27 105 88 [Hexadecimal] 1B 58 51 [Parameters] n1:00h (Fixed) 69 81 1 n1 n2 49 n1 n2 31 n1 n2 n2:00h (Fixed) [Description] ・The default character style setting is returned as 3-byte data. [1]:01h (Fixed) [2]:00h (Fixed) [3]:Setting 00h: Cancel (normal characters) 01h: Bold 02h: Outline 03h: Shadow 04h: Shadow and outline ・The retrieved value is a value specified by a static command.
ESC iXk2 Select default font [ASCII] ESC i X k [Decimal] 27 105 88 107 [Hexadecimal] 1B 58 6B 32 n1 [Parameters] n1:01h (Fixed) 69 2 n1 n2 50 n1 n3 n2 n2 n3 n3 n2:00h (Fixed) 00h≤ n3≤04h, 09h≤ n3≤0Bh [Description] ・Selects the default font.
ESC iXk1 Retrieve default font [ASCII] ESC i X k [Decimal] 27 105 88 107 [Hexadecimal] 1B 58 6B 31 n1 [Parameters] n1:00h (Fixed) 69 1 n1 n2 49 n1 n2 n2 n2:00h (Fixed) [Description] ・The default font setting is returned as 3-byte data.
ESC iXX2 Specify default character size [ASCII] ESC i X X 2 n1 n2 [Decimal] 27 105 88 [Hexadecimal] 1B 58 58 [Parameters] n1:02h (Fixed) 69 88 50 n3 n1 n2 32 n1 n2 n4 n3 n4 n3 n4 n2:00h (Fixed) 00h≤ n3≤FFh 00h≤ n4≤01h [Description] ・Specifies the default character size. n3+(n4*256): Default character size (dots) ・The following settings (dots) are valid.
ESC iXX1 Retrieve default character size [ASCII] ESC i X X 1 n1 n2 [Decimal] 27 105 88 [Hexadecimal] 1B 58 58 [Parameters] n1:00h (Fixed) 69 88 49 n1 n2 31 n1 n2 n2:00h (Fixed) [Description] ・The default character size setting is returned as 4-byte data. [1]: 02h (Fixed) [2]: 00h (Fixed) [3, 4]: n3 n4 Settings n3+(n4*256): Default character size (dots) ・The retrieved value is a value specified by a static command.
ESC iX32 Specify default line feed [ASCII] ESC i X 3 [Decimal] 27 105 88 [Hexadecimal] 1B 58 33 [Parameters] n1:02h (Fixed) 69 2 n1 n2 51 50 n3 n1 n2 32 n1 n2 n4 n3 n4 n3 n4 n2:00h (Fixed) 00h≤ n3≤FFh 00h≤ n4≤04h [Description] ・Specifies the default line feed. n3+(n4*256): Default line feed (dots) (0 through 1275) *The manufacturer’s default is 48. ・This command is a static command.
ESC iX31 Retrieve default line feed [ASCII] ESC i X 3 [Decimal] 27 105 88 [Hexadecimal] 1B 58 33 [Parameters] n1:00h (Fixed) 69 1 n1 n2 51 49 n1 n2 31 n1 n2 n2:00h (Fixed) [Description] ・The default line feed setting is returned as 4-byte data. [1]: 02h (Fixed) [2]: 00h (Fixed) [3, 4]: n3 n4 Settings n3+(n4*256): Default line feed (dots) ・The retrieved value is a value specified by a static command.
ESC iXA2 Select default alignment [ASCII] ESC i X A 2 [Decimal] 27 105 88 [Hexadecimal] 1B 58 41 [Parameters] n1:01h (Fixed) 69 65 n1 n2 50 n3 n1 n2 32 n1 n2 n3 n3 n2:00h (Fixed) 00h≤ n3≤02h [Description] ・Selects the default alignment. n3=00h: Left alignment *Manufacturer’s default n3=01h: Center alignment n3=02h: Right alignment ・This command is a static command.
ESC iXA1 Retrieve default alignment [ASCII] ESC i X A 1 [Decimal] 27 105 88 [Hexadecimal] 1B 58 41 [Parameters] n1:00h (Fixed) 69 65 n1 n2 49 n1 n2 31 n1 n2 n2:00h (Fixed) [Description] ・The default alignment setting is returned as 3-byte data. [1]:01h (Fixed) [2]:00h (Fixed) [3]:Setting 00h: Left alignment 01h: Center alignment 02h: Right alignment ・The retrieved value is a value specified by a static command.
ESC iX(2 Specify default page length [ASCII] ESC i X ( [Decimal] 27 105 88 [Hexadecimal] 1B 58 28 [Parameters] n1:02h (Fixed) 69 2 n1 n2 40 50 n3 n1 n2 32 n1 n2 n4 n3 n4 n3 n4 n2:00h (Fixed) 00h≤ n3≤FFh 00h≤ n4≤2Eh [Description] ・Specifies the default page length. n3+(n4*256): Default page length (dots) (0, 229 through 11999) *A default page length of 0 indicates the Auto setting. *The manufacturer’s default is 0. ・This command is a static command.
ESC iX(1 Retrieve default page length [ASCII] ESC i X ( [Decimal] 27 105 88 [Hexadecimal] 1B 58 28 [Parameters] n1:00h (Fixed) 69 1 n1 n2 40 49 n1 n2 31 n1 n2 n2:00h (Fixed) [Description] ・The default page length setting is returned as 4-byte data. [1]: 02h (Fixed) [2]: 00h (Fixed) [3, 4]: n3 n4 Settings n3+(n4*256): Default page length (dots) *A default page length of 0 indicates the Auto setting. ・The retrieved value is a value specified by a static command.
ESC iXL2 Select default landscape orientation [ASCII] ESC i X L 2 [Decimal] 27 105 88 [Hexadecimal] 1B 58 4C [Parameters] n1:01h (Fixed) 69 76 n1 n2 50 n3 n1 n2 32 n1 n3 n2 n3 n2:00h (Fixed) 00h≤ n3≤01h [Description] ・Selects the default landscape orientation setting. n3=00h: Cancel landscape orientation *Manufacturer’s default n3=01h: Apply landscape orientation ・This command is a static command.
ESC iXL1 Retrieve default landscape orientation [ASCII] ESC i X L 1 [Decimal] 27 105 88 [Hexadecimal] 1B 58 4C [Parameters] n1:00h (Fixed) 69 76 n1 n2 49 n1 n2 31 n1 n2 n2:00h (Fixed) [Description] ・The default landscape orientation setting is returned as 3-byte data. [1]:01h (Fixed) [2]:00h (Fixed) [3]:Setting 00h: Cancel landscape orientation 01h: Apply landscape orientation ・The retrieved value is a value specified by a static command.
ESC iXj2 Select default international character set [ASCII] ESC i X j [Decimal] 27 105 88 106 [Hexadecimal] 1B 58 6A 32 [Parameters] n1:01h (Fixed) 69 2 n1 n2 50 n1 n1 n3 n2 n2 n3 n3 n2:00h (Fixed) 00h≤ n3≤0Dh, 40h [Description] ・Selects the default international character set. n3=00h: U.S.A. *Manufacturer’s default n3=01h: France n3=02h: Germany n3=03h: U.K.
ESC iXj1 Retrieve default international character set [ASCII] ESC i X j [Decimal] 27 105 88 106 [Hexadecimal] 1B 58 6A 31 [Parameters] n1:00h (Fixed) 69 1 n1 n2 49 n1 n1 n2 n2 n2:00h (Fixed) [Description] ・The default international character set setting is returned as 3-byte data. [1]:01h (Fixed) [2]:00h (Fixed) [3]:Setting 00h: U.S.A. 01h: France 02h: Germany 03h: U.K.
ESC iXm2 Select default character code table [ASCII] ESC i X m 2 n1 n2 [Decimal] 27 105 88 109 n1 [Hexadecimal] 1B 58 6D [Parameters] n1:01h (Fixed) 69 50 n3 n2 32 n1 n3 n2 n3 n2:00h (Fixed) n3:00h, 01h, 02h [Description] ・Selects the default character code table. n3=00h: Standard character code table *Manufacturer’s default n3=01h: Eastern European character code table n3=02h: Western European character code table ・This command is a static command.
ESC iXm1 Retrieve default character code table [ASCII] ESC i X m 1 n1 n2 [Decimal] 27 105 88 109 n1 [Hexadecimal] 1B 58 6D [Parameters] n1:00h (Fixed) 69 49 n2 31 n1 n2 n2:00h (Fixed) [Description] ・The default character code table setting is returned as 3-byte data.
Character codes Standard character code table for ESC/P codes 0 1 2 3 4 5 6 7 8 9 A B C D E 0 SP 0 @ P ` p Ç É á ░ └ α 1 ! 1 A Q a q ü æ í ▒ ┴ β 2 ” 2 B R b r é Æ ó ▓ ┬ 3 # 3 C S c s â ô ú │ ├ 4 $ 4 D T d t ä ö ñ ┤ ─ 5 % 5 E U e u à ò Ñ 6 & 6 F V f v å û a ¯ 7 ’ 7 G W g w ç ù o ¯ 8 ( 8 H X h x ê ÿ ¿ © ╚ 9 ) 9 I Y i y ë Ö ® ╣ ╔ ┘ A * : J Z j z è Ü € ║ ╩ ┌ Ω B + ;
Eastern European character code table (Windows-1250) 0 1 2 3 4 5 6 7 8 9 0 SP 0 @ P ` p € tˇ 1 ! 1 A Q a q À ‘ 2 " 2 B R b r , 3 # 3 C S c s 4 $ 4 D T d 5 % 5 E U 6 & 6 F 7 ’ 7 8 ( 9 A B C D E F ° Ŕ Đ ŕ đ ˇ ± Á Ń á ń ’ ˘ ˛ Â Ň â ň ˇ L “ Ł ł Ă Ó ă ó t „ ” ¤ ´ Ä Ô ä ô e u … • Ą µ Ĺ Ő ĺ ő V f v † – | ¶ Ć Ö ć ö G W g w ‡ — § · Ç × ç ÷ 8 H X h x ľ ¨ ¸ Č Ř č ř ) 9
Western European character code table (Windows 1252) 0 1 2 3 4 5 6 7 8 B C D E F 0 SP 0 @ P ` p € ° À Ð à ð 1 ! 1 A Q a q ~ ‘ ¡ ± Á Ñ á ñ 2 ” 2 B R b r , ’ ¢ ² Â Ò â ò 3 # 3 C S c s ƒ “ £ ³ Ã Ó ã ó 4 $ 4 D T d t „ ” ¤ ´ Ä Ô ä ô 5 % 5 E U e u … • ¥ µ Å Õ å õ 6 & 6 F V f v † - | ¶ Æ Ö æ ö 7 ’ 7 G W g w ‡ — § · Ç × ç ÷ 8 ( 8 H X h x ˆ ˜ ¨ ¸ È Ø è ø 9 ) 9 I Y i
International character set Compatible characters in each language when the international character set is switched n 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 0 United States # $ @ [ \ ] ^ ` { ¦ } ˜ ^ ` # $ ° ç § é ù è ¨ à 1 France ^ ` # $ Ä Ö Ü ä ö ü ß § 2 Germany $ @ [ \ ] ^ ` { } £ ¦ ˜ 3 Britain # $ @ Æ Ø Å ^ ` æ ø å ˜ 4 Denmark I # é ä ö å ü ¤ É Ä Ö Å Ü 5 Sweden \ ^ # $ @ ° é ù à ò è ì 6 Italy ^ ` } Pt $ @ ¡ Ñ ¿ ¨ ñ ˜ 7 Spain I # $ @ [ ] ^ ` { } ¥ ¦ ˜ 8 Japan # é æ ø å ü ¤ É Æ Ø Å Ü 9 Norway # $ É Æ Ø Å Ü é