background image

ESC/P Command Reference 

 

- 69 - 

5. Control Command Details 

(3)  \\\:  End of barcode 

There must be three backslashes to end 2D barcode. 

Example 

Refer to the section “

Summary

”. 

 

 

ESC i P 

QR Code version 

ASCII: ESC 

Decimal: 27 

105 

80 

Hexadecimal: 

1B  69 50 n 

Parameters 

0

n

40 

Description 

z

  The barcode size can be fixed. 

z

  The default value is 0. 

z

  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. 

Model1 (0–14), Model2 (0–40), MicroQR (0–4) 

 

Содержание RuggedJet RJ-4040

Страница 1: ...Software Developer s Manual ESC P Command Reference RJ 4030 4040 Version 1 0 ...

Страница 2: ...hts reserved QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries QR Code Generating Program Copyright 2008 DENSO WAVE INCORPORATED Each owner whose software title is mentioned in this document has a Software License Agreement specific to its proprietary programs Any trade names and product names of companies appearing on Brother products related documents and ...

Страница 3: ... to any third party or iv remove or alter any copyright notices or proprietary rights legends included within the Documentation No Warranty a Any updates upgrades or alteration of the Documentation or Printer Model will be performed at the sole discretion of Brother Brother may not respond to any request or inquiry about the Documentation b THIS DOCUMENTATION IS PROVIDED TO YOU AS IS WITHOUT WARRA...

Страница 4: ...ESC F Cancel bold style 24 ESC G Apply double strike printing 25 ESC H Cancel double strike printing 25 ESC P Apply pica pitch 10 cpi 26 ESC M Apply elite pitch 12 cpi 27 ESC p Specify proportional characters 28 ESC W Specify double width characters 28 SO Specify auto canceling stretched characters 29 ESC SO Specify auto canceling stretched characters 29 SI Specify compressed characters 30 ESC SI ...

Страница 5: ... 62 ESC i Q 2D barcode QR Code 66 ESC i P QR Code version 69 ESC i V 2D barcode PDF417 70 ESC i D 2D barcode DataMatrix 73 ESC i M 2D barcode MaxiCode 76 ESC i F Print downloaded data 78 ESC i a Switch command mode 82 ESC i S Status information request 83 ESC i L Specify landscape orientation 85 ESC i C Specify cutting 86 5 10 Advanced static commands 87 ESC iXQ2 Select default character style 87 ...

Страница 6: ...eference iii ESC iXm1 Retrieve default character code set 99 Appendix A Character Code Tables 100 Character code tables 100 International character set table 103 Appendix B Introducing the Brother Developer Center 104 ...

Страница 7: ... your printer We accept no responsibility for any problems caused by programs that you develop using the information provided in this material affecting software data or hardware including the RJ 4030 4040 and any problems resulting directly or indirectly from them Use this material only if you accept these terms This material shall not be reproduced in part or in full without prior approval In ad...

Страница 8: ...ed for printers With the codes introduced in this document various labels can be created and printed In this document ESC P codes are provided as both ASCII and binary codes When sending codes to the printer make sure that the binary codes are used otherwise the printer cannot parse the codes ...

Страница 9: ... c Specify left right margins ESC I ESC Q 4 Specify the line feed amount 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 3 Print operations 1 Specify the print position Specify the vertical position ESC v ESC V VT ESC J Specify the horizontal position ESC ESC HT ESC a 2 Transfer the print data one li...

Страница 10: ...SC M ESC SP 2 Specify the character style Specify 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 Specify character codes Repeat 1 3 above as necessary 5 Image data 1 Specify bit images ESC ESC K ESC L ESC Y ESC Z 2 Specify barcodes ESC i B 3 Specify 2D barcodes ESC i Q ESC i V ESC i D ESC i M 4 Print the downloaded data ESC i F Downloaded image data...

Страница 11: ...1 inch 1 8 inches Step 1 Landscape Step 2 Page length Step 3 Horizontal position Step 4 Vertical position Step 5 Font type Helsinki proportional pitch Step 6 Character size 100 dots In order to make this label the following six steps are required after entering ESC P mode Step 1 Select the landscape orientation Entered command ESC i L 01h nL ...

Страница 12: ...rgins For the margins subtract 6 mm 48 dots from the page length nL nH mL mH ESC C 02h 00h FCh 02h Entered command 4 inches 812 dots 812 dots 48 dots 764 dots Page length mL mH 256 764 2 02h 252 FCh Step 3 Specify the horizontal position 1 inch 1 inch 203 dots Horizontal position n1 n2 256 203 ESC CBh 00h nL nH Entered command 203 CBh 0 00h ...

Страница 13: ...ep 4 Specify the vertical position 1 8 inches 1 8 inch 365 dots Vertical position n1 n2 256 365 109 6Dh 0 01h ESC V 02h 00h 6Dh 01h nL nH mL mH Entered command Step 5 Select the font type Entered command ESC k L 0Bh n n 11 0Bh Font type Helsinki proportional pitch ...

Страница 14: ... P Command Reference 8 2 Examples of Using ESC P Commands Step 6 Specify the character size Character size n1 n2 256 100 dots Character size 100 dots ESC X 00h 64h 00h m nL nH Entered command 100 64h 0 00h ...

