Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact
Page 1 of HT660/PA96x/PA982/RH767 Programming Manual

Manual · Unitech

HT660/PA96x/PA982/RH767 Programming Manual

Manual46 pagesPDF 173 KB

Programming manual for Unitech HT660, PA96x (including PA966/967), PA982 and RH767 terminals: scanner, system and Bluetooth DLL calls.

Download the PDF173 KB

Names · 1 model

The models it names

Filed with · 1 model

Also filed with these models on the old site

Summary

What is in it

Programming manual for developers writing applications for the Unitech HT660, PA96x, PA982 and RH767 Windows CE terminals. It explains how bar code data reaches the application through the decoder chip on COM2, then documents the function calls of USI.DLL (the Unitech Scanner Interface), control commands for the decoder chip, the backward-compatible SCANNER3.DLL and SCANKEY3.DLL, UnitechAPI.dll, SysIOAPI.dll for keypad, scanner, LED and backlight, and the Bluetooth API, with links to sample programs and SDKs.

Its parts

  1. Introduction
  2. USI.DLL – Unitech Scanner Interface DLL
  3. Control Command for Decoder Chip
  4. SCANNER3.DLL – Backward Compatible API for PT930/PT930S's SCANNER3.DLL
  5. SCANKEY3.DLL – Backward Compatible API for PT930/PT930S's SCANKEY3.DLL
  6. UNITECHAPI.DLL
  7. SYSIOAPI.DLL
  8. Bluetooth Relative API - BTAPI.DLL
  9. Useful Function Call – Without Include SYSIOAPI.DLL
  10. Get Device ID
  11. Get OEM Info
  12. Update Notes

From the manual

Key facts from this manual

Each line names its page in the PDF.

Unitech programming manual (version 1.7, dated 2008-01-15) for the HT660, PA96x, PA982 and RH767 WinCE terminals. It documents the scanner libraries USI.DLL, Scanner3.DLL and ScanKey3.DLL, low-level decoder chip commands, the UnitechAPI.DLL and SysIOAPI.DLL system calls, and RFID reader functions. It is written for developers building their own applications.

Read for this summary: pages 1 to 3, 6 to 9, 16 to 17, 25, 28, 33 to 35 and 40 of 46.

What it is
Programming manual for the HT660/PA96x/PA982/RH767 terminals: bar code subsystem and utility libraries p. 1, 6
Scan engine
HT660/PA96x/PA982: advanced decoding chip that controls an SE900 laser engine p. 6
Scanner port
Decoder chip on serial port COM2, fixed at 38400,N,8.1 p. 6, 8
Scanner library
USI.DLL (Unitech Scanner Interface); Scanner3.DLL and ScanKey3.DLL kept for porting PT930/PT930SA software p. 6
Scan2Key.exe
Utility that types scanned bar code data into the keyboard buffer p. 6
Keypad
PA966: 22-key or 36-key keypad p. 28
Card slots
PA96x/PA982: two PC card slots, one PCMCIA and one CF p. 34
System libraries
UnitechAPI.DLL (ActiveSync, task bar, suspend); SysIOAPI.DLL (scanner, LED, backlight, PC card slots) p. 25, 28
Scan data buffer
4K bytes by default p. 8
Keypad backlight
PA966: keypad backlight can be switched on and off by API p. 33
2D imager
PA966/967: 2D imager API is in a separate document, 2D_Engine_SDK.pdf p. 16
Sample programs
Sample programs for VC, C# and VB.NET; a separate SDK per model p. 7
Scanner settings
Scanner port settings are kept in the registry p. 8

What this manual walks you through

  • Registering an application with USI.DLL to receive scan data p. 8
  • Enabling, disabling and resetting the scanner p. 9
  • Sending low-level commands to the decoder chip p. 17
  • Porting PT930 software with Scanner3.DLL and ScanKey3.DLL p. 6
  • Turning off ActiveSync on the RS232 port to drive serial devices directly p. 25
  • Hiding the task bar so operators stay in the application p. 25
  • Controlling screen and keypad backlight p. 33
  • Enabling and disabling the PCMCIA and CF slots p. 34, 35
  • RFID reader data functions and error codes p. 40

Good to know

  • Low-level decoder commands are not recommended because of serial timing issues; USI.DLL is the suggested route. p. 17
  • No interval within a decoder command may exceed 1 second. p. 17
  • With ActiveSync active, the RS232 port cannot be used for other RS232 devices until ActiveSync is disabled. p. 25
  • Several Scanner3.DLL and ScanKey3.DLL functions were removed on these terminals. p. 6
  • On the PA96x/PA982 the physical slot numbers for CF and PCMCIA are reversed compared with previous products. p. 34

Questions this manual answers

How do I read bar codes from my own program on a Unitech PA966?

Use USI.DLL to control scanner input, or run Scan2Key.exe so scans arrive as keyboard input. p. 6

Which COM port does the PA966 scanner use?

COM2, at fixed settings 38400,N,8.1. p. 6

How do I stop ActiveSync from starting when an RS232 cable is plugged in?

Call RS232EventEnable (VOID), described with RS232Event.DLL; calling it with "REPLLOG.EXE" turns ActiveSync back on. p. 25

Will PT930 scanner software run on these terminals?

Scanner3.DLL and ScanKey3.DLL are provided for porting PT930/PT930SA software, but several of their APIs were removed. p. 6

Where is the 2D imager API for the PA966?

The manual says the 2D API for the PA966/967 is in a separate document, 2D_Engine_SDK.pdf. p. 16

The whole text · 5 parts

Read the manual here as text

Its text as extracted from the PDF, unedited, in parts; each page opens the PDF at that page.

  1. Pages 1 to 101-10
  2. Pages 11 to 2011-20
  3. Pages 21 to 3021-30
  4. Pages 31 to 4031-40
  5. Pages 41 to 4641-46

The file

Revision and size

RevisionV 1.7, 2008-01-15
PublisherUnitech
Pages46
PDF173 KB
TextText from the PDF itself; page 1 is a scan, read by OCR, which may hold reading errors.

The first pages · 3 of 46

Look before you download

Each page opens the PDF at that page.

Page 1
Page 1of 46
Page 2
Page 2of 46
Page 3
Page 3of 46