User's Manual Part 1
Table Of Contents
- Regulatory Information
- Title
- Contents
- Before You Begin
- Chapter 1: Introduction
- Chapter 2: Pocket PC 2002
- Introduction
- Premium versus Professional Editions
- Where to Find Information
- Basic Skills
- Microsoft ActiveSync
- Microsoft Pocket Outlook
- Companion Programs
- Pocket Internet Explorer
- Getting Connected
- Chapter 3: Installing Applications
- Chapter 4: Network Support
- CORE
- Network Adapters
- Ethernet Communications
- 802.11b Communications
- Profiles
- Basic
- Security
- Advanced
- Certificates
- Import/Export
- Scan List
- Network Selection APIs
- Function Summary
- RadioConnect()
- RadioDisconnect()
- GetMac()
- GetBSSID()
- GetSSID()
- GetLinkSpeed()
- GetNetworkType()
- GetTXPower()
- GetNetworkMode()
- SetNetworkMode()
- AddWep()
- GetRSSI()
- GetAssociationStatus()
- GetWepStatus()
- GetAuthenticationMode()
- SetAuthenticationMode()
- SetChannel()
- EnableWep()
- GetPowerMode()
- SetSSID()
- isOrinoco()
- EncryptWepKeyForRegistry()
- SetRTSThreshold()
- GetRTSThreshold()
- ConfigureProfile()
- StartScanList()
- 802.11b Radio CORE Module
- WWAN Radio Options
- WAN Radio CORE Module
- Wireless Printing
- AutoIP/DHCP
- SNMP Configuration
- Chapter 5: Printer Support
- Chapter 6: Scanner Support
- Scanner Control and Data Transfer
- Automatic Data Collection COM Interfaces
- Multiple ADC COM Object Support
- How to Create and Use the ADC COM Interfaces
- 2D Imager Overview
- Create and Delete ADC COM Object Functions
- IADC Functions
- IBarCodeReaderControl Functions
- IS9CConfig Functions
- IS9CConfig::GetCodabar
- IS9CConfig::SetCodabar
- Codabar Default Settings
- Codabar Enumerations
- IS9CConfig::GetCode39
- IS9CConfig::SetCode39
- Code 39 Default Settings
- Code 39 Enumerations
- IS9CConfig::GetCode93
- IS9CConfig::SetCode93
- Code 93 Default Settings
- Code 93 Enumerations
- IS9CConfig::GetCode128
- IS9CConfig::SetCode128
- Code 128/EAN 128 Default Settings
- Code 128 Enumerations
- IS9CConfig::GetI2of5
- IS9CConfig::SetI2of5
- Interleaved 2 of 5 Default Settings
- Interleaved 2 of 5 Enumerations
- IS9CConfig::GetMatrix2of5
- IS9CConfig::SetMatrix2of5
- Matrix 2 of 5 Default Settings
- Matrix 2 of 5 Enumerations
- IS9CConfig::GetMSI
- IS9CConfig::SetMSI
- MSI Default Settings
- MSI Enumerations
- IS9CConfig::GetPDF417
- IS9CConfig::SetPDF417
- PDF 417 Default Settings
- PDF 417 Enumerations
- IS9CConfig::GetPlessey
- IS9CConfig::SetPlessey
- Plessey Default Settings
- Plessey Enumerations
- IS9CConfig::GetStandard2of5
- IS9CConfig::SetStandard2of5
- Standard 2 of 5 Default Settings
- Standard 2 of 5 Enumerations
- IS9CConfig::GetTelepen
- IS9CConfig::SetTelepen
- Telepen Default Settings
- Telepen Enumerations
- IS9CConfig::GetUpcEan
- IS9CConfig::SetUpcEan
- UPC/EAN Default Settings
- UPC/EAN Enumerations
- IS9CConfig2 Functions
- IS9CConfig2::GetCode11
- IS9CConfig2::SetCode11
- Code 11 Default Settings
- Code 11 Enumerations
- IS9CConfig2::GetCustomSymIds
- IS9CConfig2::SetCustomSymIds
- Custom Identifier Assignments
- Custom Identifier Default Settings
- Custom Identifier Example
- IS9CConfig2::GetGlobalAmble
- IS9CConfig2::SetGlobalAmble
- Postamble and Preamble Defaults
- IS9CConfig2::GetPDF417Ext
- IS9CConfig2::SetPDF417Ext
- PDF 417 Extended: Micro PDF 417 Default Settings
- IS9CConfig2::GetSymIdXmit
- IS9CConfig2::SetSymIdXmit
- Symbology ID Transmission Option
- IS9CConfig3 Functions
- AIM Symbology ID Defaults
- IImage Interface
- Data Collection Configuration
- Tethered Scanner
- Chapter 7: Programming
- Creating CAB Files
- FTP Server
- Full Screen
- Kernel I/O Controls
- Reboot Functions
- Remapping the Keypad
- Appendix A: Control Panel Applets
- Appendix B: Unit Manager
- Appendix C: Bar Codes
- Index
Printer SupportChapter —5
134 700 Series Color Mobile 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 781 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 Driver
index parameter, and use any of the following strings for the last parame-
ter:
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 returned by RegisterDevice() a s 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);
}