Страница 15: ...de FF Select ESC P mode Binary command 1B 69 61 00 Initialize ESC P mode Binary command 1B 40 6 steps explained above Print start command Binary command 0C Text to be print Binary command 41 74 20 79 6F 75 72 20 73 69 64 65 However these commands should be converted to binary data before sent to the printer as shown below Here is the captured converted binary data When the printer receives above b...

Страница 16: ...nting media are die cut labels and continuous length tape The area that can physically be printed on depends on the size and type of the print media Die cut labels Unprintable area Left margin Right margin Top margin Top margin position TOF position Bottom margin Unprinted area Print area Unprintable area ...

Страница 17: ... each media is described below Print area Printable area Left margin Right margin Length of printable area Bottom margin Top margin Label length Label width Height of printable area No 001 No 832 Label spacing Thermal head To specify media settings use the Custom Label Tool ...

Страница 18: ...elsinki Each bitmap font has three sizes 16 dots 24 dots and 32 dots 3 1 1 Character sizes Each font is available in full size compressed size half width double width double height and half width double height and quadruple size Full size Double width Double height Quadruple size Half width Double height and half width The actual character size is slightly smaller than the nominal size the paramet...

Страница 19: ...rrow As a result the excess space between characters is eliminated and the text appears more compact W Variable spacing C I W Variable spacing C I If a fixed pitch is applied to a font that is better with a proportional pitch all characters are given the same width as the widest character in the font W Variable spacing C I W Fixed spacing C I Variable spacing W Fixed spacing C I W C I This makes i...

Страница 20: ...h a baseline positions that is the same for each character If a single line consists of characters with different heights the characters are aligned with the baseline of the tallest character on the line A Print position A A Baseline position Underlines are drawn 4 dots below the baseline position 3 3 2 Bitmaps barcodes and downloaded images These types of image data are treated in the same way as...

Страница 21: ...nd ESC 3 z Within a single 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 z The tallest character within a line becomes the line height z If characters are underlined 4 dots are added to the line height z If the line height is greater than the specified line feed amount the line height is used as t...

Страница 22: ... 1B 45 Apply bold style ESC F 1B 46 Cancel bold style ESC G 1B 47 Apply double strike printing ESC H 1B 48 Cancel double strike printing ESC P 1B 50 Apply pica pitch 10 cpi ESC M 1B 4D Apply elite pitch 12 cpi ESC p 1B 70 Specify proportional characters ESC W 1B 57 Specify double width characters SO 0E Specify auto canceling stretched characters ESC SO 1B 0E Specify auto canceling stretched charac...

Страница 23: ...D 1B 44 Specify horizontal tab position HT 09 Perform horizontal tab ESC 1B 24 Specify absolute horizontal position ESC 1B 5C Specify relative horizontal position ESC a 1B 61 Specify alignment Vertical movement commands Refer to section 5 5 Vertical movement commands ASCII Code Binary Code Description LF 0A Line feed FF 0C Page feed ESC J 1B 4A Forward paper feed ESC B 1B 42 Specify vertical tab p...

Страница 24: ... 59 8 dot double speed double density bit image ESC Z 1B 5A 8 dot quadruple density bit image Advanced commands Refer to section 5 9 Advanced commands ASCII Code Binary Code Description ESC i B 1B 69 42 Barcode ESC i Q 1B 69 51 2D barcode QR Code ESC i P 1B 69 50 Specify QR Code version ESC i V 1B 69 56 2D barcode PDF417 ESC i D 1B 69 44 2D barcode DataMatrix ESC i M 1B 69 4D 2D barcode MaxiCode E...

Страница 25: ...2 1B 69 58 33 32 Specify default line feed ESC iX31 1B 69 58 33 31 Retrieve default line feed ESC iXA2 1B 69 58 41 32 Select default alignment ESC iXA1 1B 69 58 41 31 Retrieve default alignment ESC iX 2 1B 69 58 28 32 Specify default page length ESC iX 1 1B 69 58 28 31 Retrieve default page length ESC iXL2 1B 69 58 4C 32 Select default landscape orientation ESC iXL1 1B 69 58 4C 31 Retrieve default...

Страница 26: ...e character set and switches 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 n 4 Denmark I n 5 Sweden n 6 Italy n 7 Spain I n 8 Japan n 9 Norway n 10 Denmark II n 11 Spain II n 12 Latin America n 13 South Korea n 64 Legal z The following 12 codes are switched 23h 24h 40h 5Bh 5Ch 5Dh 5Eh 60h 7Bh 7Ch 7Dh 7Eh z The default setting is ...

Страница 27: ...haracter style ASCII ESC q n Decimal 27 113 n Hexadecimal 1B 71 n Parameters 0 n 3 Description z Selects the character style n 0 None normal characters n 1 Outline n 2 Shadow n 3 Shadow and outline Example Code ABC ESC q 02h ABC ESC q 00h ABC FF Print result ABCABCABC ...

Страница 28: ... n 1 Letter Gothic Bold fixed pitch z If the font is changed from a bitmap font to outline font the character size is changed to the default setting 32 dots z If the font is changed from an outline font to bitmap font the character size is changed to default setting 24 dots ESC t Select character code set ASCII ESC t n Decimal 27 116 n Hexadecimal 1B 74 n Parameters n 0 1 2 Description z From the ...

