User's Manual
Table Of Contents
- Legal Information
- Document Change Record
- Contents
- Before You Begin
- Chapter 1 - Introduction
- Chapter 2 - Windows Mobile 2003
- Software Builds
- Where to Find Information
- Basic Skills
- Microsoft ActiveSync
- Microsoft Pocket Outlook
- Calendar: Scheduling Appointments and Meetings
- Synchronizing Calendar
- Why Use Categories in the Calendar?
- What’s an All Day Event?
- What’s a Recurrence Pattern?
- Viewing Appointments
- Creating or Changing an Appointment
- Creating an All Day Event
- Setting a Reminder for an Appointment
- Adding a Note to an Appointment
- Making an Appointment Recurring
- Assigning an Appointment to a Category
- Sending a Meeting Request
- Finding an Appointment
- Deleting an Appointment
- Changing Calendar Options
- Contacts: Tracking Friends and Colleagues
- Tasks: Keeping a To Do List
- Notes: Capturing Thoughts and Ideas
- Inbox: Sending and Receiving E-mail Messages
- Calendar: Scheduling Appointments and Meetings
- Companion Programs
- Pocket Internet Explorer
- Getting Connected
- Chapter 3 - Installing Applications
- Chapter 4 - Network Support
- CORE
- Network Adapters
- Ethernet Communications
- 802.11b Communications
- No Networking
- Network Selection APIs
- Network Connections
- WWAN Radio Options
- Wireless Personal Area Networking
- AutoIP/DHCP
- SNMP Configuration on the 700 Series Computer
- Chapter 5 - Printer Support
- Chapter 6 - Scanner Support
Printer SupportChapter —5
188 700 Series Color Mob ile Computer User’s Manual
O’Neil Printer Driver
The DTR printer communications driver is a Stream Device Driver
named ONEIL.DLL.
All applications use WIN32 API functions to access drivers. Basic
operations are easily implemented by applications through the
CreateFile(), WriteFile(), DeviceIOControl() and CloseHandle() Win32
APIs.
The driver supports communications to 6804DM, 6804T, 6805A, 6806,
6808, 681T, and PB20 printers over a selected serial port.
DTR Driver Installation and Removal
Your application must install the device driver by using the RegisterDe-
vice() function. The driver name is ONEIL.DLL. We recommend that
you use “DTR” for the Device Name parameter, “1” for the Device Driv-
er index parameter, and use any of the following strings for the last param-
eter:
S NULL (==0) Defaults to COM1 @ 9600
S “COM1” only COM port specified defaults to 9600
S “COM1:9600” sets to COM port and specified bit rate
S “COM1:19200” sets to COM port and specified bit rate
Use the HANDLE r eturned by RegisterDevice() as the parameter to
DeregisterDevice(). The correct usage of the RegisterDevice() function call
is demonstrated below. You may use DeregisterDevice() to uninstall the
driver.
Install()
{
HANDLE hDevice;
TCHAR port[6];
port[0] = TCHAR(‘C’);
port[1] = TCHAR(‘O’);
port[2] = TCHAR(‘M’);
port[3] = TCHAR(‘1’);
port[4] = TCHAR(‘:’);
port[5] = TCHAR(0);
hDevice = RegisterDevice ( (TEXT(”DTR”), 1, TEXT(”\\WINDOWS\\ONEIL.DLL”),
(DWORD)port);
}