Resident Character Sets ............................................................................................................. 147
Character sets .........................................................................................................................147
Character code table Page 0 (PC437: USA, Standard Europe): .................................................147
Character code table Page 1 (PC850: Multilingual Latin I): ......................................................148
Character code table Page 2 (PC852: Latin II): .........................................................................149
Character code table Page 3 (PC860: Portuguese): ..................................................................150
Character code table Page 4 (PC863: Canadian French): .........................................................151
Character code table Page 5 (PC865: Nordic): .........................................................................152
Character code table Page 6 (PC858: Multilingual I + Euro): ....................................................153
Character code table Page 7 (PC866: Russian): ........................................................................154
Character code table Page 8 (WPC1252: Latin I): .....................................................................155
Character code table Page 9 (PC862: Hebrew): .......................................................................156
Character code table Page 10 (PC737: Greek): ........................................................................157
Character code table Page 11 (PC874: Thai): ...........................................................................158
Character code table Page 12 (PC857: Turkish): ......................................................................159
Character code table Page 13 (WPC1251: Cyrillic): ..................................................................160
Character code table Page 14 (WPC1255: Hebrew): ................................................................161
Character code table Page 15 ((KZ_1048: Kazakh): ..................................................................162
Character code table Page 16 (WPC1254: Turkish): .................................................................163
Character code table Page 17 (WPC1250: Central Europe): .....................................................164
Character code table Page 18 (WPC28591: Latin 1): ................................................................165
Character code table Page 19 (WPC28592: Latin 2): ................................................................166
Character code table Page 20 (WPC28599: Turkish): ...............................................................167
Character code table Page 21 (WPC28605: Latin 9): ................................................................168
Character code table Page 22 (PC864: Arabic): ........................................................................169
Character code table Page 23 (PC720: Arabic): ........................................................................170
Character code table Page 24 (WPC1256: Arabic): ..................................................................171
Character code table Page 25 (WPC28596: Arabic): ................................................................172
Character code table Page 26 (KATAKANA: Asia): ....................................................................173
Character code table Page 27 (PC775: Baltic): .........................................................................174
Character code table Page 28 (WPC1257: Baltic): ....................................................................175
Character code table Page 29 (WP28594: Baltic): ....................................................................176
TH250 Programmer’s Guide
About this Guide
How to use this guide
This is a supplemental guide providing programming information on Wincor Nixdorf’s TH250
printers. This guide is written for tech-savvy users who are interested in customizing or adjusting
printer functionality and is meant to be used in conjunction with the User Manual.
If you experience any difficulties during the programming process or feel unsure of adjustments
you have made, contact your Wincor Nixdorf representative for further assistance.
Where to find the basics
If you are looking for information on setup or basic operation, refer to the User Guide. The
programming guide assumes that you have the User Guide handy for reference or are already
familiar with the printer.
Where to find advanced technical information
This guide contains the most complete information available on programming the printer. If you
cannot find what you need here or would like further guidance on how to program the printer,
contact a Wincor Nixdorf representative for assistance.
If you are having problems with the physical operation of the printer, the Service Manual provides
in-depth information on diagnostics and service. The Service Manual is available to qualified
service technicians who have been certified by Wincor Nixdorf to perform advanced procedures.
Support
For more advanced procedures and troubleshooting, you may need to refer to the printer’s service
manual or speak to a Wincor Nixdorf technical professional. Your representative is able to provide
you with necessary information.
For online service, refer to the Web site at www.wincor-nixdorf.com.
1
TH250 Programmer’s Guide
Diagnostics and Configuration
The printer performs a number of diagnostics that provide useful information about the operating
status of the printer. The following diagnostic tests are available.
Start-up diagnostics
Perform during the printer’s start-up cycle.
Runtime diagnostics
Perform during normal printer operation.
Remote diagnostics
Maintained during normal operation and reported in the print test.
The printer can be configured with the following settings and functions through the
configuration menu that is printed on the receipt. For more information on configuring the
printer, see “Printer configuration” on page 6.
Communication interfaces:
Diagnostic modes
Printer emulations/software options
Hardware options
Paper Type
Firmware features
Start-up Diagnostics
When the printer receives power or performs a hardware reset, it automatically performs the
startup diagnostics (also known as level 0 diagnostics) during the start-up cycle. The following
diagnostics are performed:
Turn off motors
Perform boot CRC check of the firmware ROM and test main program CRC
Failure causes Start-up Diagnostics to stop; the printer beeps and the LED flashes a set number
of times, indicating the nature of the failure. The table in the “Indicators” section (page 14)
describes the specific tone and LED sequences.
Check if paper is present
Return the knife to the home position
Failure causes a fault condition. The table in the “Indicators” section (page 14) describes the
specific tone and LED sequences.
Check if receipt cover is closed
Failure does not interrupt the start-up cycle.
At power up, if the LED blinks twice, every four seconds, the object storage areas are being
initialized. This process could take up to two minutes. Once the object storage area initialization is
complete the printer will continue with its normal startup procedure and operation. DO NOT
RESET THE PRINTER UNTIL THIS PROCESS IS COMPLETE.
When the start-up diagnostics are complete, the printer makes a two-tone beep (low then high
frequency), the paper feed button is enabled, and the printer is ready for normal operation.
If the printer has not been turned on before, or a new EEPROM has been installed, the default
values for the printer functions will be loaded into the EEPROM during start-up diagnostics, and
the printer will make a quick four-tone beep (high then low frequency, twice).
2
TH250 Programmer’s Guide
Model number
Serial number
CRC number
Number of lines printed
Number of knife cuts
Number of hours the printer has been on
Number of flash cycles
Number of cutter jams
Number of times the cover is opened
Number of barcodes printed
Number of receipt characters printed
Number of printer faults
Maximum temperature reached
Number of dots printed
Number of dots printed on current printhead
Number of printhead changes
Number of receipt mechanism changes
Number of knife mechanism changes
Number of black mark errors
Number of thermistor errors
Number of low voltage errors
Number of high voltage errors
Number of firmware starts
Number of EEPROM updates
Runtime Diagnostics
Runtime diagnostics (sometimes called level 2 diagnostics) run during normal printer operation.
When the following conditions occur, the printer automatically turns off the appropriate motors
and disables printing to prevent damage to the printer:
Paper out
Receipt cover open
Knife unable to home
Printhead too hot
Voltages out of range
The LED on the operator panel will signal when these conditions occur as well as indicate what
state or mode the printer is in.
Remote Diagnostics
Remote diagnostics (sometimes called level 3 diagnostics) keeps track of the following tallies and
prints them on the receipt during the print test. See the sample test printout on the next page.
These tallies can be used to determine the printer’s state of health.
3
TH250 Programmer’s Guide
TH250 Diagnostics Form
******
Print test will vary per model or printer configuration.
Paper out
Cover open
Black dot sensor error
Knife unable to home
LED
Continuous, blinking off
Paper is low
Printhead too hot
Voltages low/high
LED
Continuous, double LED flash
Write to permanent memory in progress
LED
Blinks once every five seconds
Printer in sleep mode
LED
Continuous, quick blinking (on
power up)
Invalid firmware
LED
Continuous, slow blinking
Power supply and max power setting
don’t match
Tone
Two-tone beep (low frequency,
high frequency)
Start-up diagnostics completed
successfully
LED and
Tone
Two-tone beep (low frequency,
high frequency)
Continuous, quick blinking of LED
When entering flash download mode*
*Note: The printer enters flash download mode when a download command
is sent to the printer.
Indicators
The printer communicates various conditions both visually, with the green LED or audibly, with a
series of tones or beeps.
The following table lists these indicators.
The printer is also able to communicate its status to the host application if the application has been
programmed to receive this information.
Error conditions and correcting them
Refer to section “Troubleshooting the printer” in chapter “Using the printer” in the User Manual.
Communication of printer status to the host application
Refer to section “Command descriptions” in chapter “Programming commands, Status” sections.
5
TH250 Programmer’s Guide
Communication Interfaces
Baud rate
Parity
Hardware (DTR/DSR) or software
(XON/XOFF) flow control
Data reception errors
Alternate DTR/DSR
USB Driver
Printer ID mode
Default lines per inch
Carriage return usage
Code 128 Check Digit
Default font
Font size
Journal Print
Hardware options
Color density
Monochrome print density
Max Power
Partial cut distance
Fine partial cut steps
Paper low sensor
Paper low threshold extension
Printhead setting (cannot change)
Paper type
Firmware features
Paper selection lockout
Beep after knife cut
Cash drawer open after knife cut
Energy-savings timeout value
Print quality level
Printer configuration
Printers are shipped with all the functions and parameters preset at the factory. Settings for various
printer parameters can be changed. This menu is printed on the receipt and scrolls through
instructions for selecting and changing any of the functions or parameters.
Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing
other settings that might affect the performance of the printer.
The following functions and parameters can be changed in the scrolling configuration menu
(except as noted):
Using the configuration menu to configure the printer
Refer to the next section “Configuring the printer”.
6
TH250 Programmer’s Guide
Configuring the printer
The configuration menu allows you to select functions or change various settings for the printer.
Instructions printed on the receipt guide you through the processes.
Caution: Be extremely careful changing any of the printer settings to avoid changing other settings
that might affect the performance of the printer.
1. Turn power off to printer.
2. Make sure receipt paper is loaded in the rpinter before proceeding. Make sure cover is
closed.
3. Apply power to printer and immediately press and hold the paper feed button until the
configuration printout begins.
The printer beeps, then prints Diagnostics Form I.
Press the paper feed button within two seconds to enter the configuration main menu
The printer prints Diagnostics Form II, followed by the Printer Configuration Menu, and
waits for a main menu selection to be made (see sample printout on page 13; short
clicks are used, except when answering “yes” or validating selection).
4. To communicate with the printer, you will press the paper feed button using either
short or long clicks. Use a long click for “yes” (more than one second) and a short click
for “no.” Follow the printed instructions to make selections.
5.Continue through your menu selections until you are asked, “Save New Parameters?”
Select “Yes.”
Reset the Printer.
Open the receipt cover.
Press and hold the paper feed button while closing the receipt cover.
The diagnostic printout verifies your new settings.
Reject Packets When Error
Accept Packets When Error
Communication interface settings
To change the communication interface settings, enter the configuration menu, select “Set
Communication Interface” from the main menu.
Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing
other settings that might affect the performance of the printer.
Press the paper feed button as instructed on the configuration menu to select the settings you
want to change.
Note: Press the paper feed button for at least one second to validate the selection.
Setting the RS-232C Serial interface settings
Refer to the section “Configuring the printer”.
Diagnostics modes
To change the the diagnostic modes enter the configuration menu, select “Set Diagnostics Modes”
from the main menu and select one of the following modes:
Normal: normal operating mode of the printer.
Datascope: the receipt printer prints incoming commands and data in hexadecimal format to
help troubleshoot communication problems. There are DataScope modes for both with and
without graphics.
Receipt test: the receipt printer prints all code pages to verify proper printing of the receipt.
Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing
other settings that might affect the performance of the printer.
Refer to the section “Configuring the printer,” for instructions on how to enter the configuration
menu.
8
TH250 Programmer’s Guide
Enable or disable data scope mode
The data scope mode test prints a hexadecimal dump of all data sent to the printer: “1” prints as
hexadecimal 31, “A” as hexadecimal 41 and so on. This helps troubleshoot communication
problems and runs during a normal application (after being enabled through printer configuration).
Note: Data scope mode is usually considered a level 1 diagnostic test.
Data scope mode is enabled and disabled by selecting the “Diagnostics Modes” sub-menu of the
configuration menu. Press the paper feed button as instructed on the “Diagnostics Modes Menu”
to enable or disable the data scope mode test.
Off, normal mode (Data scope mode disabled)
Data scope mode with or without graphics (enabled)
Note: Press the paper feed button for at least one second to validate the selection.
To run the data scope mode:
1. After you have enabled the data scope mode, exit the configuration menu.
2. Run a transaction from the host computer.
All commands and data sent from the host computer will be printed as hexadecimal characters as
shown in the illustration.
To exit the data scope mode:
1. Enter the configuration menu again.
2. Disable the data scope mode.
3. Exit the configuration menu.
The printer is on-line and can communicate normally with the host computer.
Enabling the data scope mode
Refer to the section “Configuring the printer”.
Enable or disable receipt test mode
The receipt test mode verifies proper receipt printing. Receipt test is enabled and disabled by
selecting the “Diagnostics Modes” sub-menu of the configuration menu. See “Configuring the
printer”, for instructions on how to enter the configuration menu.
To run the receipt test mode:
1. Enable the receipt test mode in the configuration menu.
3. Exit the configuration menu.
4. Push the paper feed button. The receipt station prints all code pages and cuts the
receipt.
5. To repeat this test, push the paper feed button again.
9
TH250 Programmer’s Guide
To exit the receipt test mode:
1. Enter the configuration menu again.
2. Disable the receipt test mode.
3. Exit the configuration menu.
The printer is on-line and can again communicate normally with the host computer.
Electronic Journal Datascope Diagnostic
1F 03 18 02 n=1, turn on electronic journal datascope, run time only
1F 03 18 02 n=0, n>1, turn off electronic journal datascope, run time only
1F 03 18 03 n=1, turn on electronic journal datascope, configuration saved over power cycle
1F 03 18 03 n=0, n>1, turn off electronic journal datascope, configuration saved over power cycle
When enabled, “Auto Journal : Datascope” prints on the second diagnostic page.
This diagnostic is for debugging purposes, and should be used only under the direction of customer
support.
Printer emulations
To change the printer emulations settings, enter the configuration menu, select
“Emulation/Software Options” from the main menu and answer “Yes” to “Set printer mode?”
printed on the receipt. This will take you to the instructions for setting the printer emulation.
Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing
other settings that might affect the performance of the printer.
Press the paper feed button as instructed to select the printer emulation you want.
Note: Press the paper feed button for at least one second to validate the selection.
Setting the printer emulation
Refer to the section “Configuring the printer”.
Printer settings and functions
To change the printer settings and functions, enter the configuration menu, select the sub-menu
from the main menu and answer the questions printed on the receipt until you come to the
instructions for selecting the printer settings.
Caution: Be extremely careful changing any of the printer settings to avoid inadvertently changing
other settings that might affect the performance of the printer.
Press the paper feed button as instructed to select the printer settings you want.
Select the emulation/software options sub-menu to set:
Printer Mode
This function is used to set the printer emulation to Native, TH230, TH210/TH210-2/A794, A793 or
Legacy emulation.
10
TH250 Programmer’s Guide
Printer ID mode
This function is used to determine what printer ID value is returned in response to a Transmit
printer ID command (1D 49 n) when the printer is in TH210/TH210-2/A794 emulation mode. The
printer can be configured to send back the ID of the TH250, TH210/TH210-2/A794, A793 or
Application Compatible Escape Command systems.
Default lines per inch
This function allows you to set the default for lines per inch to:
8.13 lines per inch
7.52 lines per inch
6.77 lines per inch
6.00 lines per inch
Carriage return usage
This function allows the printer to ignore or use the carriage return (hexadecimal 0D) command
depending on the application. Some applications expect the command to be ignored while others
use the command as a print command.
Code 128 Check Digit
Enables or disables the calculation of the check digit.
Default font
Sets the default for monochrome, two-color, and LEGACY emulations.
Font size
Allows user to set font size for the emulation being used.
Journal Print
Enables or disables operator action.
Select the hardware options sub-menu to set:
Color density
Adjusts printhead energy level to darken color printing or adjust for paper variations. When printer
prints high-density color print lines (text or graphics), it automatically slows down. Factory setting
is 100%.
WARNING: Choose a color density setting no higher than necessary to achieve acceptable color
print density. Failure to observe this rule may result in a printer service call and may void the
printer warranty. Running at a higher energy level will reduce the printhead life. Consult your
Wincor Nixdorf technical support specialist if you have questions.
Print density (monochrome papers only)
Adjusts printhead energy level to darken printout or adjust for paper variations. When printer
prints high-density print lines (text or graphics), it automatically slows down. Factory setting for
the TH250 is 100%.
Note: when printer is set to color paper, Print Density adjusts the overall darkness for both color
and monochrome.
WARNING: Choose a print density setting no higher than necessary to achieve acceptable print
density. Failure to observe this rule may result in a printer service call and may void the printer
warranty. Running at a higher energy level will reduce the printhead life. Consult your Wincor
Nixdorf technical support specialist if you have questions.
Power supply level (Max power)
You can choose from these power settings to match the power supply:
Auto (for Wincor Nixdorf power supplies)
55W
75W
11
TH250 Programmer’s Guide
90W
Partial cut distance
Allows the user to set the distance that the knife will cut across a receipt in 5 step increments
between 110-160.
Fine partial cut steps
Allows the user to set the amount of extra steps the knife will cut across a receipt, between 0 and
4.
Paper low sensor
Senses when the paper roll is getting low on paper.
See troubleshooting section: “Receipt paper is low” in the User Manual.
Paper low threshold extension
Allows the user to set the amount of footage for the extension in 5-foot (1.5 meters) increments
between -10 and 20 feet (-3 meters and 6 meters).
Setting the printer functions and settings
Refer to the section “Configuring the printer”.
Select the paper type sub-menu to set:
Paper Type Name
Sets the printer to optimum performance for paper being used. This can also be done through the
command 1D 81 m n. See the following chapter for command usage.
Available paper types may vary. Refer to our website, www.wincor-nixdorf.com, for an up-to-date
list of qualified paper manufacturers. Currently there are 3 types:
0 = monochrome
4 = two-color (blue/black)
5 = two-color, (red/black or green/black)
Select the firmware features sub-menu to set:
Paper selection lockout
Beep after knife cut
Cash drawer open after knife cut
Energy-savings timeout value
Allows the user to enable and set the time-out value to 15, 30, 60, 120, or 240 minutes, or to
disable the feature.
Print quality level
Allows the user to set the print quality to speed (350mm/s), balanced (300mm/s), or quality
(250mm/s).
12
TH250 Programmer’s Guide
Command
Description
Difference between previous product and new
product emulation mode
15n
Feed n dot rows
This command will move the paper on the receipt
in n/203 inch steps instead of n/152 inch steps.
16 n
Add n extra dot rows
The dot rows will be measured in n/203 inches
versus n/152 inches.
1B 20 n
Set right-side
character spacing
This command sets the right side spacing to “n”
horizontal motion units. By default, these units
are in terms of 1/203 inches versus 1/152 inches.
1B 24 n1
n2
Set absolute starting
position
For graphics commands, the position is scaled to
best match A793. In text mode, the equivalent
character position is calculated.
1B 26 s c1
c2 n1 d1
...nn dn]
Define user-defined
character set
Since the dots on the TH250 printhead are
smaller, user defined characters that were used
on the previous printers will appear smaller on
the TH250 printer.
1B 2A m
n1 n2
d1...dn
Select bit image
mode
In A793 emulation mode, graphics are scaled to
best match the size of the graphic in the A793
printer.
1B 33 n
Set line spacing
This command uses n in terms of n/360 inches.
Since the A793 had a fundamental step of 1/152
Programming the Printer
Overview of commands
Commands control all operations and functions of the printer. This includes selecting the size and
placement of characters and graphics on the receipt to feeding and cutting the paper. The
programming commands have been organized, in order of hexadecimal code within functional
groups. For this reason, “related” commands may not be listed adjacent to one another.
The operation of various printers may be emulated by the commands, including the following:
Any of the commands may be used in any combination to program a host computer to
communicate with the printer (unless otherwise noted).
Some commands listed and described here may not be implemented and are identified as “not
implemented.” If received, they are ignored and not sent to the print buffer as data.
Any nonlegal commands have their parameter sent to the print buffer as data.
Comparison to A793
The following table details the list of commands whose behavior differs between the A793,
TH210/TH210-2/A794, and TH250 because of the physical differences of a 6 dots/mm head (A793)
versus an 8 dots/mm head (TH210/TH210-2/A794 and TH250).
13
TH250 Programmer’s Guide
Command
Description
Difference between previous product and new
product emulation mode
inch and the TH250 has a fundamental step of
1/203 inch, the actual line spacing will not exactly
match the requested spacing.
1B 4A n
Print and feed paper
This command uses n in terms of n/360 inches.
Since the A793 had a fundamental step of 1/152
inch and the TH250 has a fundamental step of
1/203 inch, the actual line spacing will not exactly
match the requested spacing.
1B 59 n1 n2 d1...dn
Select doubledensity graphics
In A793 emulation mode, the printer scales the
graphics to provide the best match.
1B 5C n1 n2
Set relative print
position
The parameter to this command is in units of
dots.
However, the command moves and aligns to
character positions. In A793 emulation mode, this
command calculates how many character
positions to move based on the A793 character
width in dots (10) versus the TH250 (13).
1B 61 n
Select justification
This command does true dot resolution
alignment for centering versus character-aligned
centering.
1D 2A n1
n2
d1...dn]
Define downloaded
bit image
In A793 emulation mode, this command scales
the incoming data to provide a best match to the
size of the image as it printed on A793.
1D 2F m
Print downloaded
bit image
In A793 emulation mode, this command scales
the incoming data to provide a best match to the
size of the image as it printed on A793.
14
TH250 Programmer’s Guide
Color interpreted commands
Hexadecimal
ASCII
Description
1B 72 m
ESC r m
Set current color
1D A0 nl nh
1D GS
Set temporary maximum target speed
1D 23 n
GS # n
Select current logo
1D 42 n
GS B n
Select or cancel white/black reverse print
mode
1D 2A n1 n2 d1 dm
GS * n1 n2 d1 – dm
Define downloaded bit image
1D 2F m
GS / m
Print downloaded bit image
1D 81 m n
GS 0x81 m n
Set paper type
1D 82 n1 n72
GS 0x82 n1– n72
Print raster monochrome graphics
1D 83 n1 n144
GS 0x83 n1– n144
Print raster color graphics
1D 84 n m n1 n2 d1 dx
GS 0x84 n m n1 n2
d1 dx
Download logo image
1D 85 m n
GS 0x85 m n
Reverse color text mode (two-color)
1D 86 m
GS 0x86 m
Monochrome shade mode
1D 87 m
GS 0x87 m
Color shade mode
1D 89 n m
GS 0x89 n m
Logo print with color plane swap
1D 8B n m o
GS 0x8B n m o
Apply shading to logo
1D 8C n m
GS 0x8C n m
Merge watermark mode
1D 8D n m
GS 0x8D n m
Text strike through mode
1D 90 m x y o p q
GS 0x8A m x y o p
q
Form and print real time surround
graphic
1D 91 n
GS 0x91 n
Save graphics buffer as logo
1D 92 n
GS 0x92 n
Background logo print mode
1D 97 m n
GS 0x87 m n
User storage status
1D 99 l m n o
US
Apply margin message mode
1D 9A n m o
GS 0x9A n m o
Shade and store logo
1D 9B m n
GS
Logo print with knife cut
1F 03 16 05 n
US
Set interpretation of “Set current color”
command
Two-color commands (comparison TH210 to TH250)
The following table details the list of commands that have been added for two-color functionality
or existing commands that have been altered by the addition of two-color capacity.
15
TH250 Programmer’s Guide
Standard
Rotated
Italic
Compressed
Underlined
Strike-through
Double-high
Bold
Scaled
Double-wide
Reverse
Shading
Upside-down
Rotated
Italic
Standard
Compressed
Characters per inch: 15.6
Characters per inch: 20.3
Characters per line: 44
Characters per line: 56
Cell size:
13 x 24 dots (default font)
13 x 27 dots (Tall fonts)
13 x 18 dots (paper-saving font)
Cell size:
10 x 24 dots (default font)
10 x 27 dots (Tall fonts)
10 x 18 dots (paper-saving font)
576 dots (addressable) @ 8
dots/mm, centered on 80mm
Top margin to manual tear-off:
17.8mm (0.70 inches)
Standard mode: minimum
margins: 2.0mm (.079 inches)
Top margin to knife cut: 19.0mm
(0.75 inches)
Character appearance
The appearance of text can be changed using the following print modes:
Width specifications
Print zones
Print zones for 80mm paper
Specifications of print zone for 80mm paper:
16
TH250 Programmer’s Guide
Upside down (1B 7B n)
Rotated CW (1B 56 n)
Rotated CCW (1B 12)
Resulting
output
Canceled
Canceled
Cleared
Canceled
Set
X
Set
Canceled
X
Set
Set
X
X X Set
Note: The application centers 44 standard character cells (13 X 24 dots), or 56 compressed
character cells (10 X 24 dots), or 576 addressable bits of graphics across an 80mm wide receipt.
Minimum print line height is 24 dots for text or graphics. Standard print line spacing is 27 dots (i.e.,
3 extra row dots).
The TH250 Series adds a 27 dot high font, so standard print spacing is 30 dots.
The TH250 Series paper-saving feature adds a 18 dot high font and reduces extra dot rows to 2, so
standard print spacing is 20 dots.
Rotated printing commands
Three commands control the rotation of printing. The table shows the combinations of set/cancel
upside down print, set/ cancel rotated print (clockwise), and rotated print (counterclockwise).
Rotated clockwise and rotated counterclockwise print commands are mutually exclusive: the
setting of the last received command is effective. Unintended consequences may result when
rotated clockwise is mixed with other commands
The samples of the print show only the normal-size characters. Double-wide and double-high
characters are printed in the same orientation. They may also be mixed on the same line.
Note: The following print modes cannot be mixed on the same line:
Right-side up and upside-down
17
TH250 Programmer’s Guide
Emulation
mode
LPI
options
Font(s)
options
Font
size
Default
LPI
Default
EDR
Comments
Native,
6.00,
6.77,
7.52,
8.13
Standard
13X24
7.52
3
Default setup for
monochrome paper
TH230
Tall
13X27
6.77
3
Emulation
2-color
13X27
6.77
3
Default setup for twocolor paper
Papersaving
13X18
10.15
3
TH210/
A793/A794
emulation
6.00,
7.52,
8.13
Standard
13X24
7.52
3
LEGACY
emulation
6.00
Tall 13X27
6.00
7
Default setup for
Escape Commands
Standard
13X24
6.00
10
Emulation modes
The Wincor Nixdorf TH250 Series printer may be operated in a number of different emulation
modes. However, printing characteristics and defaults may differ, depending on the desired mode.
For instance, two-color paper commands and features are available only in TH250 native mode.
Print setup in emulation modes
Refer to the chart below for defaults and allowed printing options in each emulation mode.
The following list clarifies how the TH250 printer will behave in each emulation mode:
Two-color paper commands and features are supported only in native mode.
If the paper type is changed using the 0x1D 0x81 command, the font and default lines per inch
(LPI) will be setup as in the table above.
If only the font is changed, the default LPI will automatically be changed as in the table above.
If emulation is switched to LEGACY, Native, TH230, TH210/TH210-2/A794 or A793
emulation(s), the paper type will automatically be changed to monochrome paper, and the
font and LPI will be changed as in the table above.
If emulation is switched from any emulation to native or TH230, the font and LPI will remain
unchanged because the Native and TH230 modes supports all font and LPI options offered in
the emulation modes.
The “Set Default LPI” option in the configuration menu is not offered in LEGACY emulation
mode. The LPI is set at 6.00.
18
TH250 Programmer’s Guide
Printer actions
Code (hexadecimal)
Command
10
Clear printer
19
Perform full knife cut (or code 1B 69)
1A
Perform partial knife cut (or code 1B 6D)
1B 07
Generate tone
1B 3D n
Select peripheral device (for multi-drop)
1B 40
Initialize printer
1B 63 34 n
Select sensors to stop printing
1B 63 35 n
Enable or disable panel button
1B 69
Perform full knife cut (or code 19)
1B 6D
Perform partial knife cut (or code 1A)
1B 70 n p1 p2
Generate pulse to open cash drawer
1B 72 m
Set current color
1F 03 3C ll hh
Set timeout value for low-power idle state
1F 70
Set printer into low-power idle state
1D 56 m
Select cut mode and cut paper (or code 1D 56 m n)
1D 56 m n
Select cut mode and cut paper (or code 1D 56 m)
1D 81 m n
Set paper type (for two-color printing)
1F 03 16 05 n
Set interpretation of Set current color command
1F 03 4E n1 n2
Port Idle Timeout
1F 74
Print test form
Print and paper feed
Code (hexadecimal)
Command
0A
Print and feed paper one line
0D
Print and carriage return
14n
Feed n print lines
15 n
Feed n dot rows
16 n
Add n extra dot rows
17
Print
1B 4A n
Print and feed paper
1B 64 n
Print and feed n lines
Programming Commands
Commands listed by function
19
TH250 Programmer’s Guide
Vertical and horizontal positioning
Code (hexadecimal)
Command
09
Horizontal tab
1B 14 n
Set column
1B 24 nL nH
Set absolute starting position
1B 32
Set vertical line spacing to 1/6 inch
1B 33 n
Set vertical line spacing
1B 44 n1...nk 00
Set horizontal tab positions
1B 5C n1 n2
Set relative print position
1B 61 n
Select justification
1D 4C nL nH
Set left margin
1D 50 x y
Set horizontal and vertical minimum motion units
1D 57 nL nH
Set printing area width
Text characteristics
Code (hexadecimal)
Command
12
Select double-wide characters
13
Select single-wide characters
1B 12
Select 90 degree counter-clockwise rotated print
1B 16 n
Select pitch (column width)
1B 20 n
Set right-side character spacing
1B 21 n
Select print mode
1B 25 n
Select or cancel user-defined character set
1B 26 s c1 c2
Define user-defined character set
1B 2D n
Select or cancel underline mode
1B 3A 30 30 30
Copy character set from ROM to RAM
1B 3F n
Cancel user-defined character
1B 45 n
Select or cancel emphasized mode
1B 47 n
Select or cancel double-strike
1B 49 n
Select or cancel italic print
1B 52 n
Select international character code
1B 56 n
Select or cancel 90 degree clockwise rotated print
1B 74 n
Select international character set
1B 7B n
Select or cancel upside-down print mode
1D 21 n
Select character size
1D 42 n
Select or cancel white/black reverse print mode
1D 62 n
Set smoothing
1D 85 m n
Reverse color text mode (two-color)
1D 8D n m
Text strike-through mode
1D F0 01 n
Select font ID number
1D F0 02 ns
Select font tyle number
20
TH250 Programmer’s Guide
Text characteristics
Code (hexadecimal)
Command
1D F0 03
Save font ID number as default font at power up
1D F0 80
Download font
1D F0 C0 02
Download font list
1F 03 45 FSID
Configure use of font set over power cycles
1F 03 46 n
Configure line spacing
1F 05 n
Select superscript or subscript modes
1F 26 s c1 c2
Define extended user-defined character set
1F 69 n
Select active user-defined character set
1D F0 20 nn
Get double-byte font CRC (font ID)
1D F0 21 nn mm
Get double-byte font CRC (font ID and font style)
Text characteristics
Code (hexadecimal)
Command
12
Select double-wide characters
13
Select single-wide characters
1B 12
Select 90 degree counter-clockwise rotated print
1B 16 n
Select pitch (column width)
1B 20 n
Set right-side character spacing
1B 21 n
Select print mode
1B 25 n
Select or cancel user-defined character set
1B 26 s c1 c2
Define user-defined character set
1B 2D n
Select or cancel underline mode
1B 3A 30 30 30
Copy character set from ROM to RAM
1B 3F n
Cancel user-defined character
1B 45 n
Select or cancel emphasized mode
1B 47 n
Select or cancel double-strike
1B 49 n
Select or cancel italic print
1B 52 n
Select international character code
1B 56 n
Select or cancel 90 degree clockwise rotated print
1B 74 n
Select international character set
1B 7B n
Select or cancel upside-down print mode
1D 21 n
Select character size
1D 42 n
Select or cancel white/black reverse print mode
1D 62 n
Set smoothing
1D 85 m n
Reverse color text mode (two-color)
1D 8D n m
Text strike-through mode
1D F0 01 n
Select font ID number
1D F0 02 n
Select font style number
1D F0 03
Save font ID number as default font at power up
21
TH250 Programmer’s Guide
Text characteristics
Code (hexadecimal)
Command
1D F0 80
Download font
1D F0 C0 02
Download font list
1F 03 45 FSID
Configure use of font set over power cycles
1F 03 46 n
Configure line spacing
1F 05 n
Select superscript or subscript modes
1F 26 s c1 c2
Define extended user-defined character set
1F 69 n
Select active user-defined character set
1D F0 20 nn
Get double-byte font CRC (font ID)
1D F0 21 nn mm
Get double-byte font CRC (font ID and font style)
Graphics
Code (hexadecimal)
Command
11 n1 . . . n72
Print raster graphics
1B (+*.BMP file)
Download BMP logo
1B 2A m n1 n2 d1dn
Select bit image mode
1B 2E m n rL rH d1 dn
Print advanced raster graphics
1B 4B n1 n2 d1 dn
Select single-density graphics
1B 59 n1 n2 d1 dn
Select double-density graphics
1C 70 n m
Print flash logo
1C 71 n . . . .
Define flash logos
1D 23 n
Select the current logo (downloaded bit image)
1D 2A n1 n2 d1 dn
Define downloaded bit image
1D 2F m
Print downloaded bit image
1D 82 n1n72
Print raster monochrome graphics
1D 83 n1n144
Print raster color graphics
1D 84 m n1 n2 d1 dx
Download logo image
1D 8B n m o
Apply shading to logo
1D 86 m
Monochrome shade mode
1D 87 m
Color shade mode
1D 89 n m
Logo print with color plane swap
1D 8C n m
Merge watermark mode
1D 90 m x y o p q
Form and merge real time surround graphic
1D 91 n
Save graphics buffer as logo
1D 92 n
Background logo print mode
1D 99 l m n o
Apply margin message mode
1D 9A n m o
Shade and store logo
1D 9B m n
Logo print with knife cut
1D A0 nl nh
Set temporary max target speed
1F 04 n
Convert 6-dots/mm bitmap to 8 dots/mm bitmap
22
TH250 Programmer’s Guide
Graphics
Code (hexadecimal)
Command
1F 7B n
Enable constant speed logos
Status
Batch mode
Code (hexadecimal)
Command
1B 75 0
Transmit peripheral device status (RS-232C printers only)
1B 76
Transmit paper sensor status
1D 49 n
Transmit printer ID
1D 49 40 27
Transmit printer model number
1D 72 n
Transmit status
1F 56
Send printer software version
Real time
Code (hexadecimal)
Command
10 04 n
Real time status transmission (DLE sequence)
10 05 n
Real time request to printer (DLE sequence)
1D 03 n
Real time request to printer (GS sequence)
1D 04 n
Real time status transmission (GS sequence)
1D 05
Real time printer status transmission
1F 7A
Real time commands disabled
Automatic status back / Unsolicited status mode
Code (hexadecimal)
Command
1D 61 n
Enable/disable Automatic Status Back (ASB)
1D 61 n
Select or cancel unsolicited status mode
23
TH250 Programmer’s Guide
Bar codes
Code (hexadecimal)
Command
1D 48 n
Select printing position for HRI characters
1D 66 n
Select pitch for HRI characters
1D 28 6B 04 00
00 31 41 n1 n2
Select model for QR Code
1D 28 6B 03 00 31 43 n
Set size of module for QR Code
1D 28 6B 03 00 31 44 m
Set data parsing mode for QR Code
1D 28 6B 03 00 31 45 n
Select error correction level for QR Code
1D 28 6B qL qH
31 50 30 f1 ... fk
Store symbol data for QR Code
1D 28 6B 03 00 31 51 30
Print symbol data for QR Code
1D 68 n
Select bar code height
1D 6B m d1dk 00 or 1D 6B m n d1dn
Print bar code
1D 6B FF n
Print Multiple Barcodes
1D 6B n d1... 00
Print GSI Databar (formerly RSS), null terminated
1D 6B m n L n H d1... dn
Print GSI Databar (formerly RSS), data length
specified
1D 70 a b c d e f
Select PDF 417 parameters
1D 71 a b c d e f L f H
Set GSI Databar (formerly RSS) parameters
1D 77 n
Select bar code width
1D 28 6B 05 00 36 42 m d1 d1
Set DataMatrix parameters
1D 28 6B 05 00 36 43 n
Set DataMatrix module size
1D 28 6B pL pH 36 50 30 d1...dk
Store DataMatrix data in symbol storage area
1D 28 6B 03 00 36 54 30
Print DataMatrix symbol data in the symbol storage
area
Page mode
Code (hexadecimal)
Command
0C
Print and return to standard mode
18
Cancel print data in page mode
1B 0C
Print data in page mode
1B 4C
Select page mode
1B 53
Select standard mode
1B 54 n
Select print direction in page mode
1B 57 n1, n2n8
Set print area in page mode
1D 24 nL nH
Set absolute vertical print position in page mode
1D 5C nL nH
Set relative vertical print position in page mode
24
TH250 Programmer’s Guide
Macros
Code (hexadecimal)
Command
1D 3A
Select or cancel macro definition
1D 5E r t m
Execute macro
User data storage
Code (hexadecimal)
Command
1B 27 m a0 a1 a2 d1…dm
Write to user data storage
1B 34 m a0 a1 a2
Read from user data storage
1D 22 n
Select memory type (SRAM/flash) where to save
logos or user-defined fonts
1D 22 55 n1 n2
Flash memory user sectors allocation
1D 22 60 n1
Flash object area pack
1D 22 61 n1 n2 (n3)
Flash object delete
1D 22 80
Expanded flash memory allocation
1D 22 81 n
Select flash area for storing logos and user-defined
characters
1D 22 90 n
Return flash area size
1D 40 n
Erase user flash sector
1D 97 m n
User storage status
1D F0 10 n
Lock permanent flash area
Flash download
Code (hexadecimal)
Command
1B 5B 7D
Switch to flash download mode
1D 0E
Erase all flash contents except boot sector
1D 0F
Return main program flash CRC
1D 11 00 00 00 00 d1dn
Download Application
1D FF
Reset firmware
Ethernet setup commands
Code (hexadecimal)
Command
1B 5B 7D
Switch to flash download (boot mode)
1F 08 00
Restore default settings
1F 08 01 n1 n2 n3 n4
Set IP address
1F 08 02 n1 n2 n3 n4
Set net mask
1F 08 03 n1 n2 n3 n4
Set gateway
1F 08 04 n1 n2
Set raw TCPIP port
1F 08 08 n1
DHCP
1F 08 09 n1
Inactivity timeout
1F 08 0A n1
Keep-alive pings (arps)
25
Loading...
+ 152 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.