Zebra® TTP 2030
Windows® CE
Printer Driver
User Guide
P1055866-001 Rev. A
© 2013 ZIH Corp. The copyrights in this manual and the software and/or firmware in the printer described 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.
This product may contain ZPL®, ZPL II®, and ZebraLink™ programs; Element Energy Equalizer™ Circuit; E3™; and Monotype Imaging fonts. Software © ZIH Corp. All rights reserved worldwide.
ZebraLink, Element Energy Equalizer, E3 and all product names and numbers are trademarks, and Zebra, the Zebra 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.
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.
Contents
1 • Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Who Should Use This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
How This Document Is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Document Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 • Windows CE Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Windows CE Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Printer Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Port Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Print Spooling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Status Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Control Panel Extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
TTP2000CPL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Printer and Driver Parameter Setting and Maintenance . . . . . . . . . . . . . . . . . . . . . . . 8
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
CE Driver Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Firmware Update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
UI Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Command Line Option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Printer Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Device Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
About . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Setting Black Mark Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
04/14/2013 |
TTP 2030™ Technical Manual |
P1055866-001 |
iv
3 • Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
19 |
Status Light Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
LED States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Print Quality Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Media Sensing Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Black Mark Calibration Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Other Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Contact Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
P1055866-001 |
TTP 2030™ Technical Manual |
04/14/2013 |
1
Introduction
Who Should Use This Document
This guide is intended for use by any person who needs to setup the TTP 2030 printer for use with a Windows CE device.
How This Document Is Organized
The manual is set up as follows:
Introduction |
Contact information, document conventions. |
|
|
Windows CE Driver |
Installation, updates, preferences, and properties. |
|
|
Troubleshooting |
Status light description, user interface, error handling, |
|
and fixes to common printing problems. |
|
|
This manual will be updated from time to time as printer functions and features may be added or amended. You will always find the latest edition on our website at www.zebra.com.
If you require information for functions not found in this manual edition, please contact Technical Support for your region or the Zebra partner the printer was purchased from.
Document Conventions
The following conventions are used in this document to convey certain information.
Alternate Color – Cross-references contain links to other sections in this guide. If you are viewing this guide online, click the blue text to jump to its location.
Indicates information that emphasizes or supplements important points of the main text.
4/14/2013 |
TTP 2030™ Windows CE Software Integrator Guide |
P1055866-001 |
2Introduction
Document Conventions
P1055866-001 |
TTP 2030™ Windows CE Software Integrator Guide |
4/14/2013 |
2
Windows CE Driver
Description
Windows CE Driver
The following description applies to CE 6 and EC 7.
The illustration shows the relationship between the various system components involved in printing.
APPLICATION
DISPLAY DRIVER
GDI
PRINTER DRIVER
PORT MONITOR
USB
PORT
PRINTER
Figure 1 • System Flowchart
4/14/2013 |
TTP 2030™ Windows CE Software Integrator Guide |
P1055866-001 |
4Windows CE Driver
Description
Printer Driver
The printer driver for the TTP 2030 is named TTP2000.DLL. The Windows CE graphics device interface (GDI) and display driver perform most of the work involved in printing. At the beginning of the printing process, GDI creates a device context with attributes that are retrieved from the printer driver during a call to DrvEnablePDEV. The display driver, not the printer driver, is used to render subsequent drawing commands that are issued from the application into the device context. Therefore, some drawing functions that are present in a printer driver, such as DrvStrokePath, are never called because the printer driver only renders the document internally.
The printer driver converts the bitmap data from a GDI bitmap format into the format that is recognized by the printer. This can include such operations as color reduction to the color space of the printer, data compression, and data conversion into the format that is used by the printer – a format sometimes known as a page-description language (PDL). Then, the printer driver calls the port monitor to send the rendered image to the printer.
Only a small number of the graphics driver functions defined for printer drivers are required in printer drivers for Windows CE. Printer drivers are required to implement only those graphics driver functions that are necessary for gathering printer metrics, setting up the printer, starting and ending print jobs, and preparing content for printing.
The following table shows the functions implemented in the driver:
|
Table 1 • Driver Functions |
|
|
|
|
Function |
|
Description |
|
|
|
DrvCopyBits |
|
Translates between device-managed raster surfaces and |
|
|
graphics device interface (GDI) standard format bitmaps. |
|
|
|
DrvDisablePDEV |
|
Used by MGDI to notify a driver that the specified PDEV |
|
|
structure is no longer needed. |
|
|
|
DrvDisableSurface |
|
Used by the GDI to notify a driver that the surface created |
|
|
by the DrvEnableSurface function for the current device |
|
|
is no longer needed. |
|
|
|
DrvEnableDriver |
|
Specifies the initial driver entry point exported by the |
|
|
driver DLL for devices that link directly to GWES, such |
|
|
as display drivers and printer drivers. It fills a |
|
|
DRVENABLEDATA structure with the driver version |
|
|
number and calling addresses of functions supported by |
|
|
the driver. |
|
|
|
DrvEnablePDEV |
|
Enables a device context for drawing and returns device |
|
|
metrics for the target printer or display device in a |
|
|
GDIINFO structure. Printer drivers call a display driver's |
|
|
DrvEnablePDEV function to create and initialize the |
|
|
device context, and then substitute the printer's device |
|
|
metrics before returning the device context to the GDI for |
|
|
bitmap rendering. |
|
|
|
DrvEnableSurface |
|
Sets up a surface to be drawn on and associates it with a |
|
|
specified PDEV. |
|
|
|
DrvEndDoc |
|
Called by the GDI to finish or abort a print job. |
|
|
|
P1055866-001 |
TTP 2030™ Windows CE Software Integrator Guide |
4/14/2013 |
|
|
Windows CE Driver |
|
5 |
|
|
|
||||
|
|
Description |
|
|
|
|
Table 1 • Driver Functions |
||||
|
|
|
|
||
Function |
|
Description |
|||
|
|
|
|||
DrvGetModes |
|
Lists the modes supported by a specified device. |
|
||
|
|
|
|
||
DrvStartDoc |
|
Called by the GDI to start a print job. |
|||
|
|
|
|
||
DrvStartPage |
|
Called by the GDI to start printing the next page of a print |
|||
|
|
job. |
|||
|
|
|
|
||
GetPrinterInfo |
|
Obtains information about printers, such as the name of |
|||
|
|
the printer or whether the printer can print in color. |
|||
|
|
|
|
||
PrinterClose |
|
Closes a printer handle previously opened by a call to the |
|||
|
|
PrinterOpen function. |
|||
|
|
|
|
||
PrinterOpen |
|
Opens a specified printer port and returns a handle to the |
|||
|
|
printer. |
|||
|
|
|
|
||
PrinterSend |
|
Sends a block of data to a printer. |
|||
|
|
|
|
||
ReportPrinterStatus |
|
Returns the status of a printer or printing operation that is |
|||
|
|
in progress. |
|||
|
|
|
|
||
GetPrinterStatus |
|
Returns a specific TTP 2030 status. |
|||
|
|
|
|
|
|
Port Monitor
The port monitor for the TTP 2030 is called TTPPort.DLL. Printing is supported over universal serial bus (USB) port only. The printing architecture provides application programming interfaces (APIs) that are exposed by the Graphics, Windowing, and Events Subsystem (GWES) to communicate with the printer driver. The printer driver communicates with the port driver that sends the print data over the supported bus. Therefore, the printer driver is independent of the bus and the corresponding bus driver.
Print Spooling
No separate printer spooler component exists in Windows CE, unlike the desktop versions of the Windows OS. With Windows CE, spooling or background printing is implemented in the printer driver itself. However, because print spooling typically consumes a lot of memory, limited memory might be a problem. A practical print spooler usually has to implement a complicated compression scheme to store spooled documents before printing.
Status Monitoring
In order to allow applications to get status from the printer, there are two functions implemented:
•ReportPrinterStatus – the default function described in the MSDN documentation.
•GetPrinterStatus – the function that returns the actual printer status (described below).
4/14/2013 |
TTP 2030™ Windows CE Software Integrator Guide |
P1055866-001 |