Страница 29: ...eters None Description z Prints the subsequent text in italics z This command is valid anywhere in a text line ESC 5 Cancel italic style ASCII ESC 5 Decimal 27 53 Hexadecimal 1B 35 Parameters None Description z Cancels the italic character style z This command is valid anywhere in a text line Example Code ABC ESC 4 DEF ESC 5 GHI FF Print result ABCDEFGHI ...

Страница 30: ...None Description z Prints the subsequent text in bold z 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 z Cancels the bold style z This command is valid anywhere in a text line Example Code ABC ESC E DEF ESC F GHI FF Print result ABCDEFGHI ...

Страница 31: ...None Description z Prints the subsequent text in bold z 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 z Cancels the bold style z This command is valid anywhere in a text line Example Code ABC ESC G DEF ESC H GHI FF Print result ABCDEFGHI ...

Страница 32: ...the pitch does not exactly equal the pica pitch z With double width characters the character spacing is doubled 40 dots z With half width characters the character spacing is halved 10 dots z When the character spacing is changed with ESC SP the setting is updated z This command is invalid when proportional pitch is selected z In outline fonts the spacing between characters is 0 dot Full Width Doub...

Страница 33: ...dth exceeds 16 dots the character spacing is specified as the character width The spacing between characters is 0 dot In this case the pitch does not exactly equal the elite pitch z With double width characters the character spacing is doubled 32 dots z With half width characters the character spacing is halved 8 dots z When the character spacing is changed with ESC SP the setting is updated z Thi...

Страница 34: ...pacing specified with ESC SP is maintained as is ESC W Specify double width characters ASCII ESC W n Decimal 27 87 n Hexadecimal 1B 57 n Parameters n 0 1 or 48 0 49 1 Description z Specifies double width characters n 1 or 49 1 Specifies double width characters n 0 or 48 0 Cancels double width characters z Double width characters specified with this command are not canceled with the DC4 or FS DC4 c...

Страница 35: ...e width z This command is canceled with DC4 LF VT FF or an automatic line feed z This command is canceled with ESC or ESC z This command can also be canceled with ESC W 0 ESC SO Specify auto canceling stretched characters ASCII ESC SO Decimal 27 14 Hexadecimal 1B 0E Parameters None Description z Same as SO Example Code ABC ESC SO ABCDEFGHIJK XYZ FF Print result ABCABCDEFGHIJK Automatic line feed X...

Страница 36: ...Specify compressed characters ASCII SI Decimal 15 Hexadecimal 0F Parameters None Description z Prints the subsequent text at half width ESC SI Specify compressed characters ASCII ESC SI Decimal 27 15 Hexadecimal 1B 0F Parameters None Description z Same as SI ...

Страница 37: ...cription z Cancels compressed characters specified with SI DC 4 Cancel auto canceling double width characters ASCII DC4 Decimal 20 Hexadecimal 14 Parameters None Description z Cancels double width characters specified with ESC SO or SO z Does not cancel the ESC W command Example Code ABC ESC SO ABCDEF DC4 GHIJK FF Print result ABCABCDEFGHIJK ...

Страница 38: ... line z Spaces between characters and words are also underlined z Areas with the specify absolute horizontal position ESC and specify relative horizontal position ESC commands are not underlined z 4 203 inch 4 dots is added to the line feed amount for lines that include underlined characters z The underline is positioned as follows Underline Underline Position 1 dot wide Between 2 203 inch 2 dots ...

Страница 39: ...riority order is from Bit 5 to Bit 2 z Bit 0 is available only if Bit 1 is 0 z Selected character styles are canceled and the characters return to the normal style z Canceling double width characters also cancels compressed half width characters Bit 7 6 5 4 3 2 1 0 1 Underline Italics Double width Double height Bold Compressed Proportional 12 cpi 0 Cancel Cancel Cancel Cancel Cancel Cancel Cancel ...

Страница 40: ...g ASCII ESC SP n Decimal 27 32 n Hexadecimal 1B 20 n Parameters 0 n 127 Description z Specifies the character spacing z n indicates the number of dots z The default setting is 0 dot z With double width characters the character spacing is doubled with half width characters it is halved ...

Страница 41: ...ange the size z Outline must not be specified z The character width cannot be specified z The character size is specified as n nL nH 256 dots z The width and the height are the same z With bitmap fonts only n 16 24 and 32 are valid z With outline fonts n 400 is the maximum z The commands for specifying stretched characters compressed characters and the character spacing SO ESC W ESC ESC SP remain ...

Страница 42: ...decimal 1B 30 Parameters None Description z Specifies a line feed of 1 8 inch about 0 32 cm z Specifies a line feed of 25 203 inch 25 dots ESC 2 Specify line feed of 1 6 inch ASCII ESC 2 Decimal 27 50 Hexadecimal 1B 32 Parameters None Description z Specifies a line feed of 1 6 inch about 0 42 cm z Specifies a line feed of 33 203 inch 33 dots ...

Страница 43: ...1B 33 n Parameters 0 n 255 Description z Specifies a line feed of n 203 inch per line z The line feed is specified in 1 dot units ESC A Specify line feed of n 60 inch ASCII ESC A n Decimal 27 65 n Hexadecimal 1B 41 n Parameters 0 n 255 Description z Specifies a line feed of n 60 inch z The line feed is specified in 3 dot units ...

