Epson SE450 User Manual

0 (0)
Technical Reference
®
®
DYMO LabelWriter SE450 Label Printer
Copyright
© 2010 Sanford, L.P. All rights reserved. Revised 7/26/2010. No part of this document or the software may be reproduced or transmitted in any form or
by any means or translated into another language without the prior written consent of Sanford, L.P.
LabelWriter and DYMO are trademarks or registered trademarks of Sanford, L.P. All other trademarks are the property of their respective holders.
Description: Direct Thermal Printer Model: LabelWriter SE450
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC (Federal Communications Committee) rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses, and can radiate radio frequency energy, and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.
However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try correcting the interference by one or more of the following measures:
n Reorient the receiving antenna. n Increase the separation between the equipment and the receiver. n Connect the equipment to an outlet on a circuit different from that to which the receiver
is connected.
n Use shielded cables to connect this device to computers. n Consult the dealer or an experienced radio/TV technician for help. n Changes or modifications to this unit not expressly approved by the party responsible
for compliance could void the user’s authority to operate the equipment and void the manufacturer’s warranty.
Certification
This device has been tested and complies with the requirements of:
UL 1950 EN60950: Low Voltage Directive Product Safety FCC Part 15 Class B EN55022: Radiated and Conducted Emissions B EN50082-1: Generic Immunity ESD, RF, and Transient Susceptibility
i
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 Conversions 7
Font Specifications 8 Objects 8 Print Modes 8
Raster Mode 9
Orientation 9
Portrait Mode 9
Landscape Mode 10 Text Objects 10 Barcode Objects 11 Graphic Objects 12 Line Objects 12
Command Reference 13
Alphabetical Command List 13 Commands by Function 15
Position Control 15 Font Control 16 Barcodes 17 Miscellaneous 17 Printable Characters 17 Raster Compatibility 18
Commands 18
20h - FFh Printable Characters 18
iii
CR Carriage Return 19 DC4 Cancel Double Wide Mode 19 ESC A Return Printer Status 20 ESC a Return Hardware Status 20 ESC B Set Dot Tab 20 ESC c Set Print Temperature to Low 21 ESC D Set Bytes per Line 21 ESC d Set Print Temperature to Medium 21 ESC E Form Feed 22 ESC e Set Print Temperature to Default 22 ESC F 1 n Feed n Lines 23 ESC g Set Print Temperature to High 23 ESC h Set Print Speed to Fast 23 ESC i Set Printing Speed to Barcode 23 ESC J Feed n Lines 23 ESC L Set Feed Length 24 ESC M Set Font to 12 cpi 24 ESC P Set Font to 16 cpi 25 ESC Q Set Top Margin 26 ESC S Set Font to 20 cpi 26 ESC T Set Font to 7 cpi 26 ESC U Set Font to 10 cpi 27 ESC V Return Firmware Revision 28 ESC W Wrap Data 28 ESC X Set Horizontal Starting Position 29 ESC Y Set Vertical Starting Position 29 ESC y Set 203 x 203 dpi 30 ESC z Set 136 x 203 dpi 30 ESC * Reset to Defaults 30 ESC @ Reset to Power-up Condition 30 ETB Raster Mode Compressed Graphics 31 FF Form Feed 32 GS A Starting Position of Bar Code 33 GS DC2 Set Font to Double Height 33 GS DC3 Cancel Double Height 34 GS d Feed n Text Lines 34 GS h Set Barcode Height 35 GS k Print Barcode 35 Data Matrix Barcode 36
iv
PDF417 2D Barcode 39 GS l Draw Line in Landscape Mode 41 GS L Set Feed Length 43 GS q Print UPC/EAN Checksum 44 GS RS Set Inverse Print Mode 44 GS S Return Printer Status 45 GS T Select Line Wrap/Truncate Modes 46 GS t Set Characters per Line in Landscape 46 GS US Cancel Inverse Print Mode 47 GS u Set Characters per Line in Portrait 47 GS V Set Print Orientation 48 GS W Set Bar Code Element Width 48 GS w Set Barcode Module Width 49 GS ~ Enter Debug Mode 49 GS * Landscape Mode Graphics 50 HT Horizontal Tab 51 LF Line Feed 51 SO Set Font to Double Wide Mode 51 SYN Raster Mode Graphics 52
The Caret Feature 53
Activating the Caret Feature 53 Using the Caret Feature 53
Character Codes 55
Configuration Menu 65
Printer Specifications 67
Hardware Specifications 67 Interface Specifications 67 Print Head Specifications 67 USB Settings 69 Serial Interface Specifications 69
v
This page intentionally left blank for double-sided printing.
vi
Chapter 1

