Software Developer’s Manual CPCL Emulation Guide RJ-2035B/RJ-2055WB/RJ-3035B/RJ-3055WB Version 1.
The Brother logo is a registered trademark of Brother Industries, Ltd. Brother is a registered trademark of Brother Industries, Ltd. © 2020 Brother Industries, Ltd. All rights reserved. Other software and product names described in this document are trademarks or registered trademarks of the respective developers. Any trade names and product names of companies appearing on Brother products, related documents and any other materials are all trademarks or registered trademarks of those respective companies.
Important Notices This document provides information for the mobile printer RJ-2035B/2055WB/3035B/3055WB (hereinafter referred to as “RJ Printer” and is available for use only if you agree to the following conditions: Use Conditions This document may be used and duplicated only to the extent necessary for customers’ own use of the RJ Printer. The contents of this document may not be duplicated or reproduced, partially or in full, without permission. No Warranty a.
Table of Contents 1. Introduction ······················································································· 2 2. CPCL Emulation Support Commands ···················································· 3 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 Printer Commands ............................................................................... 3 Pre-scaled Text .................................................................................... 3 Scalable Text ........................................
1. Introduction CPCL emulation allows RJ Printers to interpret CPCL commands.
2. CPCL Emulation Support Commands 2.1 Printer Commands Function CPCL Description Printer Command ! {offset} <200> <200> {height} {qty} Enter and configure a CPCL label session. PRINT PRINT Terminate a CPCL label session and print the file. END END Terminate a command and execute it without printing. ABORT ABORT Terminate the current control session without printing. FORM FORM Instruct the printer to feed to top of form after printing.
Function CPCL Description FG {fg fn fs} [fn fs] ... Define font groups. CONCAT {x} {y} {font} {size} {offset} {data} """" {font} {size} {offset} {data} ENDCONCAT Assign different character styles to strings, printing them with uniform spacing on the same text line. VCONCAT {x} {y} {font} {size} {offset} {data} """" {font} {size} {offset} {data} ENDCONCAT Assign different character styles to strings, printing them with uniform spacing on the same text line.
2.4 Linear Barcode Function CPCL Description BARCODE (or B) {type} {width} {ratio} {height} {x} {y} {data} Print barcodes in both vertical and horizontal VBARCODE (or VB) {type} {width} orientations at specified widths and heights. BARCODE {ratio} {height} {x} {y} {data} Note: For more information on the barcode type and ratio, see Appendix B: Supported Barcode. 2.
Function CPCL Description BARCODE (or B) MAXICODE {x} {y} {tag} {options} MAXICODE """" Print a MaxiCode. {tag} {options} ENDMAXICODE BARCODE (or B) QR {x} {y} [M n] [U n] QR Code Print a QR Code. {data} ENDQR BARCODE (or B) AZTEC {x} {y} [XD n] [EC n] Aztec Barcode Print an Aztec Barcode. {data} ENDAZTEC 2.7 Graphics Function CPCL Description BOX BOX {x0} {y0} {x1} {y1} {width} Insert rectangular shapes and specify their LINE INVERSE-LINE line thickness.
2.8 Advanced Commands Function CPCL Description CONTRAST {level} {level}: Contrast level Specify the print darkness for the entire label. 0: Default CONTRAST The TONE and CONTRAST commands 1: Medium cannot be used together. 2: Dark 3: Very Dark Specify the print darkness for all labels. The TONE TONE {level}: select a value from -99 to 200 TONE and CONTRAST commands cannot be used together. CENTER CENTER [end] Center all subsequent fields. LEFT LEFT [end] Left-align all subsequent fields.
Function CPCL Description contents of line print memory. Change the font that the printer uses for Line SETLP ! U1 SETLP {font name or Mode. It also specifies the amount of space number} {size} {unit height} the printer will move down when the printer receives a carriage return (hex value 0x0d). Change the height of each line without SETLF ! U1 SETLF {unit height} changing the font.
2.10 Escape Commands Item CPCL Description ESC (0x1b) ‘h’ (0x68) bit 4: Printer reset Get Printer Status bit 3: Battery status Request a status byte from the printer. bit 2: Latch status bit 1: Paper status bit 0: Printer status Get Printer ESC (0x1b) ‘v’ (0x76) Information bit 4: Paper Jam Get Extended Request the printer information. Request the extended status byte from the ESC (0x1b) ‘i’ (0x69) Printer Status printer.
Appendix A: Font Specification The font specifications compatible with RJ Printer CPCL Emulation are as follows: Built-in Font Font Name Font Size 0 0/1/2/3/4/5/6 1 0 2 0/1 4 0/1/2/3/4/5/6/7 5 0/1/2/3 6 0 7 0/1 Fixed Font 10
Appendix B: Supported Barcodes Select the barcode type and ratio you want when using BARCODE command. See section 2.4: Linear Barcode. {type} Barcode Name CPCL UPC-A UPCA, UPCA2, UPCA5 UPC-E UPCE, UPCE2, UPCE5 EAN/JAN-13 EAN13, EAN132, EAN135 EAN/JAN-8 EAN8, EAN82, EAN 85 Code 39 39, 39C, F39, F39C Code 93/Ext.
Appendix C: Line Mode and Page Mode Your printer can send CPCL commands in either Page Mode or Line Mode. Make sure that you set the printer to the mode suitable for your print job. The printer enters Page Mode automatically when you launch the Brother Printer Management Tool (BPM). In this mode you can also change the printer settings. • To enter Line Mode Click Printer Function > Enter Line Mode in the BPM. • To return to Page Mode Restart the BPM or click Printer Function > Exit Line Mode in the BPM.