therein are owned by ZIH Corp. and Zebra’s licensors. Unauthorized reproduction of this manual or the software
and/or firmware in the printer may result in imprisonment of up to one year and fines of up to $10,000
(17 U.S.C.506). Copyright violators may be subject to civil liability.
ZebraLink, Element Energy Equalizer, E
head graphic, ZPL and ZPL II are registered trademarks of ZIH Corp. All rights reserved worldwide.
All other brand names, product names, or trademarks belong to their respective holders. For additional trademark
information, please see “Trademarks” on the product CD.
Proprietary Statement This manual contains proprietary information of Zebra Technologies Corporation and its
subsidiaries (“Zebra Technologies”). It is intended solely for the information and use of parties operating and
maintaining the equipment described herein. Such proprietary information may not be used, reproduced, or disclosed
to any other parties for any other purpose without the express, written permission of Zebra Technologies Corporation.
Product Improvements Continuous improvement of products is a policy of Zebra Technologies Corporation.
All specifications and designs are subject to change without notice.
®
, ZPL II®, and ZebraLink™ programs; Element Energy Equalizer™ Circuit; E3™;
3
and all product names and numbers are trademarks, and Zebra, the Zebra
Liability Disclaimer Zebra Technologies Corporation takes steps to ensure that its published Engineering
specifications and manuals are correct; however, errors do occur. Zebra Technologies Corporation reserves the right
to correct any such errors and disclaims liability resulting therefrom.
Limitation of Liability In no event shall Zebra Technologies Corporation or anyone else involved in the creation,
production, or delivery of the accompanying product (including hardware and software) be liable for any damages
whatsoever (including, without limitation, consequential damages including loss of business profits, business
interruption, or loss of business information) arising out of the use of, the results of use of, or inability to use such
product, even if Zebra Technologies Corporation has been advised of the possibility of such damages. Some
jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation
or exclusion may not apply to you.
This manual contains the information required to install the printer and to run it from a host
computer such as a PC.
1
Introduction
Updating
The TTP 8000 series consists of TTP 8200 with a resolution of 203 dpi, and TTP 8300 with a
resolution of 300 dpi. This manual applies to both versions and notes are made where they
differ.
Programming on page 31 gives the applicable control-codes and escape-sequences supported
by the printer processor firmware.
Other chapters of the manual contain information about the printer status codes,
communications parameters, test print functions, specifications, etc.
This manual will be updated as, from time to time, printer functions and features may be added
or amended. You will always find the latest edition on our web site (http://www.zebra.com).
If you require functions not found in this manual edition please contact Technical Support for
your region or the Zebra partner the printer was purchased from.
10/19/2009TTP 8000 Technical ManualP1003638-003
About This Document
8
Contacts
Contacts
Technical Support via the Internet is available 24 hours per day, 365 days per year.
Web Site: www.zebra.com
E-mail Back Technical Library:
Zebra Technologies Europe Limited
Dukes Meadow
Millboard Road
Bourne End
Buckinghamshire, SL8 5XF
United Kingdom
T: +44 (0) 1628 556000
F: +44 (0) 1628 556001
T: +44 (0) 1628 556039
F: +44 (0) 1628 556003
E: Tseurope@zebra.com
T: +44 (0) 1772 693069
F: +44 (0) 1772 693046
New requests: ukrma@zebra.com
Status updates:
repairupdate@zebra.com
T: +44 (0) 1628 556000
F: +44 (0) 1628 556001
E: Eurtraining@zebra.com
T: +44 (0) 1628 556037
F: +44 (0) 1628 556005
E: mseurope@zebra.com
T: +44 (0) 1628 556032
F: +44 (0) 1628 556001
E: cseurope@zebra.com
Asia Pacific
and India
Zebra Technologies Asia Pacific
Pte. Ltd.
120 Robinson Road
#06-01 Parakou Building
Singapore 068913
T: + 65 6858 0722
F: +65 6885 0838
T: +65 6858 0722
F: +65 6885 0838
E: China:tschina@zebra.com
All other areas:
tsasiapacific@zebra.com
T: +65 6858 0722
F: +65 6885 0838
E: China:tschina@zebra.com
All other areas:
tsasiapacific@zebra.com
T: + 65 6858 0722
F: +65 6885 0838
E: China:tschina@zebra.com
All other areas:
tsasiapacific@zebra.com
E: China: GCmarketing@zebra.com
All other areas:
APACChannelmarketing@zebra.com
T: +65 6858 0722
F: +65 6885 0836
E: China: order-csr@zebra.com
All other areas:
csasiapacific@zebra.com
P1003638-003TTP 8000 Technical Manual10/19/09
2
Product Presentation
The TTP 8000 kiosk printer series consists of a family of printers that will print A4 or Letter
paper width depending on the printer configuration. Different configurations and paper
handling options are available.
Figure 1 • TTP 8000 Printers
Note • Roll holders shown in Figure 1 are options.
10/19/2009TTP 8000 Technical ManualP1003638-003
Product Presentation
10
Figure 2 • Printer Exterior, Side View
The TTP 8000 series of kiosk printers use direct thermal printing. The print speed is up to
100 mm per second.
The printer has an integrated control board that communicates with the host computer through
either an USB orIEEE-1284 bi-directional parallel port. Printer drivers for Microsoft Windows
are available. The USB and parallel interface printers are compatible with the Plug and Play
standard. It is also possible to address the printer directly from the kiosk software without
using a driver.
The flip-up printhead and presenter modules give the operator complete access to the paper
path for maintenance purposes.
The loop generating presenter mechanism handles documents of various lengths. It holds the
printout until printed, then cuts and presents the complete printout to the customer. The
“retract and retain” function can retract uncollected printouts into a wastebasket inside the
kiosk.
Note • The compact version of the printer does not have presenter or retract function, and the
vertical printer has limited use of retract as the retract path faces the same direction as the
normal eject path.
P1003638-003TTP 8000 Technical Manual10/19/2009
Figure 3 • Printer Exterior, Rear View
Product Presentation
11
10/19/2009TTP 8000 Technical ManualP1003638-003
Product Presentation
12
Indicators
Indicators
The status indicator flashes in various sequences to indicate specific statuses or warnings.
The status indicator (see Figure 3, Printer Exterior, Rear View, on page 11) has several
functions:
ON constantly The printer is operational.
Flashes rapidly Indicates error. Hold down the feed-forward button and the number of
flashes will reflect the status-code. See Table 1.
Flash, pauses,
flash
Number of
Flashes
1
2
3
4
5
6
7
Fast flashes
Steady light
Off
Indicates warnings of non-severe error. The number of flashes reflects
the warning-code. See Table 2.
Table 1 • Status Codes
Status Code Description
Paper jam in presenter
Cutter cannot return to home position
Out of paper
Printhead lifted
Note • Only available on printers with printhead open sensor
installed.
Paper wrapped around platen (under head)
Temp error, printhead is above 60°C
Presenter not rotating
Checksum error, firmware
Wrong firmware type
No firmware is loaded, or wrong firmware checksum
Status-codes are reset:
• When the conditions causing them are removed.
• When the printer is turned off/on.
• When the printhead is lifted and then lowered. On printers without printhead lifted sensor,
remove paper, install again, and press the Feed button to reset.
• When the hardware reset command is received.
P1003638-003TTP 8000 Technical Manual10/19/2009
Table 2 • Warning Codes
Product Presentation
Indicators
13
Number of
Flashes
Warning Code Description
2Paper low
3 Weekend low*
*. Warning-codes are reset automatically when the cause for them are removed.
Control Board Indicators
The control board has two power indicators behind the power connector. To see the indicators,
open the printhead and look down between the platen and the printer frame.
Green indicator constantly ON24 V present
Red indicator constantly ON5 V OK (generated on control board)
Note • This signaling is disabled by default. It can be
disabled/enabled through parameter setup
Table 3 • Control Board Indicators
10/19/2009TTP 8000 Technical ManualP1003638-003
Product Presentation
14
Feed Button
Feed Button
Using the Feed button:
When you have inserted the paper under the printhead, press the Feed button and the printer
will feed it forward, cut and eject a printout, then switch to on-line mode. Each press on the
Feed button will feed, cut, and present one form length.
Is there paper in the presenter section of the printer?
If…Then…
NoPress the Feed button once to make a Form Feed. (Feed, cut, and present a
complete page.) In black mark mode, the page will be synchronized with the
black mark.
YesPress the Feed button once to clear the presenter.
When auto-loading paper, and the paper does not feed straight:
1. Press the Feed button once to stop the loading process.
2. Correct the error.
3. Press the Feed button once more to commence with the loading.
When loading paper manually:
1. After closing the printhead, press the Feed button to feed-cut-eject one page.
2. Press and hold the Feed button while turning on the power to print a self-test printout. See
page Making a Test Printout on page 21.
P1003638-003TTP 8000 Technical Manual10/19/2009
Unpacking
Press down
Remove
Unhook
When a new printer is delivered the printhead is secured with a shipping strap. Remove this by
pressing it downwards and disengage it from the parallel interface hole, then turn it up and
remove the shipping strap.
3
Installation
Figure 4 • Removing the Shipping Strap
10/19/2009TTP 8000 Technical ManualP1003638-003
Installation
SW01006B
Roll under or behind;Looping presenter version
Roll over or behind; Compact version
Narrow kiosk fit,fan fold paper;Vertical version
Roll under or behind;
Standard version with
looping presenter
Roll over or behind;
Compact version
Narrow kiosk fit,
fanfold paper;
Vertical version
16
Installation Considerations
Installation Considerations
There are a number of printer mounting options available to install the TTP 8000 printer in a
self-service kiosk enclosure, as illustrated in Figure 5. See also Printer Dimensions
on page 113.
Figure 5 • Installation Options
)
Additional space is required for paper replenishment and paper jam removal. Consider
mounting the printer on a movable platform so that the printer can be maintained outside the
kiosk enclosure.
Important • It is essential for the function of the printer that the paper is rolled in the correct
direction for the model of printer that you have.
Table 4 • Media Mounting Configurations
Media TypeStandardVerticalCompact
Roll mediaXXX
Fanfold mediaXXX
Roll behind printerXXX
Roll under printerXXX
Roll above printerX
Thermal coating outside of rollXXX
Thermal coating inside of rollX
P1003638-003TTP 8000 Technical Manual10/19/2009
Electrostatic Discharges, and Earth Currents
Preventing ESD and earth currents from affecting the printer operation requires proper
connection of the printer chassis to protective earth through a mounting platform or through a
separate earth conductor. The signal ground is not connected to protective earth (chassis)
inside the printer.
See Figure 6. Fasten an earth cable to the printer using an M4x6 screw. Always put a lock
washer between the chassis and the connector.
Figure 6 • Attach Earth Cable
Installation
Installation Considerations
17
Ambient Light
There are optical sensors just inside the paper exit at the front of the printer.
To ensure proper printer operation, design the printer enclosure so that it prevents direct
sunlight or light from indoor lamps from reaching the sensor through the paper exit.
10/19/2009TTP 8000 Technical ManualP1003638-003
Installation
18
Connecting to the Computer
Connecting to the Computer
Caution • Using a non-approved cable with the printer may void the FCC and other EMC
approvals of the printer.
Using the Parallel Interface
1. Connect the printer to the parallel port of the computer to be used.
2. Connector J10 is an IEEE-1284 type C, 36-pole mini Centronics, with clip latches. See
Figure 21 on page 96 for pin assignment of J10.
3. Use only certified cables marked IEEE-1284. See Part Number List on page 124 for
cables from Zebra Technologies.
Figure 7 • IEEE-1284 cable with Type A and Type C Connectors
P1003638-003TTP 8000 Technical Manual10/19/2009
Using the USB Interface
1. Connect J13 of the printer to the USB port of the computer or the USB hub to be used.
USB connectors can be recognized by the following symbol: .
2. Connector J13 is a 4-pin USB type B connector. See USB on page 98 for pin assignment.
A suitable cable is available from Zebra, see Part Number List on page 124 for part number.
Note • The USB interface on printers with hardware revision A does not trigger enumeration
in Windows when the printer is reset. Reset occurs after font, logotype, firmware and
parameter storage. This means that the printer will disappear from the list of available
printers at reset, and appear again when the PC is restarted. In normal operation this will not
happen. Powering off/on the printer starts enumeration.
You can see the hardware revision on the self-test printout.
Figure 8 • USB Cable with Type A and Type B Connectors
Installation
Connecting to the Computer
19
10/19/2009TTP 8000 Technical ManualP1003638-003
Installation
20
Connecting to the Computer
Connecting the Power
Caution • Use only the recommended Zebra power supply (see Part Number List
on page 124
1. Attach a ground cable to the ground screw on the printer.
2. Connect the cable from the power supply to J8.
3. Connect the power cable to the line outlet.
4. Apply power to the printer.
for part number).
If you use another type of power supply unit, connect the voltages according to the following
illustration.
Important • The ground and the 24 V ground must be separated in the power supply to avoid
ground loops!
At the printer end of the cable, use a Tyco Mate-N-Lok connector housing and two
contact-sockets:
Figure 9 • Power Connection
Tyco No. 350777-1Tyco No. 350689-1
Table 5 • Current Consumption at Factory Default Settings
Print DensityTTP 8200TTP 8300
None (Idle)0.15 A0.15 A
10% coverage1 A2 A
20% coverage2 A3 A
30% coverage3 A4 A
40% coverage4 A5 A
50% coverage5 A6 A
All black printing10 A12 A
Note • Print speed, burn time, and temperature affects these values.
P1003638-003TTP 8000 Technical Manual10/19/2009
Making a Test Printout
You can make a self-test printout if you want to verify that the printer operates correctly. See
Self-test Printout and Other Power ON Modes on page 29.
Paper Path Adjustment
Paper Width
When delivered, the paper width is adjusted to 210-mm for A4, and 216-mm for Letter paper
versions of the printer. To adjust the width, do as follows:
1. Loosen the two screws on each side that holds the guide wings (see Figure 2, Printer
Exterior, Side View, on page 10).
For A4-paperPull the wings together as much as possible, and then tighten the
For Letter paperPush the wings apart as much as possible, and then tighten the
screws.
screws.
Installation
Making a Test Printout
21
10/19/2009TTP 8000 Technical ManualP1003638-003
Installation
22
Paper Path Adjustment
Paper Level Sensors
The printer has inputs for two paper level sensors.
Sensor status is reported to the host computer when it asks the printer for status. If you want
the indicator on the printer to flash to show paper level sensor status, you must enable
signaling using parameter No. 52, see Default Parameter Settings on page 71.
Figure 10 • Sensors on Large Roll Holder
The paper-near-end sensor alerts the system when a couple of meters of paper remain. The
purpose of this sensor is to get an early alert so that you can replace the paper in time in
remotely located kiosks.
The weekend sensor should alert when the remaining paper does not last over a weekend. A
reason to use this sensor is that it is more expensive to get a service technician out on a
weekend or holiday, than it is to replace the paper before it is totally empty.
The Zebra 150 mm paper roll holder can be equipped with one paper-near-end sensor, while
the larger paper holders have both paper-near-end and weekend sensors.
When installing the Zebra paper holder just connect the cable from the roll holder to connector
J1 at the back of the printer. See Printer Exterior, Rear View on page 11.
P1003638-003TTP 8000 Technical Manual10/19/2009
Installation
Paper-nearend sensor
5
4
6
J1
Sharp GP2S40
Near
end
Roll holder shaft
Weekend sensor
Gray
Red
Blue
Black
2
1
3
PL SENSE
WE SENSE
+5 V
Sharp GP2S4
0
21436
5
SW97081D
M
o
l
e
x
4
3
0
2
5
-
0
6
0
0
M
o
l
e
x
4
3
0
3
0
-
0
0
8
200
Ω200
Ω47 kΩ47 k
Ω
Green
Green
Installing a Printer Driver
If you use custom designed paper holders, connect the sensors according to Figure 11.
Figure 11 • Paper-near-end Sensor Connection
23
Installing a Printer Driver
A printer driver for Microsoft Windows™ is available on the Zebra web site
http://www.zebra.com
and refer to the Kiosk Driver Reference Guide, Part Number P1006873-001, available on
www.zebra.com for detailed driver information.
10/19/2009TTP 8000 Technical ManualP1003638-003
. Please follow the installation instructions that accompany the drivers
1. Turn the new paper roll as shown. The paper should be inserted into the printer with the
temperature-sensitive side up.
Figure 12 • Paper Roll Orientation
2. Tear off approximately 0.5 m from the new paper roll.
Caution • This is important since the outer end of the paper is usually fixed to the roll with
some type of glue or self-adhesive substance that might otherwise cause paper jam or
even printhead damage.
Figure 13 • Tear Off 0.5 m from the New Paper Roll
P1003638-003TTP 8000 Technical Manual10/19/2009
Using Auto Load
1. Make sure the printer is turned ON.
2. Make sure the front edge of the paper is straight.
3. Enter the paper between the guide wings and feed it straight into the printer.
4. The platen should grip the paper, feed one form length, cut and eject, and set the printer
online.
Note • Autoloading works if the printer is on, the head is down and locked, and the Paper
Out flashing sequence is showing on the status indicator. If you see that the paper does not
pull straight, press the Feed button to stop the loading, then straighten the paper, and press
the button again to commence.
Using Manual Load
1. Open the printhead by pulling the two release levers back and tilt up the printhead.
Operation
Installing a Paper Roll
27
Figure 14 • Manual load of new paper
2. Position the paper on the shelf so that it passes the rubber platen roller.
3. Close the printhead. Remember to push the printhead release levers forward. Note that the
paper must be between the guides (circled in the above picture), and under the black plate
(arrow).
10/19/2009TTP 8000 Technical ManualP1003638-003
Operation
28
Clearing Paper Jams
4. Press the Feed button and the paper will feed, cut and eject a printout, and then
automatically go online.
Clearing Paper Jams
Should a paper jam occur, follow the procedure below:
1. Open the presenter top plate by loosening the two thumbscrews, and lifting up the plate.
2. Tear off the jamming paper against the fixed cutter blade, remove all jammed paper, and
make sure the paper path is clear.
3. Close the presenter top, and press it down while tightening the screws.
Figure 15 • Loosen both thumbscrews and flip open the presenter top.
Figure 16 • Tear off the jamming paper against the fixed cutter blade.
P1003638-003TTP 8000 Technical Manual10/19/2009
Self-test Printout and Other Power ON Modes
Self-test Printout and Other Power ON Modes
1. Remove power from the printer.
If your printer has a power switch, turn the power off. If it does not, remove power to the
printer.
2. Hold the feed-forward button depressed while powering ON the printer. Keep the button
depressed until the presenter motor buzzes.
This produces a printout showing the firmware program version and date, control board
revision number and serial number, name of loaded fonts and logotypes, parameter settings,
and the set printhead burn-time.
3. Each successive press of the button will produce a test printout.
4. To exit self-test mode, switch the printer OFF and ON, or send a reset command.
Note • You can also print a self-test printout by sending the command <ESC>P<0> to the
printer.
Operation
29
Power ON Modes
Normally the printer is immediately ready for use when you switch it ON. You can enable
several test and maintenance functions by giving simulating sensor signals while switching
ON the power.
Print ModeFeed buttonPaperPrinthead
NormalReleasedDon't careDon’t care
Self-test printoutPressedLoadedDown
Important • For printers without head up sensor, modes requiring printhead-up are not
There are two different ways of setting up the printout: Text oriented and driver oriented style.
Command codeThe printout can be seen as the page of a simple word processor. You send text and
graphics to the printer, which prints the information in the same sequence as the data is
received. Design features are limited to the font stored in the flash PROM of the printer.
Text and logotypes can also be printed in landscape orientation.
There are two text cursors, one for portrait, and one for landscape. The start positions of
the cursors are the upper left corner for the portrait cursor, and the upper left corner for the
landscape cursor, see Figure 17, Printout Styles, on page 32.
You can switch between these cursors at any time; the cursor will retain its last position on
the printout.
Driver orientedWhen a Windows driver is used, you can use any Windows program to design the printout
with text, graphics, bar codes or whatever you want to print and in any orientation you
want.
The Windows driver issues all the necessary commands. The cut, present, and black-mark
commands to send are indirectly selected through the settings in the Windows dialogue
boxes.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
32
Figure 17 • Printout Styles
P1003638-003TTP 8000 Technical Manual10/19/2009
How the commands are described
Description of command
Mnemonic
Decimal representation of command
Hex representation of command
Mnemonic
Is the popular command name that should be easy to remember
Hex
Programming
How the commands are described
33
Give the command in hex representation
Decimal
Give the command in decimal representation
Values
n1, n2, etc. represents values that you set with the commands. What you should enter here
depends on what you want the command to do.
Examples
Command examples are formatted in Courier and typed in the same way as used in the
Zebra Toolbox:
<ESC>&P<1><19>
<ESC> means the escape character 27 decimal (hex 1B). Numbers between less-than
Where
and greater-than characters, for example <15>, means 15 decimal (hex F). When the numbers
indicate a hex value, h is appended to the number.
Example • <65>, <h 41> and A are three different ways of expressing the character A.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
34
Summary Of Control Codes & Escape Sequences
Summary Of Control Codes & Escape Sequences
Table 6 • Control Codes and Escape Sequences in Alphabetical Order
Table 6 • Control Codes and Escape Sequences in Alphabetical Order
CommandHexDecimalFunctionPage
ESC i n11B 69 n127 105 n1Italicspage 38
ESC J n11B 4A n127 74 n1Paper Advancepage 49
ESC j n11B 6A n127 106 n1Paper Reversepage 49
ESC l1B 6C n1...n227 108 n1...n2Send dot-line, 300 dpipage 45
ESC N n11B 4E n127 78 n1Align Textpage 37
ESC NUL1B 00 27 0 Load Firmwarepage 55
ESC o n11B 6F n127 111 n1Text and Logotype Orientationpage 37
ESC p1B 70 27 112 Printpage 48
ESC P n11B 50 n127 80 n1Print Self-test Printoutpage 48
ESC Q1B 51 n1...n227 81 n1...n2Quick Advancepage 48
ESC r n1...n91B 72 n1...n927 114 n1...n9Print Ruler Linepage 46
ESC RS1B 1E 27 30 Cut only, no Ejectpage 50
ESC s n11B 73 n127 115 n1Send dot-line, 203 dpipage 44
ESC t n1...n51B 74 n1...n527 116 n1...n5Print Text at XYpage 40
ESC T n11B 54 n127 84 n1Reversed/Inversed Textpage 39
ESC u n11B 75 n127 117 n1Underlinepage 39
ESC w n11B 77 n127 119 n1Text Widthpage 40
ESC Z1B 5A 27 90 Go to next Top of Formpage 36
FF0C 12 Form Feedpage 42
HT09 9 Horizontal Tabulationpage 42
LF0A 10 Linefeedpage 41
RS1E 30 Cut and Ejectpage 50
35
Note • In all responses from the printer the most significant byte (MSB) is transmitted first.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
36
Software Command Syntax
Software Command Syntax
The commands in this section are grouped after what they do, and these groups are sorted in a
theoretical usage sequence. It starts with commands for specifying the printed page — through
text-and-graphics commands — to cut-and-present commands. System and status commands
are presented at the end.
Black Mark (Top-Of-Form) Commands
See also Aligning Preprint and Thermal Print on page 89.
ESC #
Hex
decimal
ESC Z
1B 5A Hex
27 90 Decimal
Calibrate Blackmark Sensor
Refer to TTP 2000 Technical Manual (Zebra part number P1002902) for correct format.
Looks for a black mark, measures the contrast of the mark and sets parameter n51 to a suitable
value for the detected voltage, then reverses to the start position.
To make the calibration permanent, send <ESC>&<4>, store parameter values.
Note • Be sure to first set up the length of the black mark and the distance between two black
marks in the parameter setup.
ESC # is available in hardware revision B or higher.
Go to next Top of Form
In black mark mode, an ESC Z
starts looking for a black mark at the current position and
continues for one page length. If no black mark is found, the printer stops and bit 3 in status
byte 2 is set to 1 (See ESC ENQ 6 page 59).
When black mark mode is disabled, ESC Z will perform a form feed without cut (disregarding
the setting of parameter 34 on page 80).
P1003638-003TTP 8000 Technical Manual10/19/2009
Text Commands
Text received by the printer is printed with the currently selected font and font attributes. Text
exceeding the page width is wrapped with the line spacing selected.
Programming
Text Commands
37
ESC o n1
1B 6F n1hex
27 111 n1decimal
ESC N n1
1B 4E n1hex
27 78 n1decimal
Text and Logotype Orientation
Changes the orientation of text and logotypes.
n = 0Gives portrait orientation
n = 1Gives landscape orientation
Portrait and landscape can be mixed on the same printout. There are two cursors, one for
portrait and one for landscape. The cursor always starts at the top left corner of the document.
Looking at the paper when it exits the printer, the portrait cursor is at the top left corner of the
printout, moving to the right as text is typed, while the landscape cursor is at the top right
corner, moving downwards.
Note • Landscape orientation can only be used with fixed document mode.
Align Text
Changes the alignment of text and logotypes.
ESC N 0=Left
ESC N 1=Center
2=Right
ESC N
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
38
Text Commands
ESC ! n1
1B 21 n1hex
27 33 n1decimal
Select Font
This command selects one of eight fonts. The font design depends on which fonts have been
1
loaded
into the printer. Make a test printout to see which fonts are available in your printer.
Table 7 • Font selection commands
ESC ! 0 selects normal font (font 0)ESC ! 4 selects font 4
ESC ! 1 selects font 1ESC ! 5 selects font 5
ESC ! 2 selects font 2ESC ! 6 selects font 6
ESC ! 3 selects font 3ESC ! 7 selects font 7
Lines, too long to be printed in the selected font, are automatically wrapped around.
Different fonts can be used on the same line.
Selecting an empty or invalid font location, will set bit 4 of byte 1 in the status enquiry
response to ”1". See Parameter-setting Data Enquiry on page 63.
Note • If more than 256 characters are sent to the printer before an LF, the first part of the
buffer contents is printed-out automatically. The text is formatted according to the already
received formatting commands.
ESC B
Hex
decimal
ESC i n1
1B 69 n1Hex
27 105 n1decimal
BoldNormal Bold
n = 0Turns OFF bold (Normal)
n = 1Turns ON bold
Bold is designed for normal character width and shows less and less as the width increases.
ItalicsNormal Italics
n = 0Turns OFF Italics (Normal)
n = 1Turns ON Italics
1. For font loading, see Loading on page 67.
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
Text Commands
39
ESC T n1
1B 54 n1Hex
27 84 n1decimal
Selects normal or reversed print.
n = 0Gives normal print, black on white
n = 1Gives reversed print, white on black
Single words, characters, or complete text lines can be reversed.
Note • Reverse text and underline swaps the background with the foreground. This means
that the order in which the commands are issued affect the printout if one text overlaps
another.
ESC u n1
1B 75 n1hex
27 117 n1decimal
Characters, single words, or complete text lines can be underlined.
n = 0Turns OFF underline
n = 1Turns ON a 1 pixel wide underline
Reversed/Inversed Text
Underline
n = 2Turns ON a 2 pixel wide underline, etc. up to n=7.
ESC h n1
1B 68 n1hex
27 104 n1decimal
Applicable n values are 0 — 15.
n = 1Increases the character height to 2 times the basic character height.
n = 2Increases the character height to 3 times the basic character height etc.
n = 0Resets the character height to the basic character height.
In combination with variable character width (<ESC>w<n1>), give highly legible characters
depending on the font to which the command has been applied.
Different fonts and heights can be mixed on the same print line.
Text Height
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
40
Text Commands
ESC w n1
1B 77 n1hex
27 119 n1decimal
Applicable n values are 0 — 7.
n = 1Increases the character width to 2 times the basic character width.
n = 2Increases the character width to 3 times the basic character width etc.
n = 0Resets the character width to the basic character width.
In combination with variable character height (<ESC>h<n1>), give highly legible characters
depending on the font to which the command has been applied.
Different fonts and widths can be mixed on the same print line.
ESC t n1...n5
1B 74 n1...n5datahex
27 116 n1...n5datadecimal
data
Prints a text string at the specified X-Y position. The string will use the formatting set by font,
reversed, width, height, bold, italics, and underline commands.
n1n2Two byte definition of the X print position (in pixels).
Text Width
Print Text at XY
BS
08 Hex
8 Decimal
n3n4Two byte definition of the Y print position (in pixels).
n5The number of characters in the string.
dataThe text string. The length must be exactly the number of characters
specified by n5, otherwise the printer will stop, waiting for more
characters.
After the string has been printed, the cursor will return to the position it had before the string
command was issued.
Note • The <ESC>t command clears any text preceding it on the same line. Commands will
not be cleared.
Note • The Y print-position only works if fixed page length is used.
Backspace
Moves the print-position one step to the left. Backspace can be used to combine characters.
For instance to print a Ø, send text commands O BS / to the printer, and the slash will
overprint the O.
Only one backspace can be used at a time. Excessive backspaces will be ignored.
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
Text Commands
41
CAN
18 hex
24 decimal
CR
0D hex
13 decimal
LF
0A hex
10 decimal
Cancel
Cancels text and attributes sent before the <CAN> command on the same line.
Commands, are not cancelled.
Carriage Return
By default, carriage return is ignored.
By changing the default settings, you can:
1. Interpret it as <CR> which returns print position to beginning of line without line feed.
2. Interpret <CR> as <CR><LF> which inserts line space as specified by the line spacing
setting (see parameter 13 on page 78), and returns the print position to beginning of the
line.
See CR/LF Behavior on page 79.
Linefeed
ESC d n 1
1B 64 n1hex
27 100 n1decimal
Linefeed is interpreted as <CR><LF> by default. This inserts line spaces as specified by the
line spacing setting (see parameter p13), and returns the print position to beginning of the line.
LF also converts text from the input buffer to pixel lines and stores them in the line buffer,
ready to be printed.
By changing the default settings, you can:
• Interpret <LF> as Linefeed. This inserts line space as specified by the line spacing setting
(see parameter p13), without returning the print position to the beginning of the line.
• Ignore <LF>.
See CR/LF Behavior on page 79.
Make n Linefeeds
Executes the number of linefeeds as defined by variable n1. The length of each line feed is
determined by the default value for selected font (see parameter 13 on page 78).
The print position is returned to the beginning of the line. Any text on the line is lost. To avoid
losing text, send an <LF> before sending <ESC>d.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
42
Text Commands
ESC 3 n1
1B 33 n1hex
27 51 n1decimal
FF
0C hex
12 decimal
Line Spacing
This command is used to increase the line spacing.
Note • Obsolete command, may disappear from future program releases. Use parameter 13
on page 78 instead.
Form Feed
Prints data from the input buffer and feeds the paper to the top of the next page.
In fixed document length (FORM-mode) this command prints data in the input buffer and
feeds the paper to the top of next page.
In variable document length mode the Feed button advances to the minimum page length. If
the printout already is longer than the minimum page length, the Feed button does not feed the
paper at all.
In black-mark mode, the <FF> command looks for a black mark, see <ESC>Z.
If "Auto cut" is set to 1 (see Auto Cut after FF on page 80), the Feed button effects form-feed,
cut, and eject.
HT
09 hex
9 decimal
Note • Use parameters p37 and p38 to define page length.
Horizontal Tabulation
Shifts the current print position to the next Tab position.
Set tab positions with parameters 15 to 30 on page 79.
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
Text Commands
43
ESC F
1B 46 n1...n16hex
27 70 n1...n16 decimal
This command defines the desired horizontal tab positions. Variables n1...nx represent each
tab position. Up to 16 tab positions are allowed. Minimum allowed value is “1”.
Tab position 255 sets a tab stop on the last position of the line. Use this if you want underline
or reversed text to extend across the full paper width. Note that the tab positions are always
expressed in number of 2.5-mm steps.
n = 1Means 2.5 mm from the left-hand edge of the print window.
N = NUL Ends the string
Example • Sets tab stops at 12.5, 25, 37.5, 50, and 62.5 mm.
Send→ ESC F 5 10 15 20 25 0
Note • Do not use value n = 0. The values must be sorted from low to high numbers.
Graphics commands
Set Horizontal Tabs
For the TTP 8200, the line length in bytes is 1 x, see parameter 48 on page 84.
For the TTP 8300, the line length in bytes is 1.5 x, see parameter 48 on page 84.
In the TTP 8200, that is 210 bytes for the A4 printer and 216 bytes for the Letter size printer.
ESC b n1...n5data
1B 62 n1...n5Datahex
27 98 n1...n5Datadecimal
Prints a black & white Windows bitmap (BMP-file with 1-bit color depth) at the specified X-Y
position. The bit-map must be a complete uncompressed Windows bitmap where the data
starts with BM. Max size is limited to the free RAM printed on the self-test printout.
n1Always 0
n2n3Two byte definition of the X print position (in pixels).
n4n5Two byte definition of the Y print position (in pixels).
dataBitmap data.
After the bitmap has been printed, the cursor will return to the X-position that it had before the
bitmap command was issued.
Selecting horizontal mode (with <ESC>o<0>) prints the image in portrait orientation, while
selecting the vertical mode (with <ESC>o<1>) prints the image in landscape orientation.
Print Bitmap at XY-position
Note • The Y print-position and horizontal/vertical orientation only works if fixed page
length is used.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
44
Text Commands
ESC s n1 data
1B 73 n1DataHex
27 115 n1DataDecimal
Send Dot-Line, 203 dpi
Sends one line of dot data. This command is used to build images, one dot line at a time by the
printer driver and should not be combined with text commands.
nDetermines the number of bytes. Range: 1-255.
<data>1 – x bytes, where x is the printhead width in bytes. The printhead width is in the
spec. of the printer.
Example • 58 mm printers use 48 bytes
Example • 80 mm printers use 72 bytes
Example • 112 mm printers use 104 bytes
Example • A4 and Letter-size printers use 216 bytes
Caution • Always send the No. of bytes that you specify!
If more than the specified No. of bytes are received, the rest of the bytes will be interpreted as
text or commands. This can cause any kind of problems in the printer as graphics data can
contain any hex value.
If you specify less data then the actual printhead width, the printer will fill the rest of the dot
line with spaces.
Data Compression
The Windows drivers use line based compression to decrease the time it takes to transfer
graphics data to the printer.
<ESC>s<0><0> or <ESC>l<0><0><0> disables compression
<ESC>s<0><1> or <ESC>l<0><0><1>
enables compression
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
Text Commands
45
ESC l data
1B 6C n1...n2datahex
27 108 n1...n2datadecimal
Sends one line of dot data. This command is used to build images, one dot line at a time.
n1 n2Determines the number of bytes: n2 is the low byte and n1 is the high
<data>1–320 bytes of data for a 216 mm printer
Caution • Always send the No. of bytes that you specify!
If more than the specified No. of bytes are received, the rest of the bytes will be interpreted as
text or commands. This can cause any kind of problems in the printer as graphics data can
contain any hex value.
If you specify less data then the actual printhead width, the printer will fill the rest of the dot
line with spaces.
Data compression
The Windows drivers use line based compression to decrease the time it takes to transfer
graphics data to the printer.
Send Dot-Line, 300 dpi
byte. The value of n1+n2 must be 1 or more.
For 320 bytes n1 should be 1, and n2 should be 64.
<ESC>l<0><0><0> or <ESC>s<0><0> disables compression
<ESC>l<0><0><1> or <ESC>s<0><1> enables compression
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
<ESC>r<0><0><0><0><1><193><0><24><3>
X startY start
X stopY stop
Fill:
0=black
1=fine
2=medium
3=coarse
SW99006B
46
Text Commands
ESC r n1...n9
1B 72 n1...n9hex
27 114 n1...n9decimal
Prints a ruler line across the paper.
A ruler line is normally used to divide the printout into logical parts to make it easier to read. A
ruler line is actually an area defined by a start X-Y position and a stop X-Y position. This area
is filled with black or a checkered pattern.
n1n2Two byte definition of the X start position
n3n4Two byte definition of the Y start position
n5n6Two byte definition of the X stop position (must be larger than n1n2)
n7n8Two byte definition of the Y stop position (must be larger than n3n4)
n9Fill pattern, 0=black, 3= Checkered
Print Ruler Line
Figure 18 • Printout with checkered ruler line
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
Text Commands
47
ESC g n...n5
1B 67 n1...n5hex
27 103 n1...n5decimal
Prints a customized logotype2 stored in the flash PROM. See also Logotypes on page 67.
n1One-byte logotype identification No. (0—15)
n2n3Two-byte definition of desired print position in X-direction measured
Print Logotype
from left-hand edge of the page (see Page Setup on page 87 regarding
definition of “page”). X-direction is perpendicular to the paper transport
direction.
2. For logotype loading, see "ESC & 1" under System Related Commands on page 52.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
48
Text Commands
Print commands
ESC p
1B 70 Hex
27 112 Decimal
ESC P n1
1B 50 n1Hex
27 80 n1decimal
Print
This command makes the printer print the contents of the line buffer.
Text is converted from text to pixel lines and stored in the line buffer when an <LF> is
received. If the line buffer is empty when <ESC>p is received, nothing is printed.
Text to be printed <LF><ESC>p prints "Text to be printed" on the paper.
Printout occurs automatically at:
Cut <RS> and <ESC><RS>
Form feed<FF>
Clear presenter <ENQ>
Run presenter <ESC><FF><n1>
Print buffer full
Press on Feed
button
Print Self-test Printout
This command makes the printer generate a self-test page based on the current parameter
settings and print that page. The parameter values printed are the ones currently being used.
They can differ from Power-ON default values if for example a printout from Windows has
been done before ESC P is sent to the printer. To make a self test printout with the Power-ON
default settings, power up the printer with the Feed button pressed.
n = 0 Gives standard self-test printout.
n = 1 Gives a character set printout using the font selected by parameter p14.
ESC Q
1B 51 n1...n2hex
27 81 n1...n2Decimal
The value n1 n2 represents high byte and low byte of the number of dot lines the paper is to be
transported forwards. Minimum value is 0, and maximum value is 32767.
• For 203 dpi printers, a dot line is 0.125 mm, and 32767 equals approximately 4.1 m.
• For 300 dpi printers, a dot line is 0.0833 mm, and 32767 equals approximately 2.7 m.
• For 203 dpi printers a dot line is 0.125 mm, and 255 dot lines equal approximately 32 mm.
• For 300 dpi printers, a dot line is 0.0833 mm, and 255 dot lines equal approximately 21.25
mm.
Quick Advance
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
Text Commands
49
ESC J n1
1B 4A n1hex
27 74 n1decimal
ESC j n1
1B 6A n1hex
27 106 n1decimal
Paper Advance
The value n represents the number of dot lines the paper is to be transported forwards. Range:
1–255.
Note • This command is supported for compatibility with older printers. We recommend you
to use <ESC>Q<n> instead.
Paper Reverse
The value n represents the number of dot lines the paper is to be transported backwards.
Range: 1–255.
Caution • Paper reverse may cause problems when used at the top of the page. Doing so
may cause paper jam when feeding forward again. You may also lose grip of the paper.
NEVER reverse more than 10 mm at top of page!
• For 203 dpi printers a dot line is 0.125 mm, and 255 dot lines equal approximately 32 mm.
• For 300 dpi printers, a dot line is 0.0833 mm, and 255 dot lines equal approximately 21.25
mm.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
50
Cut and Present Commands
Cut and Present Commands
RS
1E Hex
30 Decimal
ESC RS
1B 1E Hex
27 30 Decimal
Cut and Eject
Effects a paper cut-off and an eject through the presenter module. The RS command
automatically gives the eject length of 50 mm in addition to the factor stored in parameter p47.
If the printout length is too short, paper-feed is added until the minimum printout length (set by
parameters 37 and 38) is reached, before execution of the Cut command.
Note • The cut position is 19 mm before the print line. This makes the last 5 lines on a page
end up in the beginning of the next page. To get the cut after the text, Please set parameter 49
to auto, see parameter 49 on page 85.
You can also use <RS> together with the paper advance command:
<ESC>J<160><RS> or <ESC>J<230><RS> for TTP 8300.
Gives a cut & eject after the last text line.
Cut only, no Eject
Effects paper cut-off only.
Eject can be effected with the <ESC><FF><n> command (see Eject (run presenter)
on page 51).
To avoid thin strips of paper in the printer, multiple cut commands without paper feed inbetween will not be performed. If the printout length is too short, paper-feed is added until the
minimum printout length is reached, before execution of the cut command.
See Also Note on cut position for the <RS> command above.
Note • Use the cut command if you want full control over the printer from your system. But
remember that you also must add commands to feed to the correct cut position and eject the
paper so that the customer can get hold of it.
Note • Top margin settings that move the paper count as paper feed.
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
Cut and Present Commands
51
ESC FF n1
1B 0C n1hex
27 12 n1decimal
Eject (run presenter)
<ESC><FF><n> ejects the document through the presenter module. Variable n represents the
eject-length in steps. The setting of parameter n47 is always added to the eject n in all forms
of eject.
The range for n is 1 to 127 mm. The range 128-255 is reserved for future use.
Place this command after a cut command (<ESC><RS>) to partially eject the printout to the
customer. Set the eject length so that the customer sees that the printout comes out of the kiosk
wall. The pull-detector gives motorized eject of the rest of the printout when the customer
pulls the paper.
EM n
19 n1Hex
25 n1Decimal
ENQ
05 Hex
5 Decimal
Note • The cut and eject command <RS>, automatically give the eject length of 50 mm in
addition to the factor stored in parameter n47.
Note • The resolution of the sensor is ± 3 mm so small changes in the parameter setting may
not show.
Longer ejects are more accurate than shorter ones because acceleration and retardation of the
rollers affects the eject less. Allow for ± 10 mm variations on short ejects.
Enforced Clear Presenter
Same function as ENQ but overrides the Retract and Retain parameter (p45) with another
presenter behavior. The function of n can be 0 to 255 0-99 ejects while 100-255 retracts (see
the description of parameter 45). The command will clear the presenter immediately (with
printing synchronization).
<EM><0>Ejects the presented page
<EM><100>Retracts the presented page
Clear Presenter
Clear the paper-path in the presenter of printouts. For example, to eject a document not
removed during the previous print/cut/eject operation. Parameter No. 45 controls how the
presenter is cleared, see parameter 45 on page 83.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
52
System Related Commands
System Related Commands
ESC ?
1B 3F Hex
27 63 Decimal
ESC @
1B 40 Hex
27 64 Decimal
ESC & 1
1B 26 01 Hex
27 38 1 decimal
Reset (full)
Restarts the printer with a complete reset.
This is the same as power off/on.
Reset (initialize)
Terminates the processing and initializes the control board. The control board is reset to
default-values (same as after power ON). Do not use this command as part of a print data
command string.
Load Logotype
Stores a logotype bitmap in the flash PROM. The logotype is printed with the ESC g
commands, see ESC g n...n5 on page 47. Also see Logotypes on page 67.
Note • If the logo width exceeds the print width, the operation is aborted.
ESC & L
1B 26 4C Hex
27 38 76 decimal
ESC & 4
1B 26 04 Hex
27 38 4 decimal
Erase all Logotypes
Erases all logotypes stored in the flash PROM.
Note • This command is only executed if at least one logotype has been loaded.
Store Current Parameter Values
Stores the current setting of all parameter values in the setting memory. These parameters are
then used as default parameters. Storing takes approximately 4 seconds. The printer activates
the presenter motor temporarily to indicate that storing is complete.
See also ESC & 5 on page 53 (Set default profile pointer) and ESC P n1 on page 48 (Set
temporary default parameters).
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
System Related Commands
53
ESC & 5
1B 26 05 n1hex
27 38 5 n1decimal
ESC & 0
1B 26 00 hex
27 38 0 decimal
Set Default Profile Pointer to n
Redirects any parameter storage initiated by <ESC>&<4> to another storage location.
These settings can later be recalled by <ESC>&<F><n>. A reset command or power OFF/ON
will return the parameters to the default settings stored in n=10.
n = 1 – 5 Settings that can be stored by the user
n = 10 Zebra factory default setting
Load Font
This command is used to load a font to the printer flash PROM. The font is placed in the first
free address position in the order of load sequence.
A Zebra font-file consists of a header containing data describing the font as well as data for
each individual character in the font.
Fonts can be designed with the font editor and loaded or deleted with the software available for
download from the Zebra web site. The font loading and deleting commands described here
should only be used if you do not work in the Windows environment.
ESC & C
1B 26 43 Hex
27 38 67 Decimal
ESC & D
1B 26 44 Hex
27 38 68 Decimal
For complete specification of the font format, see Fonts on page 64.
Note • The available font memory is printed on the self-test printout. A maximum of 8 fonts
can be addressed. Exceeding any of these limits will cause this command to fail.
Erase all Fonts
Erases all fonts stored in the flash PROM.
Note • This command is only executed if at least one font has been loaded.
Erase Fonts 4 to 7
Erases fonts number 4–7. Fonts 0–3 are not affected by this command.
The operation is complete when the printer resets automatically and activates the presenter
motor temporarily. Takes approximately 4 seconds.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
54
System Related Commands
ESC & F n1
1B 26 46 n1Hex
27 38 70 n1decimal
ESC & P n1...n2
1B 26 50 n1...n2hex
27 38 80 n1...n2decimal
Reset Parameter Profile
This command resets the parameters of the printer to default or any previously stored setup.
n = 1 – 5 Settings that can be stored by the user
n = 10 Zebra factory default setting
Temporarily sets all parameters to predefined values that are stored in the printer. To keep the
values as default, store them in the flash PROM with command <ESC>&<4>.
Unless you save the parameters, a reset command or power OFF/ON will return the
parameters to the settings stored in the flash PROM.
Set Parameter Value
A number of bytes in the flash PROM hold various parameter values called default
parameters. One or several of them can be overridden temporarily with this command.
n1 Parameter number, range 1 -255.
n2 Parameter value.
See Default Parameter Settings on page 71.
The permanently stored parameters will be used again after a printer-reset command or at
power ON.
The temporary values can, however, be stored in the flash PROM as permanent values with
command <ESC>&<4>.
Set several parameters at once
<ESC>&P<0><FromPar><ParCount><Data>
FromPar is the parameter number to start writing and ParCount is the number of bytes being
sent. For every byte sent the parameter number is incremented.
Example • Sets the first 5 tabs to 5, 10, 15, 20, and 25. (FromPar 15, ParCount 5).
<ESC>&P<0><15><5><5><10><15><20><25>.
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
System Related Commands
55
ESC NUL
1B 00 Hex
27 0 Decimal
Load Firmware
This command should be used when you integrate firmware loading into your kiosk program.
Note • The Toobox program is available to load firmware into the printer from
http://www.zebra.com
.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
56
System Related Commands
Status reporting commands
See also Status Reporting on page 69.
Note • All status commands are immediate, that is they pass the print queue and are
answered directly.
ESC ENQ 1
1B 05 01 hex
27 5 1 decimal
Status Enquiry
A status enquiry results in response ACK (6) if all sensors are clear, but NAK (15) + code if one
or more sensors report some condition.
Table 8 • Status Codes
Status CodeMeaning
ACKOK (printer is operable)
NAK 1Paper left in presenter module. Attempt to clear the paper path failed.
NAK 2Cutter jammed
NAK 3Out of paper
NAK 4Printhead lifted
NAK 5Paper-feed error. No paper detected in presenter although 10 cm has been
printed. Paper might be wound around the platen or, in some way, has been
forced above the presenter module.
NAK 6Temperature error. The printhead temperature has exceeded the 60 °C
maximum limit.
NAK 7Presenter not running (no feedback from code wheel)
NAK 0ABlack mark not found
NAK 0BBlack mark calibration error
NAK 0CIndex error
NAK 0DChecksum error
NAK 0EWrong firmware type or target for firmware loading
NAK 0FFirmware cannot start because no firmware is loaded or firmware
checksum is wrong.
NAK 10Waste bin timed out. If the customer doesn’t take the paper and the printer
clears the presenter due to a timeout, the pending error bit is set and status
code NAK 16 is reported.
NAK FFUndefined error
Note • Errors 2, 5, and FF are terminal faults that require you to reset the printer before it will
be operable again. The printer automatically recovers from the other conditions as soon as
the cause is corrected.
A status enquiry command can only return one status code at a time. If there are two or more
simultaneous conditions, each condition should be cleared and the status enquiry repeated in
order to get a complete report of all status codes.
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
System Related Commands
The host computer cannot be certain that all conditions have been cleared until an ACK is
received.
The possible conditions are reported in the above order.
Note • If you want to read out all status information directly, use <ESC><ENQ>E.
57
ESC ENQ 2
1B 05 02 hex
27 5 2 decimal
Paper-near-end Enquiry
This command requests a paper-near-end sensor (paper low) status from the printer in a 1-byte
format.
Value = 1 indicates ”No paper”
Value = 0 indicates ”Paper present” at the sensor position
Note • The status of the sensor is sampled every time the printout is cut. If three succeeding
samples show "no paper", the status reply changes to 1. This is to prevent false alarm if the
side of the paper roll is not clean. If you want the momentary status of the sensor, use
<ESC><ENQ><6> and extract the paper-near-end bit.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
58
System Related Commands
ESC ENQ 4
1B 05 04 hex
27 5 4 decimal
Fonts and Logotype Enquiry
Requests multiple bytes of information regarding loaded fonts and logotypes.
Results in a 2-byte response, reflecting the status of each sensor. This command is intended as
a go/no go indication. When everything is OK, this status report returns 0.
Note • If no weekend sensor is installed, 64 is returned when everything is OK. If no
weekend or paper-near-end sensors are installed, 64+2=66 is returned when OK.
Table 9 • Sensor Status
First byte, bit No.:Second byte, bit No.:
7654321076543210
Status code available*
Print data exists**
Power has been OFF***
-
Pending external code****
-
-
-
Paper at waste sensor
Weekend sensor
Printhead lifted
Cutter not home
Paper at presenter-Paper-near-end*****
Out of paper
TIP! – Mask away the undefined bits in your application program to avoid having to change
the application, if future firmware releases starts using them.
Mask first reply byte with E8hMask second reply byte with FBh
* This bit indicates that a status code is available. Use <ESC><ENQ><1> or
<ESC><ENQ><E> to fetch it.
**This bit tells you that there are data in the printer that have not yet been printed.
There are two possible reasons for that:
1) The last command received by the printer was not a command that triggers a
printout.
2) The printer is printing.
***When parallel cable is connected, both printer and host computer must have been
off to set this bit. This is because the interface powers the RAM in the printer.
****Read external code with <ESC><ENQ><E>.
*****This paper-near-end bit differs from the <ESC><ENQ><2> response, see ESC
ENQ 2 on page 57.
Bits 4 and 5 in the first byte are reset when read.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
60
System Related Commands
ESC ENQ 7
1B 05 07 Hex
27 5 7 Decimal
ESC ENQ 9
1B 05 09 Hex
27 5 9 Decimal
Firmware-version Enquiry
Results in a 2-byte response representing the version of the installed firmware.
The first byte represents major versions, and the second byte minor versions.
If no firmware is loaded, the printer will answer with 0.
Example •
Send→ <ESC><ENQ><7>
Read← 02 29 (hex)
That is, a response with the value 02 29 (hex) indicates version 2.41.
Control Board Serial Number Enquiry
Results in an 6-byte response representing the serial number of the control board.
Results in a 1-byte response representing the control board revision. A minus sign indicates
that no revision has been made, while A indicates the first revision, and so on.
Example •
Send→ <ESC><ENQ><10>
Read← n Where n can be ‘A’ (ASCII) or 41 (hex) or 65 (dec)
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
System Related Commands
61
ESC ENQ 11
1B 05 0B hex
27 5 11 decimal
ESC ENQ 12
1B 05 0C hex
27 5 12 decimal
Head Temperature Enquiry
Results in a 1-byte response representing the temperature of the Printhead.
Example •
Send→ <ESC><ENQ><11>
Read← n Where n is a value representing the approximate temperature in Celsius.
Bootware Version Enquiry
Results in a 2-byte response representing the version of the installed bootware.
The first byte represents major versions, and the second byte minor versions.
Example •
Send→ <ESC><ENQ><12>
Read← 01 30 (hex)
ESC ENQ c
1B 05 63 hex
27 5 99 decimal
That is, a response with the value 01 30 (hex) indicates version 1.48.
Device ID Enquiry
Results in a string containing the device ID in the Windows Plug and Play string format. The
two first bytes represent the string length.
Example •
Send→ <ESC><ENQ><99>
Read←0 106
This indicates that the string is 104 characters (plus two characters indicating
the string length)
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
62
System Related Commands
ESC ENQ E
1B 05 45 hex
27 5 69 decimal
Read Extended Status
Extended status is status from the printer together with devices connected to the I2C optionsbus available in some Zebra printers. The short message protocol gives replies up to 255 bytes.
Other protocols may be defined in the future. Protocols are described in separate documents.
<ESC><ENQ>E results in a variable length reply:
n1 Protocol version, 11h = Short Message Protocol
n2Protocol length in bytes
n3-n255Data specified by the protocol
Short message status examples:
Suppose we have a printer with a shutter attached.
Example 1 – Out of paper, presenter Jam and Shutter Open Jam.
Hex
01Status code 1 (shutter device)
C1Device Shutter
07Satus code 7 (printer device)
03Status code 3 (printer device)
80Device local host (printer)
05Tag message length (bytes)
01Tag ID: Status messages
07Protocol Length in bytes
11Protocol SM, version 1 (short message)
Example 2 – No errors in any device.
Hex
00Tag message length (bytes)
01Protocol SM, version 1 (short message)
02Protocol Length in bytes
11Tag ID: Status messages
P1003638-003TTP 8000 Technical Manual10/19/2009
Programming
System Related Commands
63
ESC ENQ P n1
1B 05 50 n1Hex
27 5 80 n1Decimal
ESC ACK n1
1B 06 n1hex
27 6 n1decimal
Parameter-setting Data Enquiry
This command requests information about the setting of parameter n1, that is, the parameter
value stored in flash PROM or any parameter value temporarily set by other ESC commands.
n= 1 gives the setting of parameter 1, etc. The parameter names are listed
under Summary of Parameter Settings on page 73.
n = 0 gives a response where the first two bytes specifies the length of data to
come (high-byte, low byte), and followed by a block of data for all
parameters in the temporary setup.
Acknowledge Marker
n = One-byte marker. Range 1 to 255
The "acknowledge marker" n is placed in the command queue and when the execution of
commands reaches the marker it is sent back to the host computer. This is an addition to the
status commands that pass the queue and are answered immediately when received.
Example •
"Print data" <LF><ESC>p<ESC><ACK><1>
Wait for <1>
<RS><ESC><ACK><2>
Wait for <2>
The printer will send <1> when <print data> has executed and <2> when the ejecting
has been performed.
Note • You must wait for the acknowledge marker to return before sending any more data to
the printer.
Note • Acknowledge marker cannot be used for events that write to the flash PROM, for
instance font loading. This is because the writing procedure erases the buffer, including the
markers, and uses all RAM in the printer.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
64
Fonts
Fonts
Loading
The printer can store 8 fonts in its flash PROM. 256 kB is available for font storage. The font
3
size is fixed
, so you must load one font file for each character size you require. The fonts are
given font numbers when they are loaded into the printer. The first font is assigned number 0
and the next font 1 etc. up to font 7. The font number parameter number 14 of the default
parameter setting will be used when no font selection command has been received (see Default
Parameter Settings on page 71).
You cannot erase a single font, but must erase font 4-7 with command <ESC>&D, or all eight
fonts with <ESC>&C, then reload the fonts you wanted to keep.
Windows software for font generation and management is available on the Zebra web site. If
you need to load fonts in a non-Windows environment, use the <ESC>&<NUL> command.
The time required for processing the font data that is loaded is typically 15–20 seconds per
font, excluding transfer time. During this time, any data sent to the printer will be lost.
Note • The font processing ends with a reset. The presenter motor runs momentarily to
indicate that the printer is ready to be used.
Caution • Loading to the flash PROM will erase the RAM completely since the RAM is
used during the loading process. Any print data residing in RAM will thus be lost.
3. Multiple height and width commands can be used on all fonts.
P1003638-003TTP 8000 Technical Manual10/19/2009
File Format
A
Char_Ystart
Baseline
Char_sizeX
Char_Yheight
Char_sizeY
Char_width
A
Char_pitch
Char_width
W
Char_pitch
Char_width
g
Char_pitch
Char_width
A font consists of a header describing the font, then data for every character in the font. The
header has to be downloaded even if the font consists of a single character only. Below is a
description of the font header.
1 byteReservedShould always be 0 (zero)
1 byteReservedShould always be 0 (zero)
1 byteChar. width (X)The number of bytes required for the width of one character,
1 byteNot used
1 byteChar. height (Y)The maximum height of one character matrix measured in
27 byteFont nameString of characters used to identify the character set.
Programming
usually 2 or 3. Range 1 to 8.
pixels. This is also the minimum line spacing for this
character set.
This will be printed on status printouts. (E.g. Swiss 10 cpi.)
Must always be 27 bytes, so fill up with NUL characters!
Fonts
65
Char_matrix table: 256 records, each containing 3 bytes.
Char_bitmap data: Bitmap data for all characters that are to be defined.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
012
0
4
ROW
COLUMN
Col 0Col 1
MSBLSB MSBLSB
Col 2
MSBLSB
Row 1
=03H=FFH=80H
66
Fonts
Character Bitmap Data
A character is made up of a bitmap the size of which is:
Char. width (X) * Char. Height (Y) bytes.
The bitmap data consists of bitmap patterns for each character in a character set for which the
parameter Char_width in the Char_matrix table is set to a value between 1 and 24. A character
that has its Char_width set to zero, is not included in the bitmap data.
The bitmap for one character is then defined according to the following table:
In this example, each row consists of 3 columns equal to 3 bytes.
In order to minimize the required storage space, only rows between Ystart and Ystart+Yheight
are included in the character bitmap.
P1003638-003TTP 8000 Technical Manual10/19/2009
Logotypes
X size
Y size
0
7
Byte 0
Up to 16 logotypes can be stored in the flash PROM of the printer. The logotypes can be
positioned and printed out with a single command <ESC>g.
The exact number of logotypes and their sizes is determined by the total amount of memory
used for fonts, logotypes and loaded firmware. Make a self-test printout to see how much
memory is available.
Loading
Windows software that converts black and white BMP bitmap files to logotypes and load them
into the printer is available on the Zebra web site. If you need to load logotypes in a nonWindows environment, use the <ESC>&1 command.
File Format
A header containing information about the logotype number, size and logotype name shall
define each loaded logotype. Immediately after the header follows the actual bitmap of the
logotype.
Programming
Logotypes
67
Header
Bitmap
<ESC>&<1><Header><Bitmap>
Byte 0Logotype number used to identify the logotype when printing.
Byte 1X size measured in bytes. *
Byte 2Y size measured in pixels.
Byte 3—15A logotype name that will be printed on test printouts.
*. If the size exceeds the print width, the operation is aborted.
The bitmap must have exactly (X size * Y size) number of bytes. 1=black, 0=white dot.
Bit No. 7 in byte 0 represents the top left corner of the logotype.
10/19/2009TTP 8000 Technical ManualP1003638-003
Programming
68
Logotypes
Printing
To print a logotype, send <ESC>g<n1><n2><n3><n4><n5> where n1 is the logotype
number, n2n3 is the horizontal print position, and n4n5 is the vertical print position of the
upper left corner of the logotype.
n1One byte logotype number, (0—15)
n2n3Two byte X position measured in pixels from the left-hand edge of the
print window.
n4n5These bytes (Y-position) must be inserted, but they are ignored as a
logotype is always printed at the current Y-position.
Erasing
All logotypes are erased with the <ESC>&L command.
Caution • Loading to the flash PROM will erase the RAM completely since the RAM is
used during the loading process. Any print data residing in RAM will thus be lost.
P1003638-003TTP 8000 Technical Manual10/19/2009
Status Reporting
The printer is equipped with a number of sensors that report the printer status and various
conditions such as out-of-paper, previous printout not removed, etc.
A good practice in unattended printer applications is to check for errors and paper availability
before printing.
1. Send a Status Report Query (<ESC><ENQ><6>, see ESC ENQ 6 on page 59) and check
that the answer is "No errors" .
2. If an error is indicated, read out the error message with Status Request
(<ESC><ENQ><1>, see ESC ENQ 1 on page 56), and take appropriate actions. Repeat
this step until no more status code is available. If weekend sensor signals “level passed”
check again after next document is printed. If the sensor still signals “level passed” after
three successive print/check cycles, report the condition to the systems supervisor so that
he can schedule a service visit to the printer. This three cycle check is to ensure that dirt on
the side of the roll does not cause the alarm.
Note • You can also use <ESC><ENQ><E> to retrieve this error message, you must use it if
it is an external error that is signaled in <ESC><ENQ><6>.
Programming
Status Reporting
69
3. Send a paper-near-end query (<ESC><ENQ><2>, see ESC ENQ 2 on page 57) to see if
the sensor reports low paper level.
4. If paper-near-end is indicated, report the condition to the systems supervisor so that he can
schedule a service visit to the printer.
5. Start the printout
6. Cut and eject
7. Set an Acknowledge marker
8. When the marker is returned, ask for status and look at the "Paper at presenter" bit to see if
the customer has taken the printout. When the printout has been removed, start from 1 to
print the next page.
Note • Status replies remain in the buffer until read or until a new query is sent.
Some of the printer settings can be stored in the flash PROM so that they will be used also
after power OFF.
The stored parameter settings are printed out on the self-test printout (see Self-test Printout
and Other Power ON Modes on page 29).
The number in front of the function is the parameter number (n) used when setting the
parameter with the command <ESC>&P<n><v>.
You can use the parameter settings pretty much like normal commands. Either send the
parameter values with each printout, or set them up once and then send <ESC>&<4> to store
all settings in the flash PROM.
You can always return to factory default settings by sending <ESC>&<F><10>, and then
storing those settings with <ESC>&<4>
Note • The parameters can be locked so that no changes are possible. Check parameter 53 on
the self-test printout to find out.
Note • If you try to set a parameter to an invalid value, the parameter will be set to the
nearest valid value below.
.
10/19/2009TTP 8000 Technical ManualP1003638-003
Default Parameter Settings
Parameter number
Default value
Description
Range
Burn Time
5
20 Default
16 Min
31 Max
DRV
DRV indicates that the
Windows driver overrides setting
72
How the Parameters are Described
How the Parameters are Described
Default value
The default values indicated are "factory default settings" you get by sending
<ESC>&<F><10>. These are not necessarily the settings that your printer was originally
delivered with because many printers have customized settings when delivered.
Examples
Command examples are formatted in Courier and typed in the same way as used in the
Zebra Toolbox:
<ESC>&P<1><19>
Where <ESC> means the escape character 27 decimal (hex 1B). Numbers between less-than and greater-than characters, for example <15>, means 15 decimal (hex F).
P1003638-003TTP 8000 Technical Manual10/19/2009
Default Parameter Settings
How the Parameters are Described
Table 10 • Summary of Parameter Settings
Parameter Description ESC&F <10> DefaultPage
1Baud rate96 (9600 Baud)page 74
2Data bits8page 74
3Parity0 (No parity)page 74
4Flow control2 (Hardware)page 75
5Disable parallel port signaling0 (No)page 76
6Buffer mode0 (Spool all data before printing)page 77
7Burn time14 page 77
8Print speed13 (80mm/s for 203 dpi, 53mm/s for 300 dpi)page 78
Select what handshaking to use on the serial interface.
<ESC>&P<4><0>No flow control
<ESC>&P<4><1>Xon / Xoff *
<ESC>&P<4><2>Hardware
*. DO NOT USE if you send any type of binary data like graphics data, status requests etc.
Xon / Xoff only works when plain text is sent unidirectional to
the printer. Graphics and
status replies may well contain the Xon (11 hex) and Xoff (13 hex) characters and will obstruct the communication.
10/19/2009TTP 8000 Technical ManualP1003638-003
Default Parameter Settings
76
Parallel Port Setup
Parallel Port Setup
0Default
0 Min
5
1Max
Pins 12 and 15 on the parallel port signal paper out and error. However, in an unattended kiosk
you may not want this because it causes the host computer to stop communicating, and the
operating system may display a warning or error message on the kiosk screen.
By disabling the hardware signals, the kiosk software can for example use status commands to
find out paper level and alert appropriate personnel when the level is low, then close the kiosk
when paper is out.
<ESC>&P<5><0>No, paper out and error signals are not
<ESC>&P<5><1>Yes, paper out and error signals are disabled
Note • When enabled, the hardware signal on pin 12 and 15 will block all communication
until the error is corrected. This means that it will be impossible to ask for status.
Disable Parallel Port Signaling
disabled
P1003638-003TTP 8000 Technical Manual10/19/2009
Print Setup
0Default
0 Min
6
3Max
Controls what the printer does with buffered data:
<ESC>&P<6><0>Spool all data before printing
<ESC>&P<6><1>Print text at once but spool graphic data
<ESC>&P<6><2>Print graphic data but spool text
<ESC>&P<6><3>Print both text and graphic at once
Spooling all data makes the printer as quiet as possible. “Nothing” happens until the buffer is
full or a print triggering command is received. The result is that when the printer prints it feeds
the paper at a constant pace. A drawback may be that the printer seems dead for a while before
starting to print.
Print at once gives the fastest printout because the printer prints as soon as it finds some white
space across the paper and then stops to buffer new data. This generates an on/off sound which
may be more irritating than the even buzz that you get when you buffer data.
Buffer Mode
Default Parameter Settings
Print Setup
77
Experiment with the setting and decide what is best for your application.
14 Default
1 Min
7
20 Max
Burn Time
DRV
Note •
•The burn time setting has priority over the speed setting, so if you increase the burn time
the speed will go down to an appropriate setting.
•DRV indicates that, when using Windows, the driver takes over this setting so please set
appropriate value in the driver properties/document defaults.
A long burn time gives darker print. On insensitive paper types you may have to increase the
burn time to get an acceptable print quality.
10/19/2009TTP 8000 Technical ManualP1003638-003
Default Parameter Settings
78
Print Setup
13 Default
1 Min
8
17 Max
10 Default
3 Min
9
255 Max
Max Print Speed
DRV
The main reason to decrease the print speed is to enhance print quality, and to reduce the peak
current consumption. Each step represents a 5 mm/s increase in TTP 8200 and 3.33 mm/s in
TTP 8300.
n 1234567891011121314151617
TTP 8200 mm/s20253035404550556065707580859095100
TTP 8300 mm/s13172023273033374043475053576063 67
Note • Some settings result in printer chassis resonance causing excessive noise and
deteriorated print quality.
Presenter Loop Length
Limits the maximum loop length. When the set length is reached, the printer ejects part of the
printout and continues to print. You use this when you have very limited space for the loop
inside the kiosk. Each step represents a 3.2-cm increment.
13
14
0Default
0 Min
255 Max
0Default
0 Min
7Max
Setting the parameter to 0 disables the looping and feeds the paper straight out.
<ESC>&P<9><0>Disable the loop
<ESC>&P<9><7>16 cm loop
<ESC>&P<9><10>32 cm loop
Line Spacing
The line spacing is normally set by the font height. With this parameter you can set a line
spacing that is higher that the font height. Line spacing settings lower than the font height will
be ignored.
<ESC>&P<13><30>30 pixels or font height, whichever is the
largest
Font Selection
Store which font number is used if no font is specified. Font is selected using Font Selection
on page 78. Selecting an invalid font gives a software error status message (invalid index).
P1003638-003TTP 8000 Technical Manual10/19/2009
15 to 30
31
20 Default
1 Min
40 Max
Default Parameter Settings
Print Setup
-Default
1 Min
255 Max
Tab Stop
Stores 16 different TAB stop positions. The position is set in increments of 2.5-mm.
Tab position 255 sets a tab stop on the last position of the line. Use this if you want underline
or reversed text to extend across the full paper width.
To set all tab stops at once, use Set Horizontal Tabs on page 43.
To move a single tab stop, use the set parameter command <ESC>&P. for example:
Example • <ESC>&P<15><10> set the first tab stop 25 mm from the left margin.
Default positions are one TAB on each cm; that is parameter values 4, 8, 12 etc. to 64.
Pull Speed
79
33
0Default
0 Min
4Max
Note • Vertical versions of the printer have n31 set to 2 on firmware versions up to 3.21 and
to 1 for firmware versions 3.28 and above.
Sets the speed at which the paper is ejected / retracted. 1 = 45 mm/s, 40 = 1.8 m/s
CR/LF Behavior
Note • v=0 is suitable for Windows, v=1 for UNIX, v=2 for DOS, and v=4 for Macintosh
Carriage Return and Line Feed can be interpreted in five different ways to suit different
operating systems.
will automatically be extended, while longer
documents will be divided into several pages
of the desired length. Page length will be the
length set by parameters 37 and 38
<ESC>&P<36><1>Variable Document Mode. The length of the
page varies with the contents (printouts
shorter than the value specified by
parameters 37 and 38 will be extended to
that length)
<ESC>&P<36><2>Black Mark Mode. Marks on the paper set
the form length. Minimum one form length
is always fed. If a black mark is found before
that, the printer feeds to the next black mark,
then cuts and ejects. This ensures that no
small paper stripes are cut of and left in the
printer.
Note • Max page length in Fixed Document Mode is A5-size, which is 148.5 mm.
Top margin (Distance between
cut and print line, 1 7 mm)
TEXT
Text text
4 , 0Default
2 , 224Min
255 , 255Max
Page Length
Defines three different things:
1. The minimum length of a page in variable document mode
2. The actual page length in fixed document mode
3. The distance between black marks in black mark mode
Default Parameter Settings
Print Setup
DRV
81
One step is 0.1 mm. Settings shorter than 92 mm, will be interpreted as 92 mm.
.
Note • TTP 8000 Vertical has a minimum paper length of 200 mm, so never set values
below 8, 0 on vertical printers.
<ESC>&P<37><5><ESC>&P<38><205> set page length to A5 (148.5 mm)
Figure 19 • Definition of page size
Lengthp37p38
92 mm
102 mm
Statement
Letter
Legal
<3><152>
<4><0>
<5><117>
<5><205>
A5
<10> <234>
<11> <154>
A4
<13> <228>
10/19/2009TTP 8000 Technical ManualP1003638-003
Default Parameter Settings
marginbottommargintop
widthPaper
bytesinRAMFree
lengthPage−−
−=1024
mmlinespixellengthPage272218280160
208
1024504976
==−−
−
=
82
Fixed Document Mode
Fixed Document Mode
Max fixed document mode page length depends on the amount of free ram. Make a self test
printout to check how much is available in your printer. (Depends on firmware version and
circuit board revision).
Paper length, top, and bottom margins are in pixel lines. Paper width is in bytes. 1 byte = 1 mm
for the TTP 8200 and one byte is 2/3 of a mm in TTP 8300.
Example • If Free RAM on a TTP 8200 is 504976 bytes, page width is 208 mm = 208 bytes,
top margin is 20 mm, and bottom margin 10 mm (20 x 8 =160 and and 10 x 8 = 80 pixel
lines):
39
40
41 & 42
50 Default
16 Min
160 Max
30 Default
5 Min
159 Max
If a too large fixed page is specified the printout will be blank from memory full to the cut.
BM (Black Mark) Length
Specifies the length of the black mark in 0.1-mm steps. Measure the length of the black mark
on your paper and enter that value here.
Marks 5 mm longer than this value are interpreted as paper out. The default value of 50 equals
5 mm.
<ESC>&P<39><150>Sets max black mark length to 15 mm.
Min BM (Black Bark) Length “Garbage Filter”
Specifies the minimum length of the black mark in 0.1-mm steps. Shorter marks are ignored.
The default value of 30 equals 3 mm.
<ESC>&P<40><40>Sets min black mark length to 4 mm.
0 , 0Default
0 , 0Min
255 , 255Max
BM (Black Mark) Cut Offset
Defines the paper feed between the black mark detection and cut. One step is 0.1 mm.
<ESC>&P<41><1><ESC>&P<42><244>Feeds 50 mm between black mark and
P1003638-003TTP 8000 Technical Manual10/19/2009
cut.
43 & 44
45
3Default
0 Min
130 Max
Default Parameter Settings
Fixed Document Mode
0 , 0Default
0 , 0Min
255 , 255Max
Top Margin (mm)
Defines the distance between the top of the paper and the top of the first text line in 0.1 mm
steps. The top margin feed is effectuated when the presenter is cleared from the previous page.
0 =disabled top margin. This gives the physical top margin of the printer which is
19 mm.
Avoid settings 1 – 18 mm because then the printer must reverse the paper before starting to
print, which may cause paper jam, especially at small roll diameters.
<ESC>&P<43><1><ESC>&P<44><44>Add 30-mm top margin.
Waste Basket Mode
Note • Changed in firmware version 2.21
83
DRV
Sets the function of the "retract and retain" function.
<ESC>&P<45><0>Eject uncollected page when new page is printed. (Waste
basket disabled)
<ESC>&P<45><3>Eject uncollected page when new page is printed. Page not
collected after 30s will be retracted. (Range 1-30, 1 step =
approximately 10 s)
<ESC>&P<45><100>Retracts uncollected page when new page is printed
<ESC>&P<45><103>Retracts uncollected page when new page is printed. Page
not collected after 30s will be retracted. (Range 101-130, 1
step = approximately 10 s)
10/19/2009TTP 8000 Technical ManualP1003638-003
Default Parameter Settings
84
Fixed Document Mode
0Default
47
0 Min
127 Max
Wall Compensation (mm)
DRV
When the printout is printed and cut, the presenter ejects about 50 mm of the page so that the
customer can grab it. If the kiosk wall is thick, or if you just want a longer part of the printout
to be visible, this parameter adds extra eject length.
<ESC>&P<47><50>Adds 50 mm extra eject = about 100 mm in
total.
48
208 Default
58 Min
216 Max
Note • The resolution of the sensor is ± 3 mm so small changes in the parameter setting may
not show.
Longer ejects are more accurate than shorter ones because acceleration and retardation of the
rollers affects the eject less. Allow for ± 10 mm variations on short ejects.
Paper Width (mm)
DRV
Sets the width of the paper loaded into the printer. This can also be used to get left and right
margins, for instance if you load A4 paper but set the paper width to 170 mm you get a 20 mm
margin on both sides of the page.
Note • The page width is not changed until the parameters are stored in the flash PROM with
the command <ESC>&<4>
. So you cannot change paper width within a page.
<ESC>&P<48><208><ESC>&<4>Sets A4 width
<ESC>&P<48><214><ESC>&<4>Sets Letter width
Note • We recommend you to set max 208 for A4 and max 214 for letter to allow the paper to
wander a bit sideways without losing print.
P1003638-003TTP 8000 Technical Manual10/19/2009
49
1Default
0 Min
1Max
Default Parameter Settings
Fixed Document Mode
Bottom Margin
DRV
Selects if the cut command cuts at the position where the paper is at, or if the printer should
advance the paper before cutting.
<ESC>&P<49><0>Off
<ESC>&P<49><1>Automatic Distance Calculation
<ESC>&P<49><2>Feed 2 mm
<ESC>&P<49><255>Feed 255 mm "Automatic Distance
Calculation" means advancing the paper
with the Head-To-Cutter distance (19 mm on
the TTP 8000 series).
Set to 1 if the printer is used in text mode and 0 if it is used from a driver that takes care of this
in the driver.
Note • The paper is advanced before the FF command calculates the page length to see if the
page length is longer than the set minimum length.
85
51
52
50 Default
0 Min
255 Max
0Default
0 Min
255 Max
Black Mark Sensitivity
This parameter is used by command ESC # to store the calibration of the black mark sensor.
Normally there is no need to set this parameter manually.
0 is white and 255 is pitch black (out of paper).
Note • This parameter is not available on printers with hardware revision A of the control
board. The revision is printed on the test printout.
Warning Level
Turns on/off indication of Paper Near End and Weekend paper level on the status indicator
(Figure 3, Printer Exterior, Rear View, on page 11) . This affects only the status indicator, not
the status enquiries.
<ESC>&P<52><0>No indication
<ESC>&P<52><1>Paper Near End indication
<ESC>&P<52><2>Weekend level indication
<ESC>&P<52><3>Paper near end and weekend indication
10/19/2009TTP 8000 Technical ManualP1003638-003
Default Parameter Settings
86
Fixed Document Mode
0Default
53
55
0 Min
1Max
255 Default
0 Min
255 Max
Lock Parameters
You can lock the parameters so that they cannot be changed by the ESC & P command.
<ESC>&P<53><0>Unlocked
<ESC>&P<53><1>Locked
PSU Recovery
Adds a delay between the burning of blocks in the printhead. This delay helps possible for the
power supply to recover from the heavy load of heating pixels. If you have a somewhat weak
power supply, print quality can be enhanced by increasing this value. A high value slows the
printout down slightly.
Recommended settings: 0 for 300 W (12.5 A) PSU, 255 for 150 W (6.5 A PSU)
P1003638-003TTP 8000 Technical Manual10/19/2009
7
Page Setup
10/19/2009TTP 8000 Technical ManualP1003638-003
Page Setup
0308 TTP 8x00 Kiosk P rinter –Techni cal Manua l 27
5.2.2 Text commands
Text received by the printer is printed with the currently selected font and font attributes.
Text exceeding the page width is wrapped with t he line spacing selected.
ESC o n
Text and logotype orientation
Changes the orientation of text and logotypes.
n = 0 Gives portrait orientation
n = 1 Gives landscape orientation
Portrait and landscape can be mixes on the same printout. There are two cursors, one for
portrait and one for landscape. The cursor always starts at the top left corner of the
document. Looking at the paper when it exits the printer, the portrait cursor is at the top
left corner of the printout, moving to the right as text is typed, while the landscape cursor
is at the top r ight corner, moving downwards.
NOTE! — Landscape orientation can only be used with fixed page length. The max page
length for landscape orientation is A5-size, which is 148.5 mm.
ESC ! n
Select f ont
This command selects one of eight fonts. The font design depends on which fonts have
been loaded
into the printer. Make a test printout to see which fonts are available in your
printer.
ESC ! 0
selects normal font (font 0)
ESC ! 4
selects font 4
ESC ! 1
selects font 1
ESC ! 5
selects font 5
ESC ! 2
selects font 2
ESC ! 6
selects font 6
ESC ! 3
selects font 3
ESC ! 7
selects font 7
Table 4. Font s electi on comm ands
"GLines, too long to be printed in the selected font, are automatically wrapped around.
"GDifferent fonts can be used on t he same line.
"G
Selection of an er ased or for any other reason n on-existent font, will set bit 4 of byte 1 in
the status enquiry response to ”1". See “Parameter setting data enquiry” on page 45.
NOTE! — If more than 256 characters are sent t o the printer before an LF,
the first part of the buffer contents is printed-out automatically. The text is
formatted according to the already received formatting commands.
For fo nt lo adin g, see "Syst em re lated c omm ands" on pa ge 38
n41, n42
n39
Black Mark
on back of
page
n43, n44
n49
n48
n37, n38
88
Printable Area
Printable Area
P1003638-003TTP 8000 Technical Manual10/19/2009
Aligning Preprint and Thermal Print
Preprinting not recommended
within this zone
Cut line
Paper viewed from
inner side (opposite
to thermal-coating side)
SW01010
Cut line
45 mm
≥
93 mm
45 mm
22-42 mm,
adjustable
Punched hole
5 mm
∅
Paper
feed
direction
Black mark
size 5 x 10 mm
or
The printer can synchronize the cutting of the printout with black-marks printed on the back of
the paper. You use this function when you have preprint on the media and you don't want a cut
in the middle of that preprint, or text printed on top of the preprint.
The sensor used to detect the black-marks is the same sensor as used for paper end detection.
The sensor sits 45 mm behind the cutter (as seen from the presenter [output] side of the
printer). It is adjustable sideways and can be positioned 22-42 mm from the left edge of the
paper entry. The sensor accuracy is about ±0.5 mm so avoid designing printouts with too high
demands for synchronization.
Figure 20 • Recommended Black Mark Size and Position
Page Setup
Aligning Preprint and Thermal Print
89
10/19/2009TTP 8000 Technical ManualP1003638-003
The sensor triggers on the black-to-white transition of the black-mark, which is when the black
print ends (trailing edge).
Since the same sensor is used for both paper end and black-mark detection, the printer must
know the length of the black-mark to avoid signaling end-of-paper when it detects a blackmark. The default setting accepts black-marks in the range 5 –10 mm, and works perfectly
with the recommended black-mark length of 5 mm. Marks shorter than 3 mm are interpreted
as dirt, and marks longer than 10 mm as out-of-paper. You can change both these values with a
printer command, or by changing the printer default settings in the flash PROM.
Black mark mode is selected by setting parameter 36 to 2, and storing the parameters.
Important • It is essential that you set up the parameters in the printer for black mark
synchronization even if you enable black marks in the Windows driver. This is because
Windows is not used at paper loading, and feeding with the Feed button on the printer.
Page Setup
90
Parameters Used
Parameters Used
Parameter n34 Auto Cut
When this parameter is set to 2, "forced cut at black mark" The printer always cuts when it
detects a black mark, even if no cut command has been received. This prevents long
documents from being printed as one continuous printout over several pages.
Parameters n37 and n38 - Page Length Minimum
Measure the distance from the trailing edge of one black mark to the trailing edge of the next.
The resolution is 0.1 mm so multiply the distance by 10, then calculate the value to enter as
n37 and n38.
Example • If the page length is 200mm, (200 x 10) / 256 = 7.8125.
n37 is the integer value, that is 7, while n38 is the
fraction
0.8125 x 256 = 208
Parameter n39 – Max Black Mark Length
Measure the height of the black mark. The resolution is 0.1 mm so multiply the black mark
length by 10 and enter the value as n39.
Parameter n40 – Min Black Mark Length (Garbage Filter)
This parameter is actually a filter to filter out garbage on the paper. If a spot is smaller than this
value, it will not be regarded as a black mark. 1. About ? of the black mark length is usually a
suitable setting.
P1003638-003TTP 8000 Technical Manual10/19/2009
Garbage, Black Mark and Out Of Paper Detection
Garbage range n40
Printed black mark n39
Valid black mark range (n39 – n40 + 5mm)
5 mm
Constant
Out of paper
n37 &
n38
n39
10 mm
Detection
area
For every step the paper is feed, the black mark sensor is sampled to detect garbage, black
marks or out of paper.
When the printer detects blackness is has to check if it is only garbage:
If the paper…Then it is…
gets white again within n40 x 0.1 mmgarbage and the spot should be
is still black after n40 x 0.1 mmprobably a black mark.
gets white within an additional n39-n40 plus 5 mma black mark
ignored.
Page Setup
Parameters Used
91
The 5-mm is a constant added to make sure that noise on the edge not will interfere with the
samples. If it at this point still is still black we have detected out of paper.
Be careful about n40 and n39. If n39 – n40 is too small, then the minimum detection area will
be too little. This area should not be less than 2 mm.
10/19/2009TTP 8000 Technical ManualP1003638-003
Page Setup
n41 & n42
The actual cut position
Desired cut position
Black mark detected
92
Parameters Used
Parameter n41 and n42 –Black Mark Cut Offset
After the black mark is detected (black to white change) the printer feeds another distance to
place the paper in cut position. This distance can not be negative so placing the black mark too
close to the paper edge is better than too far away.
(ESC x n1 n2 is an obsolete command that sets n41 and n42. It is implemented for backward
compatibility with old drivers. Set parameters n41 and n42 with the
ESC & P n1 n2 command instead.)
FF (Form Feed)
Use <FF> to print the buffer content, go to the next top of form (black mark), and cut the
paper.
ESC Z (Go To Next Top of Form)
Use <ESC>Z to move the paper to the next top of form. This is practically a Form-Feed
without printing and cut. It searches for the next black mark for maximum one page length +
black mark length (256 x n37+n38 + n39)/10. An additional length of 20 mm is added to be
sure to pass the edge of the next black mark If there is no black mark within the set distance
plus 20 mm, an error is raised.
P1003638-003TTP 8000 Technical Manual10/19/2009
Black-mark Sensing from Within Windows
Simple Calibration Process
1. Enable black mark mode by setting parameters n36 to n42 as described on the previous
pages.
2. Load paper with black marks into the printer
3. Send the <ESC># command and wait until the paper stops
4. If the paper has returned to it's original position, the calibration is finished
5. If not, it was not possible to distinguish the black mark. Check the n37 and n38 settings
and try again).
6. Save the settings with <ESC>&<4>.
Black-mark Sensing from Within Windows
Please refer to the Kiosk Driver Reference Guide, Part Number P1006873-001, available on
www.zebra.com for detailed information on Black-Mark Sensing.
The printer has two interfaces as standard, parallel and USB. There are no selections to be
made, but normally only one interface should be used at a time. The printer may not function
properly if data is received on more than one interface at a time.
Caution • Always use Zebra-approved interface cables. Using a non-approved cable with
the printer may void the FCC and other EMC approvals of the printer.
Caution • If you connect both parallel and USB cables, the voltage that the host computer
outputs on the parallel port may be enough to give signals out on the USB-interface even if
the power of the printer is turned OFF!
These signals can result in the operating system of the host computer detecting the printer
as on and available when it's not.
Another effect of these false signals is that after turning the printer on and off to clear an
error condition, the printer is dead to Windows.
Always disconnect the parallel interface cable when using USB!
10/19/2009TTP 8000 Technical ManualP1003638-003
96
Parallel
Interface
Parallel
TTP 8000 series support IEEE-1284 Compatibility Mode and Reverse Nibble Mode.
Note • If you intend to use any other mode than Compatibility Mode, we recommend you to
get the documents for the IEEE-1284 standards, and study them thoroughly.
Figure 21 • IEEE-1284 Cable with Type A and Type C Connectors
Pin Host
IEEE1284-A
(D-Sub)
1
2-9
10
11
12
13
14
15
16
17
18-25
Table 11 • Signal names for the parallel port
Direction
Ö
Ö
Õ
Õ
Õ
Õ
Ö
Õ
Ö
Ö
GND
+Ö
.Õ
Pin Printer
IEEE1248-C
15nStrobeHostClk
6-13DataData
3nAckPtrClk
1BusyPtrBusy
5PErrorAckDataReq
2SelectXflag
17nAutoFdHostBusy
4nFaultnDataAvail
14nInitnInit
16nSelectInIEEE 1284 Active
19-35GroundGround
18Host Logic High
36Peripheral Logic High
Compatible Signal
Names
Nibble and
Byte Mode
Signal
Names
P1003638-003TTP 8000 Technical Manual10/19/2009
Error Signaling
All errors that are not reset when status is read will set the nFault signal, for example:
• Head lifted
• Cutter not home
• Out of paper
This error also sets the Paper Out/End (PE) together with nFault::
• Out of paper
Note • The signaling of nFault and PE can be switched on/off with parameter p5.
Interface
Parallel
97
10/19/2009TTP 8000 Technical ManualP1003638-003
98
Interface
USB
USB
The USB (Universal Serial Bus) is an interface designed to handle several peripherals through
a single connector. The transfer speed is up to 12 Mbits/s, which is quite adequate for the
printer. Use this interface in operating systems with USB support, for instance Windows XP.
USB devices are Plug and Play compatible and hot swappable, which means that they can be
connected and disconnected without turning off the power, or rebooting the computer.
Table 12 • USB Connector (J13) Pin Assignment
Contact NumberSignal NameComment
1VCCCable power
2– Data
3+ Data
4GroundCable ground
P1003638-003TTP 8000 Technical Manual10/19/2009
9
Maintenance
10/19/2009TTP 8000 Technical ManualP1003638-003
100
Maintenance
Fault Finding
Fault Finding
In connection with service of the printer it is good practice to remove paper dust and lint from
the paper path, cutter and sensor areas. Paper dust, when accumulated, may interfere with
printer functions such as optical sensors.
To avoid smudging the paper, do not apply oil on the cutter blades.
Table 13 • Fault Finding
SymptomSuggested Actions
Nothing is printed when you press the feedforward button in self-test mode, but the
document is transported, cut and ejected.
Paper gets rough in one edge.
Printer does not work at all
Self-test prints OK, but the printer works
strangely in normal operation.
No cutting
Bad cutting (uneven top and bottom
document edges).
Paper is fed straight through the printer.
Paper does not loop.
Missing print or irregular spots.
White longitudinal lines in the printout.
Faint print.
Faint or no print in the right 1/4 of the page
(on firmware versions before 2.80)
Strange characters or graphics printed, or
any kind of strange printer behavior.
•Check that the paper is turned the correct way with thermal
sensitive layer facing up.
•Check that the paper used meets the paper specification. See
"Paper Specification on page 121 .
•Check that the printhead cable is fully inserted into the
connectors at each end.
•Check that fonts are loaded.
•Check that the paper feeds straight into the printer.
•Adjust roll holder friction brake by bending the side plates
inwards.
•Check that the printhead is locked in its down position
(printhead presses against the paper).
•Check that power is supplied to the printer.
•Check the function of the paper-out sensor.
•Check that both ends of the interface cable are properly
connected.
•Application program might be incorrect. Contact system
manager.
•Check that the connectors for the cutting motor/home-position
switch are fully seated on the control board.
•Check that the printhead is locked in it's down position.
•Switch OFF printer and remove any obstructing paper particles
in cutter and presenter modules.
•Check presenter sensor.
•Check setting of parameter 9.
•Paper may be too humid. Let it adapt to ambient temperature
and humidity for approximately 24 hours before use.
•The paper used might not meet the paper specification. See
Paper Specification on page 121.
•Faulty printhead, replace.
•The paper used might not meet the paper specification. See
Paper Specification on page 121.
•Clean printhead with ethyl or isopropyl alcohol.
•Adjust Burn time and speed, see Parallel Port Setup on page 76.
•Burn time is set to high for the selected speed. Lower speed or
burn time.
•Might be caused by erroneous data sent from the host. Check
validity of transferred data.
P1003638-003TTP 8000 Technical Manual10/19/2009
Loading...
+ 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.