Introduction

The LabelWriter SE450 printer is a compact, thermal-transfer label printer. Featuring both RS-232 serial and USB connections and including both an ASCII command set as well as raster printing modes, this printer can fit a wide variety of uses.
The LabelWriter SE450 printer can be readily connected to most common computer systems using the included Windows, Mac or Linux drivers. Or, for driver-less applications, the printer can be connected and driven entirely by ASCII Escape commands. This makes the LabelWriter SE450 an ideal printer to use in embedded applications, including medical devices, paint matching systems, and so on.
The LabelWriter SE450 printer can accept label material up to 62 mm (2.44") wide, and has a 57 mm (2.24") wide, 203 dot-per-inch (dpi) print head.
This Technical Reference provides all the information you need to be able to print labels with the LabelWriter SE450 printer.
In addition, Windows and Mac sample code is available on the CD that came with the LabelWriter SE450 printer.
In this Technical Reference, you will find:
n Information about how to configure the host computer to communicate with the
LabelWriter SE450 over an RS-232 serial interface.
n Information about programming the LabelWriter SE450 printer n A list of commands by function n A complete alphabetical command reference n A complete list of the standard and extended ASCIIcharacter codes supported by the
printer
n Instructions for configuring the printer n Printer specifications
As an additional resource, visit the Developer's Forum on the DYMOWeb site.
1
This page intentionally left blank for double-sided printing.
2
This chapter describes how to configure the host computer to communicate with the LabelWriter 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 host computer using the USB port, see the sample code located on the LabelWriter SE450 CD that came with the printer.

RS-232 Settings

Chapter 2
Configuring the Host
Computer for RS-232
Serial Interface
In order for the host computer to communicate with the LabelWriter SE450 printer, the communication parameters must be set as follows:
Baud Rate 9600
Data Bits 8
Stop Bits 1
Parity None
These settings can often be set using a BIOS setup program or an Operating System Control Panel application. For embedded applications, you may need to build these settings into the embedded system's initialization code.
Most languages provide a command or function to initialize a serial port. If programming under Windows using Microsoft C/C++, use the function:
bios_serialcom()
Other C compilers offer a similar function. Consult your compiler user guide for the appropriate function to use to configure a serial port.
If you are using the Unix OS, you’ll need to configure the RS-232 port as a dumb printer port, with no special handling, control characters or form feeds. The LabelWriter printer will handle these functions internally.
3
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)
1 8 RTS Out Printer is ready to receive data
2 3 RX In Data to the printer
3 2 TX Out Data from the printer
4 5 GND -- Signal, earth, and power ground
5 7 CTS In Depends on software selection
6 6 DTR Out Indicate printer is online
Modular Plug
Termination
(DB9S)
Name Dir Description

RS-232 Signal Levels

The serial interface uses standard RS-232 signal levels as shown in the table below:
RS-232 signal levels.
Signal Level Input Output
MARK (1) -27 V to -5 V -5 V
SPACE (0) +5 V to +27 V +12 V
4

Programming Overview

This chapter includes the information needed to control the LabelWriter SE450 printer correctly using ASCII Escape commands (referred to as ESC commands throughout this reference guide). Both basic and advanced topics are explained so that you understand how the LabelWriter SE450 printer works.

Programming the LabelWriter Printer

The first step in controlling the LabelWriter SE450 printer is to understand how the printer works.
As an ASCII-based printer, the LabelWriter SE450 printer accepts 8-bit ASCII characters as both data and commands. The ASCII character table shows the relationship between the 8­bit values and the characters they represent.
The ASCII Table contains both "Printable" characters (with values 32 - 127 decimal) which are normally just printed, and non-printable, control commands that the printer interprets as action commands (form-feed for example).
Chapter 3
As the printer reads character input from the controlling device, it interprets the data as characters to be printed, or commands, and acts accordingly. This means that sending data and commands to the printer is usually as simple as transmitting the characters from your program to the port to which the printer is connected.
A simple program to print ‘Hello World’ on the LabelWriter printer might look as follows if written in BASIC.
OPEN “COM1:9600,n,8,1” FOR OUTPUT AS #1
PRINT #1, “HELLO WORLD”
The "OPEN..." line above opens the selected COMport for printing and initializes the communication settings while the "PRINT..." line sends the data to the printer.
Commands can be sent to the printer in exactly the same way. For example, if you wanted to change the font which “Hello World” was printed into a 7-characters-per-inch font, you could look in this manual and find that the required command characters to do this are ESC and T. ESC refers to the Escape character. By checking the ASCII character table, you would find that the ESC character has a decimal value of 27. With this information, you can construct the following program to print ‘Hello World’ in a 7-characters-per-inch font.
OPEN “COM1:9600,n,8,1” FOR OUTPUT AS #1
PRINT #1, CHR$(27); “T”;
5
Programming Overview
PRINT #1, “HELLO WORLD”
In a nutshell, that’s all there is to controlling the LabelWriter printer. Any formatting or special effect that you may need for your output can be specified simply and easily by sending the appropriate command characters and the data to be printed.
The next few sections cover the ins, outs, and general information that you should know before programming the LabelWriter printer.