Страница 44: ...t on the media z The area between the left edge first column to the nth column is specified as an unprinted area z The position of the left margin is the character width when this command was specified n from the left edge The character width when the margin specified includes the settings for the character spacing full width character spacing or half width character spacing In addition when a pit...

Страница 45: ...o the right of the right margin position is ignored z The left margin should be specified at least one column 10 cpi 20 dots less than the right margin If the character width when the command was specified n is greater than the right margin 20 dots the setting is ignored z If the difference between the right margin position and the left margin position is less than one character that character is ...

Страница 46: ...hat increase the character width are not applied z The horizontal print position is moved to the left margin position z If the right margin setting is not at the beginning of the line the right margin is specified 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 lin...

Страница 47: ...rs None Description z Ends input of a line and waits for input of the next line z The next print position becomes the beginning of the next line z A line feed command immediately after the carriage return is ignored Auto canceling double width characters specified with SO or ESC SO are canceled z Same process as LF ...

Страница 48: ...left margin setting moves the print area to include those tab positions z The character width when the horizontal tabs are specified includes the settings for the character spacing full width character spacing or half width character spacing In addition when a pitch of 10 cpi or 12 cpi compressed characters or double width characters are specified that character width is considered as the unit z W...

Страница 49: ...ignored z If underlining is specified the space between the current position and the next horizontal tab position is not underlined z When the printer is turned on a horizontal tab position is specified every 8 columns at 10 cpi Even if the character width is changed before the horizontal tab positions have been specified the horizontal tab positions do not change z This command is available only ...

Страница 50: ... alignment ESC Specify relative horizontal position ASCII ESC n1 n2 Decimal 27 92 n1 n2 Hexadecimal 1B 5C n1 n2 Parameters 0 n1 255 0 n2 255 Description z Specifies the horizontal print position in dots as a relative position from the current position z A relative position specifies the next print position as a number of dots from the current position z n1 and n2 indicate the number of dots from t...

Страница 51: ...setting is n 0 z Data is aligned between the left and right margins by entering a CR LF and FF code or by buffer printing z If the alignment setting is not at the beginning of the line the alignment is specified 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 ...

Страница 52: ...t line z The default value is a line feed of 32 dots z A carriage return immediately after a line feed is ignored z Auto canceling double width characters specified with SO or ESC SO are canceled z Same process as CR FF Page feed ASCII FF Decimal 12 Hexadecimal 0C Parameters None Description z Starts the printing z The previously entered data string of characters and commands is cleared after bein...

Страница 53: ...arts z With left alignment the print position for the next line becomes the end position of the current line The horizontal position does not move to the left margin With right alignment and center alignment the horizontal position moves to the beginning of the line z Auto canceling double width characters specified with SO or ESC SO are canceled Abcdefg ABC SDFASG Left alignment Abcdefg ABC SDFAS...

Страница 54: ... can be specified regardless of the setting of the bottom margin position However vertical tab positions outside the print area beyond the bottom margin position are invalid and only become valid when a change in the top margin setting or bottom margin setting moves the print area to include those tab positions z Use VT to move to the vertical tab position z When changing vertical tab positions sp...

Страница 55: ...al tab position specified below the current position VT is performed as if it is moves to the TOF position of the next page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 VT code Tab position Tab position Tab position 17 18 ABCD EfghijkL Abcdefg ABCDEFG aiueo VT code VT code Line feed amount Example Vertical tabs are specified at Lines 6 11 and 15 and data is entered while VT are performed z When all vert...

Страница 56: ...ition is measured from the top margin position when this command was specified z If a position extending beyond the bottom margin is specified printing starts z There is no restriction on the amount of movement back upward from the current position z With left alignment the print position for the next line becomes the end position of the current line The horizontal position does not move to the le...

Страница 57: ...quation mL mH 256 65536 distance actually moved z Settings moving the print position above the top margin are ignored z If a position extending beyond the bottom margin is specified printing starts z With left alignment the print position for the next line becomes the end position of the current line The horizontal position does not move to the left margin With right alignment and center alignment...

Страница 58: ...ied in units of 1 203 inch 1 dot using the top edge of the physically printable area as the reference The left margin and the right margin use the left edge of the physically printable area as the reference z Top margin tL tH 256 z Bottom margin BL BH 256 z The top margin position is the TOF in the vertical direction z All previously entered text is cleared z When this command is used previously s...

Страница 59: ...n is the TOF z The top and bottom margins are canceled with ESC c z All previously entered text is cleared z A standard unit is not used z This command is available only with continuous length tape Inch mm and dot conversion table inch mm Number of dots 0 0 0 0 1 25 4 203 2 50 8 406 3 76 2 609 4 101 6 812 5 127 0 1015 6 152 4 1218 7 177 8 1421 8 203 2 1624 9 228 6 1827 10 254 0 2030 11 279 4 2233 ...

Страница 60: ...in 0 dot Right margin Depends on media Line feed amount 32 dots Horizontal tab positions Horizontal tab every 8 characters based on a character width of 10 cpi Vertical tab positions None Character size 21 dots Character spacing 0 dot Proportional pitch Canceled International character set USA Character style Canceled Compressed Canceled Horizontal print position Top margin position TOF position V...

