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.
TTP 2030™ Windows CE Software Integrator Guide | 4/14/2013 |