Resetting the Printer

Each print job should begin with a printer reset command. This ensures that the printer always begins in a known state. The command characters used to reset the LabelWriter printer are ESC (decimal value 27) followed by * (decimal value 42).

Command Parameters

When sending a command, all of the command characters and parameters that make up a command must be sent, without intervening characters. This is especially important when using the barcode and graphics commands. Sending fewer characters than specified for the command will either cause the command to fail or result in subsequent data being lost.

Character Evaluation

Most of the parameters that are sent to the LabelWriter printer are evaluated based on their decimal value. It is very important to have a good understanding of what this means.
The ASCII character that is represented by a ‘3’ does not have a decimal value of 3 (the character '3' has a decimal value of 51, as listed in the character code table).
Some people find it easy to think of the ASCII table as a table of 8-bit BYTE values, and these byte values represent the characters shown in the table. Since a SPACE character has a value of 32 decimal, a byte value of 32 decimal needs to be sent to represent a space in character output.
Some commands accept parameters by either their decimal value or the representative character. For example, the set print orientation command (GS V) interprets both a NULL (ASCII decimal value of 0) and the ‘0’ character as meaning the same thing. This ensures backwards compatibility with the original LabelWriter SE printer and should not be assumed to be true for all commands in general.

16-Bit Character Parameters

The maximum value a single 8-bit character can represent is 255. Some commands, though, can take values that are greater than 255.
The set horizontal starting position command (ESC X), for example, specifies a distance (in dots) that the next text object will print from the left margin. Because a dot is only 1/8th of a millimeter, a value of 255 would place the object only a little over 31 mm from the left margin.
6
Programming the LabelWriter Printer
To allow for longer distances to be specified, two 8-bit characters are used to specify the value, by combining them into one 16-bit character. Though the calculations are all performed within the printer itself, it is important to understand how the characters are handled.
The decimal value of the first character that is sent (usually noted as n1) is multiplied by
256. The decimal value of the second character sent (usually noted as n2) is then added to this.
The following illustration is a graphical representation of how this works.
To send a value under 256 to a command that takes the n1 n2 parameters, simply send the first character with a 0 value. For values greater than 256 but less than 512, the first parameter should be sent with a value of 1. For values greater than 512 but less than 768, the first parameter should be set to 2, and so on.

Conversions

Converting from dots to inches using the n1 n2 parameters can seem a bit challenging at first, but is really no more complex than multiplication and division. The table below lists some common values and their relationship.
Inches Dots n1 n2
0.5 101 0 101
1.0 203 0 203
1.5 304 1 48
2.0 406 1 150
2.5 507 1 251
3.0 609 2 97
3.5 710 2 198
4.0 812 3 44
To convert from a value shown in the Dots column, convert the Dots value to binary, and then convert the top eight bits to base 10 for n1 and the bottom eight bits to decimal for n2.
For example:
7
Programming Overview

Font Specifications

The table below lists the specifications for the five internal fonts the LabelWriter printer supports. Height and width are expressed in dots.
710 base 10 = 0000001011000110
n1 binary = 00000010 or "2" decimal n2 binary = 11000110 or "198" decimal

Objects

Font Setting
Command
ESC S 16 10 20.3 12.7
ESC P 24 12 16.9 8.4
ESC M 32 16 12.7 6.4
ESC U 32 20 10.2 6.4
ESC T 56 28 7.3 3.6
Height Width Horizontal cpi Vert ical cpi
Objects are the basic units printed by the LabelWriter printer. An object can be either a line of text, a barcode, a landscape graphic, a landscape line, or a raster dot line. Each of these objects has different rules relating to them. These rules are discussed later in this section.
Objects can also be either active or completed. An active object is one that is still receiving the data that composes it. A completed object is one that has been terminated. A line of text that has not yet received a line feed or carriage return is a good example of an active object. Until a terminator character, such as a line feed, is sent, more text characters can be added to the text object. Barcode and graphic objects do not require special terminator characters (such as line feeds). Instead they are considered complete as soon as they receive the correct amount of data.