Страница 61: ...ainder from dividing the number of dot positions by 256 n2 The quotient from dividing the number of dot positions by 256 m Horizontal Dot Density Vertical Dot Density Horizontal Dot Resolution Vertical Dot Resolution 0 60 dpi 60 dpi 4 203 inch 4 203 inch 1 120 dpi 60 dpi 2 203 inch 4 203 inch 2 120 dpi 60 dpi 2 203 inch 4 203 inch 3 240 dpi 60 dpi 1 203 inch 4 203 inch 4 80 dpi 60 dpi 3 203 inch 4...

Страница 62: ...w as follows 1byte 1byte 1byte 1byte 1byte 1byte n1 n2 256 bytes MSB LSB z One dot of the image data is enlarged as follows according to the value of m m 0 m 1 m 2 m 3 m 4 m 6 z As a result the image is sized depending on the value of m as follows m 0 32 dots vertically n1 n2 256 4 dots horizontally m 1 32 dots vertically n1 n2 256 2 dots horizontally m 2 32 dots vertically n1 n2 256 2 dots horizo...

Страница 63: ...ing the number of dot positions by 256 1 st byte 2 nd byte 3 rd byte B 7 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 B 1 B 0 B 7 B 6 B 5 B 4 B 3 B 2 B 1 B 0 Relationship between the image data and the dots 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 n1 n2 256 3 bytes MSB LSB ...

Страница 64: ...e value of m m 32 m 33 m 38 m 39 z As a result the image is sized depending on the value of m as follows m 32 32 dots vertically n1 n2 256 4 dots horizontally m 33 24 dots vertically n1 n2 256 2 dots horizontally m 38 24 dots vertically n1 n2 256 3 dots horizontally m 39 24 dots vertically n1 n2 256 1 dots horizontally ...

Страница 65: ...s indicated by n1 and n2 z 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 z First the data is lined up in one row as follows 1byte 1byte 1byte 1byte 1byte 1byte n1 n2 256 bytes MSB LSB z One dot o...

Страница 66: ...iption Specifies that an 8 dot double density bit image is printed with the number of dot positions indicated by n1 and n2 z n1 and n2 are specified in the same way as with ESC K z First the data is lined up in one row as follows 1byte 1byte 1byte 1byte 1byte 1byte n1 n2 256 bytes MSB LSB z One dot of image data is enlarged to 4 dots vertically by 2 dots horizontally z As a result the image is 32 ...

Страница 67: ...imal 27 90 n1 n2 Data Hexadecimal 1B 5A n1 n2 Data Parameters 0 n1 255 0 n2 7 The data contains n1 n2 256 bytes of image data Description Specifies that an 8 dot quadruple density bit image is printed with the number of dot positions indicated by n1 and n2 z n1 and n2 are specified in the same way as with ESC K z Horizontally neighboring dots are not omitted z First the data is lined up in one row...

Страница 68: ...C Format ESC i Parameters B or b Barcode data Backslash 1 2 3 4 Parameters 1 Parameters Barcode 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 td CODE93 te POSTNET tf UPC EAN EXTENTION s style Ignored p number of passes Ignored R or r characters below barcode r0 OFF r1 ON u units of measurement Ignored x hori...

Страница 69: ...w width w0 extra small w1 small w2 medium w3 large E or e parentheses deletion e0 ON e1 OFF o RSS symbols model o0 RSS 14 Standard o1 RSS 14 Truncated o2 RSS 14 Stacked o3 RSS 14 Stacked Omnidirectional o4 RSS Limited o5 RSS Expanded Standard o6 RSS Expanded Stacked c number of horizontal characters for RSS Expanded Stacked c o of horizontal characters This must be an even value where 2 no of hori...

Страница 70: ...haracters is not included t1 1 64 characters t5 7 characters for EAN 8 12 characters for EAN 13 11 characters for UPC A t6 6 characters t9 3 64 characters Must begin and end with A B C or D ta 1 64 characters tb 1 64 characters tc 3 15 characters begins with 01 except with RSS Expanded 1 64 numbers or 1 40 letters for RSS Expanded ISO646 characters can be printed numbers letters spaces and _ td 1 ...

Страница 71: ...buffer length for the barcode image is about 22 cm A barcode longer than 22 cm will not be printed z The characters that can be printed with CODE128 and GS1 128 UCC EAN 128 are the 128 ASCII characters and the special codes FNC1 FNC2 FNC3 and FNC4 Codes assigned to the special codes FNC1 86h FNC2 81h FNC3 80h FNC4 84h z The control codes and special codes appear as spaces when characters are print...

Страница 72: ...ide Prints 8 dots per cell side Prints 10 dots per cell side 2 Symbol type 1 byte decimal 1 1 byte decimal 2 1 byte decimal 3 Model 1 Model 2 default value Micro QR 3 Structured Append setting 1 byte decimal 0 1 byte decimal 1 Not partitioned default value Partitioned 1 4 Code number 1 byte decimal 1 16 Indicates the number of the symbol in a partitioned QR Code 5 Number of partitions 1 byte decim...

