Zebra Technologies TTP 2030 manual Control Panel Extension

Page 12

8

Windows CE Driver

Description

Monitoring While Idle

In order to get status any time a status thread has to be implemented which reads printer status and provides changed status information in the same manner. The following code snippet in C# may be used as a guide to develop such an application. The code is using the TTPConfig DLL.

TTPConfig config = new TTPConfig(); config.Load();//Load settings from registry

string msg = ""; try

{

config.open("LPT1:");

//getStatus is not synchronized with other read/write functions

byte status = config.getStatus(); msg = "Status : " + status; config.close("LPT1:");

}

catch (Exception ex)

{

msg = ex.Message;

MessageBox.Show("Status : " + msg);

Control Panel Extension

In order to open the control panel and double click the program icon, a control panel extension is supplied with the driver.

TTP2000CPL

This component enables users to change settings for the printer and printer driver. You can access the Control Panel through Start > Settings > Control Panel.

Printer and Driver Parameter Setting and Maintenance

To provide an easy interface to set printer and driver parameters on the CE device, an application is provided that handles device settings, and offers a Tools tab (see Tools

on page 16) to perform certain maintenance functions and print a printer configuration sheet.

The driver settings are done via the TTP 2030 Settings application that can be found in the Control Panel.

P1055866-001

TTP 2030™ Windows CE Software Integrator Guide

4/14/2013

Image 12
Contents Zebra TTP Page Contents Troubleshooting Who Should Use This Document How This Document Is OrganizedDocument Conventions Introduction Description Windows CE DriverPrinter Driver Driver FunctionsPort Monitor Print SpoolingStatus Monitoring GetPrinterStatus TTP 2030 Status codesTypes of Status Monitoring NAK 0FPrinter and Driver Parameter Setting and Maintenance Control Panel ExtensionInstallation Firmware UpdateCE Driver Installation UI OptionCommand Line Option To create a shortcut filePrinter Settings Device SettingsMedia Width Media HeightDarkness Max Print SpeedCutter Mode Media TrackingTop Margin Bottom MarginPresenter Timeout Partial Cut WidthPresenter Loop Length Eject LengthPresenter Mode Clear PresenterTools Tools TabAbout About tab shows the current driver versionSetting Black Mark Mode To set black mark modeStatus Light Descriptions LED StatesTroubleshooting Print Quality Problems Status IndicatorNo print on the label Printed image does not look right Media Sensing Problems Black Mark Calibration ProcessPrinter will not load the media Printer will not eject the mediaOther Problems Receipts are not cutting properlyThere are no lights on the printer Receipts are not cutting at the black markContact Technical Support