Page 3 - Contents; Introduction
Contents Introduction 1 Configuring the Host Computer for RS-232 Serial Interface 3 RS-232 Settings 3 RS-232 Cabling 4 RS-232 Signal Levels 4 Programming Overview 5 Programming the LabelWriter Printer 5 Resetting the Printer 6 Command Parameters 6 Character Evaluation 6 16-Bit Character Parameters 6...
Page 7 - Chapter 1
Introduction The LabelWriter SE450 printer is a compact, thermal-transfer label printer. Featuring bothRS-232 serial and USB connections and including both an ASCII command set as well asraster printing modes, this printer can fit a wide variety of uses. The LabelWriter SE450 printer can be readily ...
Page 9 - Chapter 2
Configuring the Host Computer for RS-232 Serial Interface This chapter describes how to configure the host computer to communicate with theLabelWriter SE450 printer over an RS-232 serial interface. n RS-232 Settings n RS-232 Cabling n RS-232 Signal Levels For information about communicating with the...
Page 10 - Modular Plug
Configuring the Host Computer for RS-232 Serial Interface RS-232 Cabling RS-232 cable pinouts are shown in the table below. For details on RS-232 signal names,consult the RS-232 Standard documentation. Origination (Mod. 8 x 8) Termination (DB9S) Name Dir Description 1 8 RT S Out Printer is ready to ...
Page 11 - Programming Overview; Programming the LabelWriter Printer; Chapter 3
Programming Overview This chapter includes the information needed to control the LabelWriter SE450 printercorrectly using ASCII Escape commands (referred to as ESC commands throughout thisreference guide). Both basic and advanced topics are explained so that you understand howthe LabelWriter SE450 p...
Page 12 - Resetting the Printer
Programming Overview PRINT #1, “HE L L O WORL D” In a nutshell, that’s all there is to controlling the LabelWriter printer. Any formatting orspecial effect that you may need for your output can be specified simply and easily bysending the appropriate command characters and the data to be printed. Th...
Page 13 - Conversions
Programming the LabelWriter Printer To allow for longer distances to be specified, two 8-bit characters are used to specify thevalue, by combining them into one 16-bit character. Though the calculations are allperformed within the printer itself, it is important to understand how the characters areh...
Page 14 - Font Specifications; Objects
Programming Overview 710 base 10 = 0000001011000110 n1 binary = 00000010 or "2" decimal n2 binary = 11000110 or "198" decimal Font Specifications The table below lists the specifications for the five internal fonts the LabelWriter printersupports. Height and width are expressed in do...
Page 15 - Raster Mode; Orientation; Portrait Mode
Print Modes a top-of-form hole before this maximum feed distance is reached, it will stop at that point,rather than continuing. This command is only needed when dealing with continuous-feedpaper. Raster Mode The LabelWriter SE450 command set includes most of the commands included in thecommand set f...
Page 16 - Landscape Mode; Text Objects
Programming Overview Certain commands are disabled or work differently while the printer is in portrait mode.Exact details can be found with each command’s description. Landscape Mode By using the set print orientation command (GS V), you can configure the LabelWriterprinter for landscape printing. ...
Page 17 - Barcode Objects
Barcode Objects command. While a text object is active, commands that alter text line attributes (such asfont and double-height character commands) are ignored. Commands that alter text characterattributes (such as double wide and inverse) may be sent at any time. Line attributes include the five ba...
Page 18 - Graphic Objects; Line Objects; See Also
Programming Overview parameter specifies whether a fixed amount of data will be sent or whether delimiters willbe used. In either case, the data sent must match the parameter setting. If a fixed number ofcharacters are specified, then the exact number of characters specified must be sent. Ifdelimite...
Page 19 - Command Reference; Alphabetical Command List; Chapter 4
Command Reference This chapter describes the commands you can use to program your LabelWriter SE450printer. Below are some of the things you can do with the commands: n Send line feeds and carriage returns n Define barcode size and position n Read firmware revision and printer status information n D...
Page 21 - Commands by Function; Position Control
Commands by Function NAME DESCRIP TION GS L n1 n2 Set Feed L ength GS l n1 n2 l1 l2 m Draw L ine in L andscape Mode GS q n m d1 … dk Print UPC/E AN Checksum GS RS Set Inverse Print Mode GS S Return Printer Status GS T n Select L ine Wrap/T runcate Modes GS t n Set Characters per L ine (L andscape) G...
Page 22 - Font Control
Command Reference NAME DESCRIP TION CR Carriage Return ESC J n Feed n Sublines ESC X n1 n2 Set Horizontal Starting Position ESC Y n1 Set Vertical Starting Position GS T n Select L ine Wrap/T runcate Modes GS V n Set T ext and Bar Code Orientation GS d n Feed n T ext L ines GS t n Set Characters per ...
Page 23 - Barcodes; Miscellaneous
Commands by Function NAME DESCRIP TION SO Set Font to Double Wide Mode Barcodes NAME DESCRIP TION GS A n1 n2 Barcode Start Position GS W Thin Thick Set Barcode E lement Width GS h n Set Barcode Height GS k n m d1 … dk Print Barcode GS w n Set Barcode Module Width Miscellaneous NAME DESCRIP TION ESC ...
Page 24 - Raster Compatibility; Commands; 0h - FFh Printable Characters; Description
Command Reference Raster Compatibility NAME DESCRIP TION SYN Raster Mode Graphics ETB Raster Mode Compressed Graphics ESC * Reset to Defaults ESC @ Reset Printer to Power-up Condition ESC A Return Printer Status ESC B Set Dot T ab ESC D Set Bytes per L ine ESC E Form Feed ESC L Set Feed L ength ESC ...
Page 25 - CR Carriage Return
Commands These characters, while not part of an escape (command) sequence, will be printed usingthe currently selected font. The standard, printable ASCII characters are associated withtheir normal values, which range from decimal value 32 to decimal value 127. Theextended ASCII character set is als...
Page 26 - ESC A Return Printer Status
Command Reference ESC A Return Printer Status Description Provided for LabelWriter printer raster compatibility. ESC A is identical to the GS Scommand described in this guide. See the description of the GS S command forinformation on how to return the printer status. See Also GS S ESC a Return Hardw...
Page 27 - ESC c Set Print Temperature to Low; ESC d Set Print Temperature to Medium
Commands ESC c Set Print Temperature to Low Used to adjust the printing strobe. This command is also supported by the LabelWriter SE300 and the LabelWriter 400 and450 series printers. Expression ASCII E SC c Decimal 27 99 Hex 1B 63 Paramenters None ESC D Set Bytes per Line Description Provided for L...
Page 28 - ESC E Form Feed; ESC e Set Print Temperature to Default
Command Reference ASCII E SC d Decimal 27 100 Hex 1B 64 Parameters None ESC E Form Feed Description Prints the contents of the text buffer and advances the print media. The distance themedia will advance depends on two factors: the feed distance specified by the GS L command and the presence of a pu...
Page 30 - ESC L Set Feed Length; ESC M Set Font to 12 cpi
Command Reference ASCII E SC J n Decimal 27 74 n Hex 1B 4A n Parameters n = the desired number of sublines to feed ESC L Set Feed Length Description Provided for LabelWriter raster compatibility. See the GS L command for information. See Also GS L ESC M Set Font to 12 cpi Description Changes to the ...
Page 31 - ESC P Set Font to 16 cpi
Commands Font Height Width Horizontal cpi Vertical cpi E SC P 24 12 16.9 8.4 E SC M 32 16 12.7 6.4 E SC U 32 20 10.2 6.4 E SC T 56 28 7.3 3.6 ESC P Set Font to 16 cpi Description Changes to the 16 cpi mini font. The cell dimension is 24 H x 12 W. Fonts may only be changed at the beginning of a line,...
Page 32 - ESC Q Set Top Margin
Command Reference ESC Q Set Top Margin Description Provided for LabelWriter raster compatibility. ESC S Set Font to 20 cpi Description Changes to the 20 cpi micro font. The cell dimension is 16 H x 10 W. Fonts may only be changed at the beginning of a line, prior to any printable characters.This fon...
Page 33 - ESC U Set Font to 10 cpi
Commands Fonts may only be changed at the beginning of a line, prior to any printable characters.This font will remain in effect until the printer is reset (by the ESC @ or ESC * command) or another font is selected. See Also ESC M ESC P ESC S ESC U Expression ASCII E SC T Decimal 27 84 Hex 1B 54 Pa...
Page 34 - ESC V Return Firmware Revision
Command Reference Expression ASCII E SC U Decimal 27 85 Hex 1B 55 Parameters None F ont Height Width Horizontal cpi Vertical cpi E SC S 16 10 20.3 12.7 E SC P 24 12 16.9 8.4 E SC M 32 16 12.7 6.4 E SC U 32 20 10.2 6.4 E SC T 56 28 7.3 3.6 ESC V Return Firmware Revision Description Returns ten ASCII ...
Page 35 - ESC X Set Horizontal Starting Position; ESC Y Set Vertical Starting Position
Commands n2 are received successfully by the host, you can be reasonably assured that there is a LabelWriter printer attached connected and your program can communicate with theprinter. Expression ASCII E SC W n1 n2 Decimal 27 87 n1 n2 Hex 1B 57 n1 n2 Parameters n1 first character to echo n2 second ...
Page 36 - ESC * Reset to Defaults
Command Reference This command is used in landscape printing to set a new offset from the top marginfrom which to begin printing text and barcode objects. Distance is specified inmillimeters. The LabelWriter SE450 print head is 56 millimeters wide. Expression ASCII E SC Y n Decimal 27 89 n Hex 1B 59...
Page 37 - Parameters; ETB Raster Mode Compressed Graphics
Commands See Also ESC * Expression ASCII E SC @ Decimal 27 64 Hex 1B 40 Parameters None ETB Raster Mode Compressed Graphics Description Provided for LabelWriter printer raster compatibility. The ETB command is a synchronization character used to encode compressed rasterbitmap print data. Print data ...
Page 38 - FF Form Feed
Command Reference 16 white pixels16 printed pixels Total 192 pixels = 24 bytes x 8 Using the ETB command, along with the ESC D and ESC B commands, can drasticallyreduce the number of data bytes required to form a print image. Refer to the descriptionof the SYN command for more information on printin...
Page 39 - GS A Starting Position of Bar Code; GS DC2 Set Font to Double Height
Commands None GS A Starting Position of Bar Code Description Defines the distance from the left where the first barcode will print. The distance isrepresented in n /203 inch (dot) increments. This command is used to center a barcode on a text line. Expression ASCII GS A n1 n2 Decimal 29 65 n1 n2 Hex...
Page 40 - GS DC3 Cancel Double Height
Command Reference GS DC3 Expression ASCII GS DC2 Decimal 29 18 Hex 1D 12 Parameters None GS DC3 Cancel Double Height Description Cancels the double-height characters and returns the font to normal size. This commandmust be sent at the beginning of a line, before any printable characters. See Also GS...
Page 41 - GS h Set Barcode Height; GS k Print Barcode
Commands GS h Set Barcode Height Description Defines the height of the bars (in dots) for barcodes. The height is defined in n /203 inch increments. For example, specify 203 as the value for n to print a 1-inch high barcode. The barcode height is always rounded up to the next multiple of 8. Expressi...
Page 42 - Data Matrix Barcode
Command Reference Character Value Barcode Symbology n = 2 E AN/UPC Auto m = 6 UPC - E m = 7 EAN-8 m = 8 invalid m = 9 UPC-E + 2 m = 10 UPC Auto (UPC-E/UPC-A) m = 11 UPC-A m = 12 UPC-E + 5, EAN-13 m = 13 UPC-Auto + 2 m = 14 UPC-A + 2 m = 15 EAN-13 + 2 m = 16 UPC-Auto + 5 m = 17 UPC-A + 5 m = 18 EAN-1...
Page 43 - Supported Square Data Matrix Symbol Sizes
Commands For Data Matrix encoding, the LabelWriter SE450 printer supports only basic ASCIIcharacters 0x00-0x7F. Data Matrix barcodes are only supported for 203 x 203 dpi modes. They are not supportedfor 203 x 136 dpi modes. Parameters n 15 (0x0F) t option byte Bit 7: “Numbers-only” compression. Uses...
Page 44 - Supported Rectangular Data Matrix Symbol Sizes
Command Reference Rows Columns Number of Encodable ASCII bytes Encodable numeric bytes with "Numbers-only" compression 10 10 3 6 14 14 8 16 18 18 18 36 22 22 30 60 26 26 44 88 36 36 86 172 44 44 144 288 52 52 204 408 72 72 368 736 88 88 576 1152 104 104 816 1632 Supported Rectangular Data Ma...
Page 47 - GS l Draw Line in Landscape Mode
Commands e = user defined error correction level (0 to 8), if it is 0 which means the error correctionlevel will be set according to PDF417 specification. It will be assigned as per the followingTable: Error Correction Level Error Correction Codewords Number of Data Codewords 0 2 -- 1 4 1-40 2 8 1-4...
Page 48 - Example
Command Reference Parameters n1 most significant byte of the offset from the left (in dots) n2 least significant byte of the offset from the left (in dots) L1 most significant byte of the line length (in dots) L2 least significant byte of the line length (in dots) where: offset = inches/203 = ( n1 *...
Page 49 - GS L Set Feed Length; Expression
Commands GS L Set Feed Length Description Sets the distance the print media will advance upon receipt of a form feed ( FF or ESC E ) command. The distance is defined as n /203 inches. The number of dots = n1 * 256 + n2 . Expression ASCII GS L n1 n2 Decimal 29 76 n1 n2 Hex 1D 4C n1 n2 Parameters n1 t...
Page 50 - GS q Print UPC/EAN Checksum; GS RS Set Inverse Print Mode
Command Reference GS q Print UPC/EAN Checksum Description Prints the checksum digit for the specified barcode. The checksum digit is printed in thecurrent font, at the current text position. Currently the only supported symbologies arethe UPC/EAN barcodes. Expression ASCII n m d1…dm Decimal n m d1…d...
Page 51 - GS S Return Printer Status; Returns
Commands GS S Return Printer Status Description Returns a single status byte. The printer status is determined by testing the individualbits within the returned status byte. Only bits that have defined values should be tested.Do not test bits designated as reserved. When polling for the status byte,...
Page 52 - GS T Select Line Wrap/Truncate Modes
Command Reference GS T Select Line Wrap/Truncate Modes Description Determines how to handle a text wrap condition. A text wrap condition occurs whentext extends beyond the end of a line or a page. The default is to wrap at the end of aline and a page. Expression ASCII GS T n Decimal 29 84 n Hex 1D 5...
Page 53 - GS US Cancel Inverse Print Mode
Commands GS US Cancel Inverse Print Mode Description Cancels the inverse print mode (white on black) and returns text back to its normalattributes for the remainder of the current line. See Also GS RS Expression ASCII GS US Decimal 29 31 Hex 1D 1F Parameters None GS u Set Characters per Line in Port...
Page 54 - GS V Set Print Orientation
Command Reference GS V Set Print Orientation Description Causes the LabelWriter printer to print the data stored in the print buffer and thenchange to the selected orientation. See Also GS t Expression ASCII GS V n Decimal 29 86 n Hex 1D 56 n Parameters n Specifies the orientation and speed/resoluti...
Page 55 - GS w Set Barcode Module Width; GS ~ Enter Debug Mode
Commands ASCII GS W Thin Thick Decimal 29 87 Thin Thick Hex 1D 57 Thin Thick Parameters Thin thickness of thin bars Thick thickness of thick bars GS w Set Barcode Module Width Description Selects the horizontal size of a barcode module. The parameter n represents the thickness of the thin bars (in d...
Page 56 - GS * Landscape Mode Graphics
Command Reference GS * Landscape Mode Graphics Description Prints a graphic image (in landscape mode only). Expression ASCII GS * n1 n2 t h w d1…dm Decimal 29 42 n1 n2 t h w d1…dm Hex 1D 2A n1 n2 t h w d1…dm Parameters n1 most significant byte of left offset n2 least significant byte of left offset ...
Page 57 - HT Horizontal Tab; LF Line Feed; SO Set Font to Double Wide Mode
Commands HT Horizontal Tab Description Moves cursor position to next multiple of eight single-width characters. Note thatdouble-width characters count as two single-width characters. If the HT command causes the cursor to move beyond the printable area, the text will wrap to the next line. Expressio...
Page 58 - SYN Raster Mode Graphics
Command Reference Causes all the text that follows the command on the same line to be printed as double-wide characters. Double-wide characters are canceled by a line feed ( CR or LF ) or the DC4 command. Double wide is a character attribute and is available on a character-by-character basis.Double-...
Page 59 - The Caret Feature; Activating the Caret Feature
The Caret Feature required because this amount exceeds the longest possible string of bitmap data bytesthat the LabelWriter printer expects. See Also ESC B ESC D ETB Expression ASCII SYN d1 … dn Decimal 22 d1 … dn Hex 16 d1 … dn Parameters d1 … dn = n bytes of bitmap print data (max 56 bytes for L a...
Page 61 - Character Codes
The Caret Feature Character Codes Below is a list showing the ASCII codes from 1 to 255. The list shows the ASCII charactersand names, and the corresponding decimal, hexadecimal, and binary values. Char Name Decimal Hex Binary None NUL 0 00 0000 0000 ^A SCH 1 01 0000 0001 ^B STX 2 02 0000 0010 ^C ET...
Page 71 - Configuration Menu; Chapter 5
Configuration Menu The LabelWriter SE450 printer has a Printer Configuration Menu built into the firmware.Through this menu, flash memory settings such as baud rate and feed distance can bechanged. Flash memory settings remain in effect even after power has been removed fromthe printer. The Printer ...
Page 73 - Printer Specifications; Hardware Specifications; USB; Print Head Specifications; Chapter 6
Printer Specifications This section covers hardware specifications for the LabelWriter SE450 printer. n Hardware specifications n Interface specifications n Print head specifications Hardware Specifications This section lists printer, interface, print head, and printing specifications. For additiona...
Page 75 - USB Settings; USB Vendor ID; Serial Interface Specifications
USB Settings USB Settings The LabelWriter SE450 printer communicates with the host computer using a full-speedUSB 2.0 interface. This interface also operates with USB Version 1.1 or later. The printerimplements the standard USB Printer Class Device interface for communications (seewww.usb.org/develo...