Print Modes

8
Before we move on to discuss the specific objects that the LabelWriter printer supports, it is important to cover the different print modes in which the LabelWriter may print the objects.
The LabelWriter printer includes three modes of printing: raster (bitmap graphics) mode, portrait printing mode, and landscape printing mode. Each mode operates under very different rules. These rules are detailed in the sections that follow.
The LabelWriter printer may be in only one print mode at a time. Multiple areas may be printed in different print modes on a single label, but these areas may not overlap.
In any mode, the set feed length command (GS L) is used to determine how far the LabelWriter printer will feed in search of a top-of-form hole. If the LabelWriter printer finds

Raster 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-feed paper.
The LabelWriter SE450 command set includes most of the commands included in the command set for the LabelWriter 450 series printers, as well as the ASCII commands that are included in this Technical Reference. The two commands not available nor applicable to the LabelWriter SE450 printer are ESC G and ESC q (used to change rolls for the LabelWriter 450 Twin Turbo).
Raster mode refers to printing using the LabelWriter 450 printing commands, and is most often used when using printer drivers to print from Windows, Mac, or Linux computers. Because the LabelWriter 450 commands are an inherent part of the LabelWriter SE450, there are no special commands to switch to raster mode. Data may be sent exactly as though it were being sent to a LabelWriter 450 series printer and the LabelWriter SE450 will process and print the data correctly.
If you need to create your own printer driver for an embedded device or an unsupported operating system, refer to the LabelWriter 450 Series Technical Reference for full details.

Orientation

Portrait Mode
In raster mode, each dot line is a complete object and is printed as soon as it is processed. Because of this, a raster dot line should not be sent while a label is being constructed using ASCII commands.
By default, the LabelWriter SE450 is set for portrait printing. The page orientation can be changed to landscape printing using the GS V command.
n Portrait Mode n Landscape Mode
In portrait mode, text characters travel out of the printer from the top of the character to the bottom. It is also possible to switch to this mode using the set print orientation command (GS V). The printer is set to portrait mode by default.
Portrait mode is also referred to as immediate mode printing, because each object that is sent to the printer while the printer is in portrait mode is printed as soon as the object is completed. No two objects may be printed on the same line in this mode because the paper is advanced as each object is completed and printed.
9
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 LabelWriter printer for landscape printing. In landscape printing, text characters travel out of the printer from the left side of the character to the right. Before the printer can be switched to landscape printing though, you must send the set characters per line command (GS t). The set characters per line command defines the width of the landscape page.
A landscape page is defined as the area allocated by the LabelWriter printer in which landscape text, graphics, barcode, and line objects may be printed. The height of this landscape page always equals the width of the print head. The width of the landscape page is calculated when the set characters per line command (GS t) is sent. The width of the page is equal to the number of characters per line multiplied by the width of the current font. The default font is 16 dots wide (2 mm) and the default number of characters per line is 80.
In landscape mode, completed objects are placed within a memory buffer in the printer and are only printed when the landscape page is terminated. A form feed (FF) character is normally used to terminate a landscape page. This causes the printer to print the objects that have been placed on the landscape page and advance to the next label.

Text Objects

After a landscape page is printed, the LabelWriter printer will remain in landscape mode. If more objects are sent to the printer, a new landscape page will be allocated, with a width equal to the previous page. To change the width of a landscape page, you must send the set characters per line command (GS t) followed by the set print orientation command (GS V).
Because the LabelWriter printer does not print objects immediately, multiple objects can be placed on the same line. The set horizontal starting position (ESC X) and set vertical starting position (ESC Y) commands allow objects to be placed at any location within a landscape page. In the case of objects that are positioned to overlap each other, the first object that is sent to the printer will be printed in the overlapping area.
Objects that would normally print below the bottom of the landscape page can be either wrapped to the next label or truncated by using the select line wrap/truncate modes command (GS T).
Unless the set vertical starting position command (ESC Y) is used, the first object sent will be printed at the top of the landscape page. When printing to a label that is narrower than the print head, the top of the landscape page will be above the top of the label. In this case, you should use the set vertical starting position command (ESC Y) to position the object on an area of the landscape page that corresponds to the label.
A text object is simply a line of printable characters. A text object is created whenever the LabelWriter printer receives a printable character that is not otherwise part of a command. Once it’s created, a text object will remain active until it is terminated.
10
While a text object is active, any printable characters sent to the printer will be added to that text object. The only exceptions are printable characters that are sent as part of a