Страница 73: ...t the barcode data is partitioned If the data is not partitioned enter 0 When not partitioning the values of 4 code number 5 number of partitions and 6 parity data are ignored therefore enter 0 as a dummy value for these parameters 4 Code number This indicates which number the ESC P command for that QR Code is For example if it is for the second of four partitions this is 2 for the fourth this is ...

Страница 74: ...ESC i Q other parameters 1 K kanji character input Binary character input B or b 4 digit number ESC i Q other parameters 1 B0005 With the 4 digit number specify the number of binary characters to actually be entered For example if 12 binary characters are to be entered specify B 0012 30h 30h 31h 32h The number of barcode data characters that can be entered depends on the model type and the input m...

Страница 75: ...I ESC i P n Decimal 27 105 80 n Hexadecimal 1B 69 50 n Parameters 0 n 40 Description z The barcode size can be fixed z The default value is 0 z 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 Model1 0 14 Model2 0 40 MicroQR 0 4 ...

Страница 76: ...ints 5 dots per cell side Prints 6 dots per cell side Prints 8 dots per cell side Prints 10 dots per cell side 2 Symbol type 1 byte decimal 0 1 byte decimal 1 1 byte decimal 2 1 byte decimal 3 Standard default value Truncate MicroPDF417 standard MicroPDF417 Code128 emulation 3 Data input method 1 byte decimal 0 1 byte decimal 1 Auto input default value Binary input 4 Error correction capacity type...

Страница 77: ...tically determined from the symbol size X direction setting the settings for error correction capacity and type and error correction capacity value are ignored The aspect value setting is ignored The following table shows the values available for the symbol size Y direction according to the symbol size X direction setting If an invalid setting is specified for the symbol size Y direction the defau...

Страница 78: ...numeric Characters Numbers Binary 1 11 6 8 3 1 14 12 17 7 1 17 18 26 10 1 20 22 32 13 1 24 30 44 18 1 28 38 55 22 2 8 14 20 8 2 11 24 35 14 2 14 36 52 21 2 17 46 67 27 2 20 56 82 33 2 23 64 93 38 2 26 72 105 43 3 6 10 14 6 3 8 18 26 10 3 10 26 38 15 3 12 34 49 20 3 15 46 67 27 3 20 66 96 39 3 26 90 132 54 3 32 114 167 68 3 38 138 202 82 3 44 162 237 97 4 4 14 20 8 4 6 22 32 13 4 8 34 49 20 4 10 46...

Страница 79: ...CC200 square default value ECC200 rectangular 3 Vertical size 1 byte decimal 0 1 byte decimal 10 1 byte decimal 12 1 byte decimal 14 1 byte decimal 16 1 byte decimal 18 1 byte decimal 20 1 byte decimal 22 1 byte decimal 24 1 byte decimal 26 1 byte decimal 32 1 byte decimal 36 1 byte decimal 40 1 byte decimal 44 1 byte decimal 48 1 byte decimal 52 1 byte decimal 64 1 byte decimal 72 1 byte decimal ...

Страница 80: ...ells Horizontal no of cells 36 cells 4 Horizontal size 1 byte decimal 36 1 byte decimal 48 4 When the vertical size is 16 cells Horizontal no of cells 36 cells Horizontal no of cells 48 cells 5 Reserved 1 byte decimal 5 0 5 bytes of dummy data 0 is sent Note Some barcode readers cannot recognize a barcode with the cell size specified as 1 dot or 2 dots If the vertical size is specified as a value ...

Страница 81: ...Details 3 End of barcode There must be three backslashes to end 2D barcodes Example 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 D 03h 00h 28h 40d 28h 00h 00h 00h 00h 00h 12345 ...

Страница 82: ...ructured Append setting 1 byte decimal 0 1 byte decimal 1 With Structured Append default value Without Structured Append 2 backslash Separator between parameters and barcode data 3 Barcode data Barcode data The number of barcode data characters that can be entered is listed below Maximum Amount of Information Allowed Symbol Type Alphanumeric Characters Numbers Standard 93 138 Full EEC 77 113 Struc...

Страница 83: ...e If a value other than those listed is entered for a parameter that parameter is specified with its default value Postal code 9 or less numbers or 6 or less alphanumeric characters Ignored when not structured carrier message Default value 000000000 Country code 3 or less numbers Ignored when not structured carrier message Default value 000 Service class 3 or less numbers Ignored when not structur...

Страница 84: ...n Parameters n file header index 0 n 98 Description z Expands downloaded data in the print buffer as image data z Expands downloaded image data from the print position z If there is no image data this command is ignored This printer PC Must be downloaded beforehand Image file bmp Abcdefg ABCDEFG HIJK Example Combination of text and downloaded image ...

Страница 85: ...e print area is deleted 1 The text is entered Abcdefg 1 The text is entered Abcdefg Abcdefg 2 The downloaded image is entered 3 Since the image does not fit it is pasted in after an automatic line feed Example Normal size Abc Abc Abc 3 Since the image does not fit it is pasted in after an automatic line feed and trimmed to fit between the left and right margins Example Image larger than the distan...

