Raster Command Reference
Page 7
... is unfavorable towards our company. Use this material, affecting software, data or hardware, including the Brother printer RJ-XXXX, and any problems caused by programs that the user has full understanding of the operating system being used as the name of USB and networks in their content. We accept no responsibility for directly controlling the Brother printer RJ-XXXX (where "XXXX" is the model name). Introduction This material...
... is unfavorable towards our company. Use this material, affecting software, data or hardware, including the Brother printer RJ-XXXX, and any problems caused by programs that the user has full understanding of the operating system being used as the name of USB and networks in their content. We accept no responsibility for directly controlling the Brother printer RJ-XXXX (where "XXXX" is the model name). Introduction This material...
Raster Command Reference
Page 8
... other than Windows (Example: When printing from a Linux computer or mobile terminal) ⚫ When adding print functions to print without using our printer driver. In this material to print by sending initialization commands and control codes together with advanced settings. This manual describes the procedure for adding these codes and sending the data. - 2 - 2. Refer to this material, "raster" refers to as "printer"). This operation is the model name) can...
... other than Windows (Example: When printing from a Linux computer or mobile terminal) ⚫ When adding print functions to print without using our printer driver. In this material to print by sending initialization commands and control codes together with advanced settings. This manual describes the procedure for adding these codes and sending the data. - 2 - 2. Refer to this material, "raster" refers to as "printer"). This operation is the model name) can...
Raster Command Reference
Page 10
... USB/network port Open the USB/network port in the next section, "4. The procedure for opening the USB/network port is not described in this status is analyzed to the printer after the print data is transmitted and until the completion of the print data is analyzed, and then the status of "status", refer to "Status information request" in "7. Printing Command Details". (3) Send the print data If the status analysis confirms that media compatible with the print data is loaded...
... USB/network port Open the USB/network port in the next section, "4. The procedure for opening the USB/network port is not described in this status is analyzed to the printer after the print data is transmitted and until the completion of the print data is analyzed, and then the status of "status", refer to "Status information request" in "7. Printing Command Details". (3) Send the print data If the status analysis confirms that media compatible with the print data is loaded...
Raster Command Reference
Page 11
... of the following: (1) initialization commands, (2) control codes, (3) raster data, and (4) print commands. Sequence Command Name Description/Example 1 Switch dynamic command mode Switches the command mode of the printer to raster mode. 1Bh, 69h, 61h, 01h Dynamically switches whether an automatic status notification is Switch automatic given during printing. 2 status notification 1Bh, 69h, 21h, 00h mode * RJ-4250WB/4230B, RJ-3230B/RJ-3250WB support this command. - 5 - 4. Sets the print information for 80-mm-wide...
... of the following: (1) initialization commands, (2) control codes, (3) raster data, and (4) print commands. Sequence Command Name Description/Example 1 Switch dynamic command mode Switches the command mode of the printer to raster mode. 1Bh, 69h, 61h, 01h Dynamically switches whether an automatic status notification is Switch automatic given during printing. 2 status notification 1Bh, 69h, 21h, 00h mode * RJ-4250WB/4230B, RJ-3230B/RJ-3250WB support this command. - 5 - 4. Sets the print information for 80-mm-wide...
Raster Command Reference
Page 16
... printer, and then display the printer's Properties dialog box. Raster Command Reference Step 1: Change the port of the printer driver - 10 - 4. Click the [Ports] tab in the printer's Properties dialog box, select the "FILE:" check box, and then click the [Apply] button. [Ports] tab of the printer Properties dialog box Step 2: Print the item (in this sample, print the test page with the default print settings, which were specified immediately after installation...
... printer, and then display the printer's Properties dialog box. Raster Command Reference Step 1: Change the port of the printer driver - 10 - 4. Click the [Ports] tab in the printer's Properties dialog box, select the "FILE:" check box, and then click the [Apply] button. [Ports] tab of the printer Properties dialog box Step 2: Print the item (in this sample, print the test page with the default print settings, which were specified immediately after installation...
Raster Command Reference
Page 19
... to default mode that is switched by No.3. printing * RJ-3230B/RJ-3250WB support this command. 9 Specify margin amount This command specifies amount of the driver, it is unnecessary for the user to raster mode. information command This is the command for "3.15" (80 mm)". 6 Print information command Media size information for the print data is switched to send this command after This command specifies wait time between pages. Since...
... to default mode that is switched by No.3. printing * RJ-3230B/RJ-3250WB support this command. 9 Specify margin amount This command specifies amount of the driver, it is unnecessary for the user to raster mode. information command This is the command for "3.15" (80 mm)". 6 Print information command Media size information for the print data is switched to send this command after This command specifies wait time between pages. Since...
Raster Command Reference
Page 37
... the printer is turned on, it is not used, both are fixed at 00h. Status phase number: printing) and sends that phase status to the computer. phase number: waiting to receive) and sends that phase status to the computer. Unless an error occurs during printing, the printer sends the "printing completed" status. - 31 - 5. Raster Command Reference 5.2.6 Status type Status Type Reply to status request Printing completed Error occurred Exit IF mode Turned off Notification Phase change (Not used) (Reserved...
... the printer is turned on, it is not used, both are fixed at 00h. Status phase number: printing) and sends that phase status to the computer. phase number: waiting to receive) and sends that phase status to the computer. Unless an error occurs during printing, the printer sends the "printing completed" status. - 31 - 5. Raster Command Reference 5.2.6 Status type Status Type Reply to status request Printing completed Error occurred Exit IF mode Turned off Notification Phase change (Not used) (Reserved...
Raster Command Reference
Page 55
... occurred Printer Printer reset The printer is a problem, an error appears. Sending control codes Sending raster data Sending a print command (print command with feeding (1A) for the last page or print command (0C) for USB/Bluetooth connection Computer (host) Invalidate If there are no problems with the printer status (media, etc.), the READ data is sent Displaying sending Display ing printing READ Phase change : Printing state/Printing Data received. Flow Charts Raster Command Reference 8.2 Buffered printing error flow for other pages) Status Phase change "Printing...
... occurred Printer Printer reset The printer is a problem, an error appears. Sending control codes Sending raster data Sending a print command (print command with feeding (1A) for the last page or print command (0C) for USB/Bluetooth connection Computer (host) Invalidate If there are no problems with the printer status (media, etc.), the READ data is sent Displaying sending Display ing printing READ Phase change : Printing state/Printing Data received. Flow Charts Raster Command Reference 8.2 Buffered printing error flow for other pages) Status Phase change "Printing...
Raster Command Reference
Page 57
... for peeling") Status ("Printing completed") Status (Phase change : "Waiting to status information request) Sending control codes Sending raster data Printer The printer is reset. If there is READ transmitted. Raster Command Reference 8.4 Buffered printing waiting for peeling/resumed flow for USB/Bluetooth connection Computer (host) If there are sent Printing 1st page Printing 2nd page Sending raster data Sending raster data - 51 - 8. Displaying sending Invalidate Initialize Status information request Status (response to receive" status are no problems with feeding (1A...
... for peeling") Status ("Printing completed") Status (Phase change : "Waiting to status information request) Sending control codes Sending raster data Printer The printer is reset. If there is READ transmitted. Raster Command Reference 8.4 Buffered printing waiting for peeling/resumed flow for USB/Bluetooth connection Computer (host) If there are sent Printing 1st page Printing 2nd page Sending raster data Sending raster data - 51 - 8. Displaying sending Invalidate Initialize Status information request Status (response to receive" status are no problems with feeding (1A...
ESC/ P Command Reference
Page 5
... 49 Specify alignment 50 5.5 Vertical movement commands 51 LF FF ESC J ESC B VT ESC (V ESC (v Line feed 51 Page feed 51 Forward paper feed 52 Specify vertical tab position 53 Perform vertical tab 54 Specify absolute vertical position 55 Specify relative vertical position 56 5.6 Paper formatting commands 57 ESC (c ESC (C Specify page format 57 Specify page length 58 5.7 Printer control commands 59...
... 49 Specify alignment 50 5.5 Vertical movement commands 51 LF FF ESC J ESC B VT ESC (V ESC (v Line feed 51 Page feed 51 Forward paper feed 52 Specify vertical tab position 53 Perform vertical tab 54 Specify absolute vertical position 55 Specify relative vertical position 56 5.6 Paper formatting commands 57 ESC (c ESC (C Specify page format 57 Specify page length 58 5.7 Printer control commands 59...
ESC/ P Command Reference
Page 19
...system uses single-byte character codes and is available in full size, compressed size (half width), double width, double height and half width, double height, and quadruple size. The fonts that is better with a proportional pitch are: Brussels, Helsinki and Gothic San Diego. The line-drawing ... This varies depending on the font. Please refer to section Appendix B:Specifications. 3.2.1 Character sizes Each font is installed with a proportional pitch. ESC/P Command Limitations The font that are better with a fixed pitch are better with 6 bitmap fonts (Letter Gothic Bold, Helsinki...
...system uses single-byte character codes and is available in full size, compressed size (half width), double width, double height and half width, double height, and quadruple size. The fonts that is better with a proportional pitch are: Brussels, Helsinki and Gothic San Diego. The line-drawing ... This varies depending on the font. Please refer to section Appendix B:Specifications. 3.2.1 Character sizes Each font is installed with a proportional pitch. ESC/P Command Limitations The font that are better with a fixed pitch are better with 6 bitmap fonts (Letter Gothic Bold, Helsinki...
ESC/ P Command Reference
Page 57
... default value is a line feed of 32 dots. A carriage return immediately after a line feed is ignored. Auto-canceling double-width characters specified with SO or ESC SO are canceled. Same process as CR FF Page feed ASCII: FF Hexadecimal: 0C Parameters None Description Starts the printing. The previously entered data string of characters and commands is cleared...
... default value is a line feed of 32 dots. A carriage return immediately after a line feed is ignored. Auto-canceling double-width characters specified with SO or ESC SO are canceled. Same process as CR FF Page feed ASCII: FF Hexadecimal: 0C Parameters None Description Starts the printing. The previously entered data string of characters and commands is cleared...
ESC/ P Command Reference
Page 89
... The numbers listed above are ignored. * The aspect value setting is specified. If the standard level or higher is automatically determined from the symbol size (X direction) setting, the settings for "error correction capacity and type" and "error correction capacity-value" are for the symbol size (X direction) or the symbol size (Y direction) has been entered manually, the bar code may not be printed or an unreadable bar code may be printed...
... The numbers listed above are ignored. * The aspect value setting is specified. If the standard level or higher is automatically determined from the symbol size (X direction) setting, the settings for "error correction capacity and type" and "error correction capacity-value" are for the symbol size (X direction) or the symbol size (Y direction) has been entered manually, the bar code may not be printed or an unreadable bar code may be printed...
ESC/ P Command Reference
Page 99
ESC/P Command Reference ESC i F P Print downloaded data ASCII: ESC i F Hexadecimal: 1B 69 46 P n 50 n Parameters n: Minus 1 from the key number assigned when transport the data. 0≤n≤254 Description Print a transferred image on a current print position. If there is no image data, this command is ignored. This printer PC Abcdefg Image file (.bmp) ABCDEFG HIJK Example: Combination of text and downloaded image - 93 - 5. Control Command Details Must be downloaded beforehand Use P-touch Transfer Manager.
ESC/P Command Reference ESC i F P Print downloaded data ASCII: ESC i F Hexadecimal: 1B 69 46 P n 50 n Parameters n: Minus 1 from the key number assigned when transport the data. 0≤n≤254 Description Print a transferred image on a current print position. If there is no image data, this command is ignored. This printer PC Abcdefg Image file (.bmp) ABCDEFG HIJK Example: Combination of text and downloaded image - 93 - 5. Control Command Details Must be downloaded beforehand Use P-touch Transfer Manager.
ESC/ P Command Reference
Page 120
... 6D 31 00 00 Parameters None Description The default character code set setting is returned as 3-byte data. [1] 01h (Fixed) [2] 00h (Fixed) [3] Setting 00h: Standard character code set 01h: Eastern European character code set 02h: Western European character code set 03h: Reserved 04h: Japanese character code set . Remarks Invalid if n is a static command. ESC iXm2 Select default character code set ASCII: ESC i X Hexadecimal: 1B 69 58 m 2 01h 00h...
... 6D 31 00 00 Parameters None Description The default character code set setting is returned as 3-byte data. [1] 01h (Fixed) [2] 00h (Fixed) [3] Setting 00h: Standard character code set 01h: Eastern European character code set 02h: Western European character code set 03h: Reserved 04h: Japanese character code set . Remarks Invalid if n is a static command. ESC iXm2 Select default character code set ASCII: ESC i X Hexadecimal: 1B 69 58 m 2 01h 00h...
P-touch Template Manual/ Command Reference
Page 33
... Editor is ignored. Following models are inconsistent with P-touch Template 2.0. The Structured Append settings specified in P-touch Editor are invalid. GS1 Databar Truncated CC-A/CC-B - GS1 Databar Stacked Omni CC-A/CC-B - It is printed with those on the head of data" of data. The version setting must be turned off. Since the error correction levels for a QR Code specified in P-touch...
... Editor is ignored. Following models are inconsistent with P-touch Template 2.0. The Structured Append settings specified in P-touch Editor are invalid. GS1 Databar Truncated CC-A/CC-B - GS1 Databar Stacked Omni CC-A/CC-B - It is printed with those on the head of data" of data. The version setting must be turned off. Since the error correction levels for a QR Code specified in P-touch...
P-touch Template Manual/ Command Reference
Page 42
P-touch Template Command Details P-touch Template Command Details ^II Initialize ASCII: ^ II Hexadecimal: 5E 49 49 Parameters None Description Reverts all dynamic settings to the printer settings. (1) Print start trigger setting (2) Print start command text string (3) Print start received character count (4) Delimiter (5) Selected template number (6) Prefix character (7) Line feed command text string (8) Number of copies setting (9) QR Code version setting (10) Number of serialize (11) FNC1 replacement setting P-touch Template 2.0 Command Reference - 36 - 7. 7.
P-touch Template Command Details P-touch Template Command Details ^II Initialize ASCII: ^ II Hexadecimal: 5E 49 49 Parameters None Description Reverts all dynamic settings to the printer settings. (1) Print start trigger setting (2) Print start command text string (3) Print start received character count (4) Delimiter (5) Selected template number (6) Prefix character (7) Line feed command text string (8) Number of copies setting (9) QR Code version setting (10) Number of serialize (11) FNC1 replacement setting P-touch Template 2.0 Command Reference - 36 - 7. 7.
P-touch Template Manual/ Command Reference
Page 69
... the printer is retrieved. Setting and Retrieving Command Details When the setting is "when the specified text string is a value specified by a static command. Example The print start trigger is returned as 3-byte data. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Setting 00h: When the specified text string is received 01h: When all objects are filled 02h: When the specified number of...
... the printer is retrieved. Setting and Retrieving Command Details When the setting is "when the specified text string is a value specified by a static command. Example The print start trigger is returned as 3-byte data. [1]: 01h (Fixed) [2]: 00h (Fixed) [3]: Setting 00h: When the specified text string is received 01h: When all objects are filled 02h: When the specified number of...
P-touch Template Manual/ Command Reference
Page 122
... Initialize memory Clear format holding ~JP Initialize when printer turned on Printer setting Select print setting after error occurs Set language Set home position of label Set label length Reverse field data color Set horizontal print position Set vertical print position Clear data after printing Feed setting Print Mode Media setting Unit setting Mirror printing Upside-down printing Copy printing Set print width Set print density Serialization Serialization Reverse feed length setting when printing Print printer settings Print list of stored files Note ・TD-4XXX, RJ-4XXX, RJ-2XXX...
... Initialize memory Clear format holding ~JP Initialize when printer turned on Printer setting Select print setting after error occurs Set language Set home position of label Set label length Reverse field data color Set horizontal print position Set vertical print position Clear data after printing Feed setting Print Mode Media setting Unit setting Mirror printing Upside-down printing Copy printing Set print width Set print density Serialization Serialization Reverse feed length setting when printing Print printer settings Print list of stored files Note ・TD-4XXX, RJ-4XXX, RJ-2XXX...
P-touch Template Manual/ Command Reference
Page 144
... Template mode. (3) The conditions for the paper/the barcode is bigger than the print area If it is received If the settings described above are not met. The following three types of characters is determined that the barcode does not fit within the print area, the printer will not print the barcode. Example: To search for the key code...
... Template mode. (3) The conditions for the paper/the barcode is bigger than the print area If it is received If the settings described above are not met. The following three types of characters is determined that the barcode does not fit within the print area, the printer will not print the barcode. Example: To search for the key code...