Barcode Objects

command. While a text object is active, commands that alter text line attributes (such as font and double-height character commands) are ignored. Commands that alter text character attributes (such as double wide and inverse) may be sent at any time.
Line attributes include the five basic fonts (ESC S, P, M, U, and T), plus the double-height font command (GS DC2). These commands may not be issued while a text object is active; instead they should be issued before a text object is begun. The font line attribute persists until another font command is received. The double-height line attribute persists either until the cancel double-height command (GS DC3) is sent or the current font is changed.
The character attribute commands include the set font to double wide (SO) and set inverse print mode (GS RS) commands. These commands may be issued or canceled at any time. Character attributes persist only until the end of a text object.
A text object can be terminated with a carriage return, a line feed, or both, in either combination. If the length of the text object exceeds the space allowed for printing, it will either wrap to the next line or truncate at the end of the printable area. The decision to wrap or truncate is determined by the select line wrap/truncate mode command (GS T). By default, text objects will wrap to the next line.
Barcode Objects
A barcode object is created by the print barcode (GS k) command. Specified within the command is the symbology to be used, the amount of data to be encoded, and the data itself. Other attributes of the barcode, such as height and width, can be set using other commands.
The set barcode height (GS h) command specifies the height of the barcode in dots, or 1/8th mm. The maximum height for a barcode is 256 dots, or 32 mm. In cases where a taller barcode is needed, a second barcode can be printed below the first at the same left offset.
The set barcode module width (GS w) and set barcode element width (GS W) commands can be used to alter the width of the barcode. See the command descriptions for a full explanation of the differences between these two commands.
The POSTNET barcode symbology is an exception and does not respond to any of these commands. Instead, it always prints within the U.S. Postal Service’s specifications.
The limitations of each symbology must be adhered to when sending data for a barcode. For example, you should not send alphabetic characters to symbologies that only accept numeric data (like the UPC/EAN symbology).
Other items must also be considered when printing barcodes. You must leave sufficient blank space on either side of the barcode to create a quiet zone. You must also select a good ratio/element size if the default values are not being used, and you must allow adequate room for the barcode to be printed on the label. If you ignore any of these items, the barcode that is printed may be unreadable.
In general, you should be very familiar with using barcodes if you want to ensure success. A barcode object is self-terminating and will be processed as soon as it has received the last
byte of data required to define to it. The print barcode (GS k) command’s second
11
Programming Overview
parameter specifies whether a fixed amount of data will be sent or whether delimiters will be used. In either case, the data sent must match the parameter setting. If a fixed number of characters are specified, then the exact number of characters specified must be sent. If delimiters are indicated, then matching characters must be sent before and after the barcode data to specify the beginning and end of the data. If an incorrect number of characters or delimiters are sent, the printer will not print correctly.
Barcodes that are too long to fit within the printable area of a label are truncated or do not print at all. This usually results in an unreadable barcode being printed. To correct this condition, you must set a narrower ratio, encode fewer digits, or use a more compact symbology.

Graphic Objects

Graphic objects are created by the landscape mode graphics command (GS *). Graphic objects may only be printed as part of a landscape page. To print a graphic without
entering landscape mode, you must use raster mode graphic commands. No landscape graphic may be wider than 256 dots; however, a graphic may be as tall as the
width of the LabelWriter printer's print head. If you need to print a graphic wider than 256 dots, you must either subdivide it into narrower sections or print it using raster mode graphics commands.

Line Objects

For more information about landscape graphic objects, see the descriptions of the graphics commands in this manual.
See Also
GS *
Line objects are created using the draw line in landscape mode command (GS l). Line objects may only be printed as part of a landscape page. If the length of a line object is
set to exceed the printable area of a label, the line will be truncated at the end of the printable area.
See Also
GS l
12

Command Reference

This chapter describes the commands you can use to program your LabelWriter SE450 printer. 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 Define label size, and paper orientation n Print graphics in inverse text mode and print enlarged characters
See the pages that follow for listings of commands arranged alphabetically and by function.

Alphabetical Command List