Страница 86: ...ered 1 The text is entered 2 The downloaded image is entered 2 The downloaded image is entered Abcdefg WLMBGOr Dabfdifpdzra BGHJgmfg gfdslrt Abcdefg WLMBGOr Dabfdifpdzra BGHJgmfg gfdslrt Abcdefg 3 Since the image does not fit it is pasted in after an automatic page feed Example Image smaller than the distance between the top and bottom margins Example Image larger than the distance between top and...

Страница 87: ...portion of image data deleted depends on the media orientation Examples z Portrait Media Die cut shipping label Size of Downloaded Image Print Size 1109 height 696 width 1109 height 696 width Not deleted 696 height 1109 width 696 height 696 width Part deleted With a downloaded image saved at 696 height by 1109 width Portion used Portion not used z Landscape Media Die cut shipping label Size of Dow...

Страница 88: ...d mode 0 or 48 ESC P standard mode 1 or 49 Raster graphics mode 3 or 51 P touch Template mode Description z Switches the command mode to ESC P P touch Template or PTCBP raster graphics mode z Dynamically switches between the three modes z Since this is a dynamic command after the printer is turned off and on again the setting returns to the previously setting ...

Страница 89: ... 8 1 Error information 1 Refer to table 1 below 10 9 1 Error information 2 Refer to table 2 below 11 10 1 Media width Refer to 3 1 Print area on page 10 12 11 1 Media type Refer to table 3 below 13 12 1 Number of colors Fixed at 00h 14 13 1 Media length higher order bytes Refer to 3 1 Print area on page 10 15 14 1 Media sensor value Refer to 3 1 Print area on page 10 16 15 1 Mode Fixed at 00h 17 1...

Страница 90: ...02h Expansion buffer full error Bit 2 04h Communication error Bit 3 08h Image error occurred Bit 4 10h Cover open error Bit 5 20h Not used Bit 6 40h Leading edge detection error Bit 7 80h System error 3 Media type Media Type Value Remarks Continuous length tape 4Ah Die cut label 4Bh 4 Status type Status Type Value Remarks Reply to status request 00h Not used 01h Error occurred 02h Not used 03h FFh...

Страница 91: ...eters n 0 1 or 48 49 Description z Applies or cancels the landscape orientation n 1 or 49 1 Applies the landscape orientation n 0 or 48 0 Cancels the landscape orientation z Using this command clears all text z Before entering text specify the paper orientation with this command z When the printer is turned on the landscape orientation is canceled ABC ABC ...

Страница 92: ...er printing n 1 or 49 1 Specifies cutting n 0 or 48 0 Cancels cutting z The default auto cut setting can be changed with the P touch Template Settings Tool P touch Template Settings exe z The number of auto cut copies can be specified with the P touch Template Settings Tool P touch Template Settings exe z Manufacturer s default auto cut setting ON auto cut Manufacturer s default auto cut copies 1 ...

Страница 93: ...8 81 50 n1 n2 n3 Hexadecimal 1B 69 58 51 32 n1 n2 n3 Parameters n1 01h Fixed n2 00h Fixed 00h n3 04h Description z Selects the default character style n3 00h None normal characters Manufacturer s default n3 01h Bold n3 02h Outline n3 03h Shadow n3 04h Shadow and outline z This command is a static command Remarks z Invalid if n3 is a value other than 00h through 04h ...

Страница 94: ... 81 49 n1 n2 Hexadecimal 1B 69 58 51 31 n1 n2 Parameters n1 00h Fixed n2 00h Fixed Description z The default character style setting is returned as 3 byte data 1 01h Fixed 2 00h Fixed 3 Setting 00h None normal characters 01h Bold 02h Outline 03h Shadow 04h Shadow and outline z The retrieved value is a value specified by a static command ...

Страница 95: ...ers n1 01h Fixed n2 00h Fixed 00h n3 04h 09h n3 0Bh Description z Selects the default font n3 00h Reserved n3 01h Letter Gothic Bold bitmap Manufacturer s default n3 02h Reserved n3 03h Helsinki bitmap n3 04h Reserved n3 09h Letter Gothic outline n3 0Ah Reserved n3 0Bh Helsinki outline z This command is a static command Remarks z Invalid if n3 is a value outside of the allowable range ...

Страница 96: ...n1 n2 Hexadecimal 1B 69 58 6B 31 n1 n2 Parameters n1 00h Fixed n2 00h Fixed Description z The default font setting is returned as 3 byte data 1 01h Fixed 2 00h Fixed 3 Setting 01h Letter Gothic Bold bitmap 03h Helsinki bitmap 09h Letter Gothic outline 0Bh Helsinki outline z The retrieved value is a value specified by a static command ...

Страница 97: ...8 32 n1 n2 n3 n4 Parameters n1 02h Fixed n2 00h Fixed 00h n3 FFh 00h n4 01h Description z Specifies the default character size n3 n4 256 Default character size dots z The following settings dots are valid The maximum valid setting is n 400 The manufacturer s default is 24 z This command is a static command Remarks z Invalid if the setting is a value outside of the allowable range ...

Страница 98: ... n3 n4 256 Default character size dots z The retrieved value is a value specified by a static command ESC iX32 Specify default line feed ASCII ESC i X 3 2 n1 n2 n3 n4 Decimal 27 105 88 51 50 n1 n2 n3 n4 Hexadecimal 1B 69 58 33 32 n1 n2 n3 n4 Parameters n1 02h Fixed n2 00h Fixed 00h n3 FFh 00h n4 04h Description z Specifies the default line feed n3 n4 256 Default line feed dots 0 through 1275 The m...

