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 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 hard ware and software) be liab le for any damages
whatsoever (including, without limitation, consequential damages including loss of busin ess profi ts, 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 guide is intended for use by any person who needs to setup the TTP 2030 printer for use
with a Windows CE device.
1
Introduction
How This Document Is Organized
The manual is set up as follows:
Introduction Contact information, document conventions.
Windows CE DriverInstallation, updates, preferences, and properties.
TroubleshootingStatus 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/2013TTP 2030™ Windows CE Software Integrator GuideP1055866-001
Introduction
2
Document Conventions
P1055866-001TTP 2030™ Windows CE Software Integrator Guide4/14/2013
Description
APPLICATION
GDI
DISPLAY DRIVER
PRINTER DRIVER
PORT MONITOR
USB
PORT
PRINTER
Windows CE Driver
2
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.
Figure 1 • System Flowchart
4/14/2013TTP 2030™ Windows CE Software Integrator GuideP1055866-001
Windows CE Driver
4
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 functi on s 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
FunctionDescription
DrvCopyBitsTranslates between device-managed raster surfaces and
graphics device interface (GDI) standard format bitmaps.
DrvDisablePDEVUsed by MGDI to notify a driver that the specified PDEV
structure is no longer needed.
DrvDisableSurfaceUsed by the GDI to notify a driver that the surface created
by the DrvEnableSurface function for the current device
is no longer needed.
DrvEnableDriverSpecifies 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.
DrvEnablePDEVEnables a device context for drawing and returns device
metrics for the target printer or display device in a
GDIINFO structure. Printer drivers call a disp la y d ri ve r'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.
DrvEnableSurfaceSets up a surface to be drawn on and associates it with a
specified PDEV.
DrvEndDocCalled by the GDI to finish or abort a print job.
P1055866-001TTP 2030™ Windows CE Software Integrator Guide4/14/2013
Windows CE Driver
Description
Table 1 • Driver Functions
FunctionDescription
DrvGetModesLists the modes supported by a specified device.
DrvStartDocCalled by the GDI to start a print job.
DrvStartPageCalled by the GD I to start printing the next page of a print
job.
GetPrinterInfoObtains information about printers, such as the name of
the printer or whether the printer can print in color.
PrinterCloseCloses a printer handle previously opened by a call to the
PrinterOpen function.
PrinterOpenOp ens a specified printer port and returns a handle to the
printer.
PrinterSendSends a block of data to a printer.
ReportPrinterStatusReturns the status of a printer or printing op eration t hat is
in progress.
GetPrinterStatusReturns a specific TTP 2030 status.
5
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/2013TTP 2030™ Windows CE Software Integrator GuideP1055866-001
Loading...
+ 21 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.