NAME DESCRIP TION
Chapter 4
CR
DC4
ESC *
ESC @
ESC A
ESC a
ESC B
ESC c
ESC D
ESC d
ESC E
ESC e
ESC F 1 n
Carriage Return
Cancel Double Wide Mode
Reset to Defaults
Reset to Power-up Condition
Return Printer Status
Return Hardware Status
Set Dot Tab
Set Print Temperature to Low
Set Bytes per Line
Set Print Temperature to Medium
Form Feed
Set Print Temperature to Default
Feed n Lines
13
Command Reference
NAME DESCRIP TION
ESC g
ESC J n
ESC L
ESC M
ESC P
ESC Q
ESC S
ESC T
ESC U
ESC V
ESC W n1 n2
ESC X n1 n2
ESC Y n1
Set Print Temperature to High
Feed n Lines
Set Feed Length
Set Font to 12 cpi
Set Font to 16 cpi
Set Top Margin
Set Font to 20 cpi
Set Font to 7 cpi
Set Font to 10 cpi
Return Firmware Revision
Wrap Data
Set Horizontal Starting Position
Set Vertical Starting Position
ESC y
ESC z
ETB
FF
GS * n1 n2 t h w d1…dm
GS A n1 n2
GS d n
GS DC2
GS DC3
GS h n
GS k n m d1…dk
Set 203 x 203 dpi
Set 136 x 203 dpi
Raster Mode Compressed Graphics
Form Feed
Landscape Mode Graphics
Bar Code Start Position
Feed n Text Lines
Set Font to Double Height
Cancel Double Height
Set Bar Code Height
Print Barcode
14
NAME DESCRIP TION

Commands by Function

GS L n1 n2
GS l n1 n2 l1 l2 m
GS q n m d1…dk
GS RS
GS S
GS T n
GS t n
GS u n
GS US
GS V n
GS W Thin Thick
GS w n
GS ~
Set Feed Length
Draw Line in Landscape Mode
Print UPC/EAN Checksum
Set Inverse Print Mode
Return Printer Status
Select Line Wrap/Truncate Modes
Set Characters per Line (Landscape)
Set Characters per Line (Portrait)
Cancel Inverse Print Mode
Set Print Orientation
Set Bar Code Element Width
Set Bar Code Module Width
Enter Debug Mode
HT
LF
SO
SYN
Commands by Function

Position Control

NAME DESCRIP TION
HT
LF
FF
Horizontal Tab
Line Feed
Set Font to Double Wide Mode
Raster Mode Graphics
Horizontal Tab
Line Feed
Form Feed
15
Command Reference
NAME DESCRIP TION

Font Control

CR
ESC J n
ESC X n1 n2
ESC Y n1
GS T n
GS V n
GS d n
GS t n
GS u n
NAME DESCRIP TION
Carriage Return
Feed n Sublines
Set Horizontal Starting Position
Set Vertical Starting Position
Select Line Wrap/Truncate Modes
Set Text and Bar Code Orientation
Feed n Text Lines
Set Characters per Line (Landscape)
Set Characters per Line (Portrait)
20h - FFh
DC4
ESC T
ESC M
ESC P
ESC S
ESC U
ESC X n1 n2
GS DC2
GS DC3
GS RS
GS US
Printable Characters (See Character Codes for a table of printable characters.)
Cancel Double Wide Mode
Set Font to 7 cpi
Set Font to 12 cpi
Set Font to 16 cpi
Set Font to 20 cpi
Set Font to 10 cpi
Set Horizontal Starting Position
Set Font to Double Height
Cancel Double Height
Set Inverse Print Mode
Cancel Inverse Print Mode
16
NAME DESCRIP TION
Commands by Function

Barcodes

Miscellaneous

SO
NAME DESCRIP TION
GS A n1 n2
GS W Thin Thick
GS h n
GS k n m d1…dk
GS w n
NAME DESCRIP TION
Set Font to Double Wide Mode
Barcode Start Position
Set Barcode Element Width
Set Barcode Height
Print Barcode
Set Barcode Module Width
ESC @
ESC V
ESC W n1 n2
GS ~
GS * n1 n2 t h w d1…dm
GS L n1 n2
GS S
GS l n1 n2 l1 l2 m

Printable Characters

NAME DESCRIP TION
20h - FFh
Reset to Power-up Condition
Return Firmware Revision
Wrap Data
Enter Debug Mode
Landscape Mode Graphics
Set Feed Length
Return Printer Status
Draw Line in Landscape Mode
Printable Characters
17
Loading...
+ 53 hidden pages