Страница 99: ...settings n3 n4 256 Default line feed dots z The retrieved value is a value specified by a static command ESC iXA2 Select default alignment ASCII ESC i X A 2 n1 n2 n3 Decimal 27 105 88 65 50 n1 n2 n3 Hexadecimal 1B 69 58 41 32 n1 n2 n3 Parameters n1 01h Fixed n2 00h Fixed 00h n3 02h Description z Selects the default alignment n3 00h Left alignment Manufacturer s default n3 01h Center alignment n3 0...

Страница 100: ...l 27 105 88 65 49 n1 n2 Hexadecimal 1B 69 58 41 31 n1 n2 Parameters n1 00h Fixed n2 00h Fixed Description z 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 z The retrieved value is a value specified by a static command ...

Страница 101: ...tes the Auto setting The manufacturer s default is 0 z This command is a static command Remarks z Invalid if the setting is a value outside of the allowable range ESC iX 1 Retrieve default page length ASCII ESC i X 1 n1 n2 Decimal 27 105 88 40 49 n1 n2 Hexadecimal 1B 69 58 28 31 n1 n2 Parameters n1 00h Fixed n2 00h Fixed Description z The default page length setting is returned as 4 byte data 1 02...

Страница 102: ...default n3 01h Apply landscape orientation z This command is a static command Remarks z Invalid if n3 is a value outside of the allowable range ESC iXL1 Retrieve default landscape orientation ASCII ESC i X L 1 n1 n2 Decimal 27 105 88 76 49 n1 n2 Hexadecimal 1B 69 58 4C 31 n1 n2 Parameters n1 00h Fixed n2 00h Fixed Description z The default landscape orientation setting is returned as 3 byte data 1...

Страница 103: ... Fixed 00h n3 0Dh 40h Description z Selects the default international character set n3 00h U S A Manufacturer s default n3 01h France n3 02h Germany n3 03h U K n3 04h Denmark I n3 05h Sweden n3 06h Italy n3 07h Spain I n3 08h Japan n3 09h Norway n3 0Ah Denmark II n3 0Bh Spain II n3 0Ch Latin America n3 0Dh South Korea n3 40h Legal z This command is a static command Remarks z Invalid if n3 is a val...

Страница 104: ...ameters n1 00h Fixed n2 00h Fixed Description z 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 04h Denmark I 05h Sweden 06h Italy 07h Spain I 08h Japan 09h Norway 0Ah Denmark II 0Bh Spain II 0Ch Latin America 0Dh South Korea 40h Legal z The retrieved value is a value specified by a static command...

Страница 105: ...3 02h Western European character code set z This command is a static command Remarks z Invalid if n3 is a value outside of the allowable range ESC iXm1 Retrieve default character code set ASCII ESC i X m 1 n1 n2 Decimal 27 105 88 109 49 n1 n2 Hexadecimal 1B 69 58 6D 31 n1 n2 Parameters n1 00h Fixed n2 00h Fixed Description z The default character code set setting is returned as 3 byte data 1 01h F...

Страница 106: ...Á Ñ á ñ 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 y É Ù é ù A J Z j z Š š a o Ê Ú ê ú B K k Ë Û ë û C L l Œ œ Ì Ü ì ü D M m Í Ý í ý E N n Ž ž Î Þ î þ F O _ o DEL Ÿ Ï ß ï ÿ Note indicates that a space is printed indicates that the character will switch when the international character set i...

Страница 107: ... c s L ˇ Ł ł Ă Ó ă ó 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 y ą É Ů é ů A J Z j z Š š Ş ş Ę Ú ę ú B K k Ë Ű ë ű C L l Ś ś Ľ Ě Ü ě ü D M m Ť ť Í Ý í ý E N n Ž ž ľ Î Ţ î ţ F O _ o DEL Ź ź Ż ż Ď ß ď Note indicates that a space is printed indicates that the character will switch when the international character set is changed ...

Страница 108: ... 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 K k ï 9 δ C L l î D M m ì TEL ø E N n Ä Pts FAX F O _ o DEL Å ƒ Note indicates that a space is printed indicates that the character will switch when the international character set is changed ...

Страница 109: ...r set is changed n 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E 0 United States U S A 1 France à ç é ù è 2 Germany Ä Ö Ü ä ö ü ß 3 Britain U K 4 Denmark I Æ Ø Å æ ø å 5 Sweden É Ä Ö Å Ü é ä ö å ü 6 Italy é ù à ò è ì 7 Spain I Pt Ñ ñ 8 Japan 9 Norway É Æ Ø Å Ü é æ ø å ü 10 Denmark II É Æ Ø Å Ü é æ ø å ü 11 Spain II á Ñ é í ñ ó ú 12 Latin America á Ñ é ü í ñ ó ú 13 South Korea W 64 Legal TM ...

Страница 110: ... the Brother Developer Center Appendix B Introducing the Brother Developer Center Useful information for developers such as applications tools SDKs as well as FAQs are provided in the Brother Developer Center http www brother com product dev index htm ...

Страница 111: ......

Отзывы: