MagTek P-SERIES USB User Manual

P-SERIES USB
INSERTION READE R
TECHNICAL REFERENCE MANUAL
Manual Part Number 99875201 Rev 13
REGISTERED TO ISO 9001:2000
1710 Apollo Court
Seal Beach, CA 90740
Phone: (562) 546-6400
FAX: (562) 546-6301
Technical Support: (651) 415-6800
www.magtek.com
ii
Rev Number
Date
Notes
1
05 Oct 01
Initial Release
2
19 Oct 01
Sec 4: Polling Interval Property, changed default value from 1 to 2
3
13 Nov 01
Sect 1: Changed operating temp spec to 0o to 65 o C (32 o to 149 o F)
4
12 Dec 02
Section 4, Command Number: Corrected GET and SET PROPERTY descriptions
5
28 Jan 03
Changed copyright symbol so pdf copies would print on all printers
6
03 Jun 03
Front Matter: added ISO line to logo, changed Tech Support phone number, added new warranty statement
7
16 Jul 03
Sec 4: In the paragraph beginning “This device is powered…” changed Product ID from 0x0002 to 0x0003
8
8 May 06
Removed reference to CDL; added support brackets
9
27 Mar 07
Updated FCC statement
10
14 Dec 07
Added 3-track reader (21065148); removed description of mounting brackets
11
30 Jan 08
Added keyboard emulation feature.
12
22 June 09
Added 21065151; upd ated Limited Warranty and Agency approvals
13
19 Sept 09
Replaced mounting bracket kit (21065811) w ith ne w k it (21064519)
Copyright© 2001-2009
MagTek®, Inc.
Printed in the United States of America
Information in this document is subject to change without notice. No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of MagTek, Inc.
MagTek is a registered trademark of MagTek, Inc.
USB (Universal Serial Bus) Specification is Copyright© 1998 by Compaq Computer Corporation, Intel Corporation, Microsoft Corporation, NEC Corporation.
REVISIONS
Limited Warranty
MagTek warrants that the products sold pursuant to this Agreement will perform in accordance with MagTek’s published specifications. This warranty shall be provided only for a period of one year from the date of the shipment of the product from MagTek (the “Warranty Period”). This warranty shall apply only to the “Buyer” (the original purchaser, unless that entity resells the product as authorized by MagTek, in which event this warranty shall apply only to the first repurchaser).
During the Warranty Period, should this product fail to conform to MagTek’s specifications, MagTek will, at its option, repair or replace this product at no additional charge except as set forth below. Repair parts and replacement products will be furnished on an exchange basis and will be either reconditioned or new. All replaced parts and products become the property of MagTek. This limited warranty does not include service to repair damage to the product resulting from accident, disaster, unreasonable use, misuse, abuse, negligence, or modification of the product not authorized by MagTek. MagTek reserves the right to examine the alleged defective goods to determine whether the warranty is applicable.
Without limiting the generality of the foregoing, MagTek specifically disclaims any liability or warranty for goods resold in other than MagTek’s original packages, and for goods modified, altered, or treated without authorization by MagTek.
Service may be obtained by delivering the product during the warranty period to MagTek (1710 Apollo Court, Seal Beach, CA 90740). If this product is delivered by mail or by an equivalent shipping carrier, the customer agrees to insure the product or assume the risk of loss or damage in transit, to prepay shipping charges to the warranty service location, and to use the original shipping container or equivalent. MagTek will return the product, prepaid, via a three (3) day shipping service. A Return Material Authorization (“RMA”) number must accompany all returns. Buyers may obtain an RMA number by contacting Technical Support at (888) 624-8350.
EACH BUYER UNDERSTANDS THAT THIS MAGTEK PRODUCT IS OFFERED AS IS.
MAGTEK MAKES NO OTHER WARRANTY , EXPRESS OR
IMPLIED, AND MAGTEK DISCLAIMS ANY WARRANTY OF ANY OTHER KIND, INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
IF THIS PRODUCT DOES NOT CONFORM TO MAGTEK’S SPECIFICATIONS, THE SOLE REMEDY SHALL BE REPAIR OR REPLACEMENT AS PROVIDED ABOVE. MAGTEK’S LIABILITY, IF ANY, SHALL IN NO EVENT EXCEED THE TOTAL AMOUNT PAID TO MAGTEK UNDER THIS AGREEMENT. IN NO EVENT WILL MAGTEK BE LIABLE TO THE BUYER FOR ANY DAMAGES, INCLUDING ANY LOST PROFITS, LOST SAVINGS, OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF, OR INABILITY TO USE, SUCH PRODUCT, EVEN IF MAGTEK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY.
LIMITATION ON LIABILITY EXCEPT AS PROVIDED IN THE SECTIONS RELATING TO MAGTEK’S LIMITED WARRANTY,
MAGTEK’S LIABILITY UNDER THIS AGREEMENT IS LIMITED TO THE CONTRACT PRICE OF THIS PRODUCT.
MAGTEK MAKES NO OTHER WARRANTIES WITH RESPECT TO THE PRODUCT, EXPRESSED OR IMPLIED, EXCEPT AS MAY BE STATED IN THIS AGREEMENT, AND MAGTEK DISCLAIMS ANY IMPLIED WARRANTY, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
MAGTEK SHALL NOT BE LIABLE FOR CONTINGENT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES TO PERSONS OR PROPERTY. MAGTEK FURTHER LIMITS ITS LIABILITY OF ANY KIND WITH RESPECT TO THE PRODUCT, INCLUDING ANY NEGLIGENCE ON ITS PART, TO THE CONTRACT PRICE FOR THE GOODS.
MAGTEK’S SOLE LIABILITY AND BUYER’S EXCLUSIVE REMEDIES ARE STATED IN THIS SECTION AND IN THE SECTION RELATING TO MAGTEK’S LIMITED WARRANTY.
iii
iv
FCC WARNING STATEMENT
This equipment has been tested and was found to comply with the limits for a Class B digital device pursuant to Part 15 of FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a residential environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference with radio communications. However, there is no guarantee that interference will not occur in a particular installation.
FCC COMPLIANCE STATEMENT
This device complies with Part 15 of the FCC Rules. Operation of this device is subject to the following two conditions: (1) this device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
CANADIAN DOC STATEMENT
This digital apparatus does not exceed the Class B limits for radio noise from digital apparatus set out in the Radio Interference Regulations of the Canadian Department of Communications.
Le présent appareil numérique n’émet pas de bruits radioélectriques dépassant les limites applicables aux appareils numériques de la classe B prescrites dans le Réglement sur le brouillage radioélectrique édicté par le ministère des Communications du Canada.
This Class B digital apparatus complies with Canadian ICES-003.
Cet appareil numériqué de la classe B est conformé à la norme NMB-003 du Canada.
CE STANDARDS
Testing for compliance with CE requirements was performed by an independent laboratory. The unit under test was found compliant with s tandards established for Class B devices.
UL/CSA
This product is recognized per Underwriter Laboratories and Canadian Underwriter Laboratories 1950.
RoHS STATEMENT
When ordered as RoHS compliant, this product meets the Electrical and Electronic Equipment (EEE) Reduction of Hazardous Substances (RoHS) European Directive 2002/95/EC. The marking is clearly recognizable, either as written words like “Pb-free”, “lead-free”, or as another clear symbol ( ).
TABLE OF CONTENTS
SECTION 1. FEATURES AND SPECIFICATIONS .................................................................................... 1
FEATURES ............................................................................................................................................... 2
CONFIGURATIONS ................................................................................................................................. 2
ACCESSORIES ........................................................................................................................................ 3
REFERENCE DOCUMENTS ................................................................................................................... 3
SPECIFICATIONS .................................................................................................................................... 4
SECTION 2. INSTALLATION ...................................................................................................................... 5
USB CONNECTION ................................................................................................................................. 5
WINDOWS PLUG AND PLAY S E TUP ..................................................................................................... 6
MOUNTING .............................................................................................................................................. 7
OPTIONAL MOUNTING BRACKET ......................................................................................................... 7
SECTION 3. OPERATION ........................................................................................................................... 9
SECTION 4. USB COMMUNICATIONS (HID) .......................................................................................... 11
HID USAGES .......................................................................................................................................... 12
REPORT DESCRIPTOR ........................................................................................................................ 13
CARD DATA ........................................................................................................................................... 13
TRACK 1 DECODE STATUS ................................................................................................................. 14
TRACK 2 DECODE STATUS ................................................................................................................. 14
TRACK 3 DECODE STATUS ................................................................................................................. 14
TRACK 1 DATA LENGTH ...................................................................................................................... 15
TRACK 2 DATA LENGTH ...................................................................................................................... 15
TRACK 3 DATA LENGTH ...................................................................................................................... 15
CARD ENCODE TYPE ........................................................................................................................... 15
TRACK DATA ......................................................................................................................................... 16
TRACK 1 DATA ...................................................................................................................................... 16
TRACK 2 DATA ...................................................................................................................................... 16
TRACK 3 DATA ...................................................................................................................................... 16
CARD STATUS....................................................................................................................................... 16
COMMANDS ........................................................................................................................................... 16
COMMAND NUMBER ............................................................................................................................ 17
DATA LENGTH ....................................................................................................................................... 17
DATA ...................................................................................................................................................... 17
RESULT CODE ...................................................................................................................................... 17
GET AND SET PROPERTY COMMANDS ............................................................................................ 18
SOFTWARE ID PROPERTY .................................................................................................................. 19
SERIAL NUM PROPERTY ..................................................................................................................... 19
POLLING INTERV AL PR OPERTY ......................................................................................................... 20
MSR DIRECTION PROPERTY .............................................................................................................. 21
CARD INSERTED PROPERTY.............................................................................................................. 22
MAX PACKET SIZE PROPERTY ........................................................................................................... 22
INTERFACE TYPE PROPERTY ............................................................................................................ 23
TRACK ID ENABLE PRO P ERTY ........................................................................................................... 24
RESET DEVICE COMMAND ................................................................................................................. 25
SECTION 5. USB COMMUNICATIONS (KB) ........................................................................................... 27
HOST APPLICATIONS ........................................................................................................................... 27
CARD DATA ........................................................................................................................................... 28
PROGRAMMABLE CONFIGURATION OPTIONS ................................................................................ 29
LOW LEVEL COMMUNICATIONS ......................................................................................................... 29
HID USAGES .......................................................................................................................................... 30
REPORT DESCRIPTOR ........................................................................................................................ 31
COMMANDS ........................................................................................................................................... 32
v
vi
COMMAND NUMBER ............................................................................................................................ 32
DATA LENGTH ....................................................................................................................................... 32
DATA ...................................................................................................................................................... 32
RESULT CODE ...................................................................................................................................... 33
GET AND SET PROPERTY COMMANDS ............................................................................................ 33
SOFTWARE ID PROPERTY .................................................................................................................. 35
SERIAL NUM PROPERTY ..................................................................................................................... 35
POLLING INTERV AL PR OPERTY ......................................................................................................... 36
TRACK ID ENBLE PROPERTY ............................................................................................................. 37
TRACK DATA SEND FLAGS PROPERTY ............................................................................................ 38
TERMINATION CHAR PROPERTY ....................................................................................................... 39
SS_TK2_7BITS PROPERTY .................................................................................................................. 39
SS_TK3_ISO_ABA PROPERTY ............................................................................................................ 40
SS_TK3_AAMVA PROPERTY ............................................................................................................... 40
SS_TK3_7BITS PROPERTY .................................................................................................................. 40
PRE CARD CHAR PROPERTY ............................................................................................................. 41
POST CARD CHAR PROPERTY ........................................................................................................... 41
PRE TK CHAR PROPERTY ................................................................................................................... 41
POST TK CHAR PROPERTY ................................................................................................................ 42
ASCII TO KEYPRESS CONVERSION TYPE PROPERTY ................................................................... 42
INTERFACE TYPE PROPERTY ............................................................................................................ 43
ACTIVE KEYMAP PROPERTY .............................................................................................................. 44
PRE CARD STRING PROPERTY .......................................................................................................... 45
POST CARD STRING PROPERTY ....................................................................................................... 46
SS_TK1_ISO_ABA PROPERTY ............................................................................................................ 46
SS_TK2_ISO_ABA PROPERTY ............................................................................................................ 47
ES PROPERTY ...................................................................................................................................... 47
MSR DIRECTION PROPERTY .............................................................................................................. 48
CARD INSERTED PROPERTY.............................................................................................................. 49
SENSOR BLOCKED CHAR ................................................................................................................... 49
SENSOR UNBLOCKED CHAR .............................................................................................................. 50
ES_TK1 PROPERTY .............................................................................................................................. 51
ES_TK2 PROPERTY .............................................................................................................................. 51
ES_TK3 PROPERTY .............................................................................................................................. 51
RESET DEVICE COMMAND ................................................................................................................. 52
GET KEYMAP ITEM COMMAND ........................................................................................................... 52
SET KEYMAP ITEM COMMAND ........................................................................................................... 54
SAVE CUSTOM KEYMAP COMMAND ................................................................................................. 56
SECTION 6. DEMO PROGRAM ............................................................................................................... 57
INSTALLATION ...................................................................................................................................... 57
OPERATION ........................................................................................................................................... 57
SOURCE CODE ..................................................................................................................................... 58
APPENDIX A. USAGE ID DEFINITIONS .................................................................................................. 59
KEYBOARD/KEYPAD PAGE (0X07) ..................................................................................................... 59
APPENDIX B. MODIFIER BYTE DEFINITIONS ....................................................................................... 67
APPENDIX C. MECHANICAL DRAWING FOR MOUNTING ................................................................... 68
vii
FIGURES & TABLES
Figure 1-1. P-Series USB Insertion Reader – 2-Track ---------------------------------------------------------------- viii Figure 1-2. P-Series USB Insertion Reader – 3-Track ---------------------------------------------------------------- viii Table 1-2. Specifications -------------------------------------------------------------------------------------------------------- 4 Figure 2-1. Cabling for 21065128 --------------------------------------------------------------------------------------------- 5 Table 2-1. 5-Pin Connector (J1) ----------------------------------------------------------------------------------------------- 5 Figure 2-2. Cabling for 21065148 and 21065151 ------------------------------------------------------------------------- 6 Table 2-2. 5-Pin USB Mini-B Connector (J1) ------------------------------------------------------------------------------ 6 Figure 2-3. MagTek Bezel Mounting Posit ion ------------------------------------------------------------------------------ 7 Table A-1. Keyboard/Keypad ------------------------------------------------------------------------------------------------ 59 Table B-1. Modifier Byte ------------------------------------------------------------------------------------------------------ 67 Figure C-1. Dimensions for Mounting -------------------------------------------------------------------------------------- 68
viii
Figure 1-1. P-Series USB Insertion Reader – 2-Track
Figure 1-2. P-Series USB Insertion Reader – 3-Track
1

SECTION 1. FEATURES AND SPECIFICATIONS

The P-Series USB (Universal Serial Bus) Insertion Reader is a compact magnetic stripe card reader, which conforms to ISO standards. The Reader is compatible with the PC series of personal computers or any device with a USB interface. The reader can have single or dual head configurations. The dual head configuration can read a card with the magnetic stripe orientated in two directions. The single head configuration can read a card with the magnetic stripe orientated in one direction. A card is read by inserting it into and/or removing it out of the card slot when the card is oriented such that the card’s magnetic stripe contacts a read head.
The two-track version of the reader has circuitry that automatically ensures that the ISO magnetic stripe is read in the case where a dual-stripe JIS (Japanese) credit card is inserted on the dual head unit (the JIS stripe is ignored). On the three-track models, 2-sided cards cannot be read.
The reader conforms to the USB Human Interface Device (HID) Class specification Version 1.1. This allows host applications designed for most versions of Windows to easily communicate to the reader using standard Windows API calls that communicate to the reader through the HID driver that comes with Windows.
The Reader can be operated in two different modes:
HID (herein referred to as “HID mode”) and
HID with Keyboard Emulation (herein referred to as “KB mode”)
Note that only reader part number 21065148 and 21065151 with firmware version 21042817C01 or newer supports both modes. The other readers only support HID mode.
When operating in the HID mode, this device will not use keyboard emulation. It behaves like a vendor defined HID device so that a direct communication path can be established between the host application and the device, without interference from other HID devices.
When configured for the Keyboard Emulation (KB) mode, the Reader emulates a USB HID United States keyboard or, optionally, any international keyboard using ALT ASCII code keypad key combinations or customizable key maps. This allows host applications designed to acquire card data from keyboard input to seamlessly acquire the card data from the USB swipe reader.
When in Keyboard Emulation mode, if another keyboard is connected to the same host as this device and a key is pressed on the other keyboard while this device is transmitting, then the data transmitted by this device may get corrupted.
Caution
A demo program, written in Visual Basic, with its source code is available. It exercises the reader using the standard Windows API.
P-Series USB Insertion Reader
2
Interface
Type
21065128
Dual head
1,2
HID
Molex
21065148
Dual head
1,2,3
HID
USB mini-B
21065151
Dual head
1,2,3
KB
USB mini-B

FEATURES

Major features of the Insert Reader are as follows:
Powered through the USB – no external power supply required
Hardware Compatible with PC or any computer or terminal with a USB interface
JIS Discrimination circuitry - automatically detects if a dual-stripe JIS (Japanese Industrial
Standard) card is inserted and auto-routes the ISO data signals to the microcontroller. This ensures that dual-head features still work for Japanese card holders. (Only supported on the 2-track model.)
Mag-Stripe reading during insertion and/or removal of card – for reliable card reading
Reads encoded data that meets ANSI/ISO/AAMVA standards and others such as ISO track 1
format on track 2
Reads up to three tracks of card data
Error reduction for withdrawal reads by using good insert read data
Compatible with USB specification Revision 1.1
Compatible with HID specification Version 1.1
Can use standard Windows HID driver for communications; no third party device driver is
required
Programmable USB serial number descriptor
Programmable USB Interrupt In Endpoint polling interval
Programmable read direction. (insert, withdrawal or both)
Non-volatile flash EEPROM memory for property storage
Optional 6-foot Black or Pearl White cable
Sealed Chassis design - provides superior protection from moisture
Isolated PCB - isolates electronics from debris and liquids
AGC (Automatic Gain Control) in MagTek’s latest read IC - enhances read performance
with less susceptibility to RF interference
Beam-mounted Read-heads - improves card tracking capabilities
Ruggedized Chassis and Bezel Material - improves temperature and impact performance

CONFIGURATIONS

The available configurations are as follows:
Part Number Head Configuration Tracks
Connector
Section 1. Features and Specifications
3
Part Number
Description
16051430
USB A to USB Mini-B, Pearl White, 6 ft.
21041494
5-Pin Molex Cable, Pearl White, 6 ft.
21041495
5-Pin Molex Cable, Black, 6 ft.
21042806
USB MSR Demo Program with Source Code (Diskette)
21064519
Angle Bracket Mounting Kit
99510026
USB MSR Demo Program with Source Code (WEB)

ACCESSORIES

The accessories are as follows:

REFERENCE DOCUMENTS

Axelson, Jan. USB Complete, Everything You Need to Develop Custom USB Peripherals, 1999.
Lakeview Research, 2209 Winnebago St., Madison WI 53704, 396pp., http://www.lvr.com.
USB Human Interface Device (HID) Class Specification Version 1.1. USB (Universal Serial Bus) Specification, Version 1.1, Copyright 1998 by Compaq Computer
Corporation, Intel Corporation, Microsoft Corporation, NEC Corporation. USB Implementers Forum, Inc., www.usb.org. The P-Series USB Insertion Reader will read cards that meet the standards defined by ISO
(International Standards Organization): ISO 7811 Identification Cards - Mag-stripe Cards, Tracks 1-3 ISO 7810 Identification Cards - Physical Specifications (ID-1 Cards)
P-Series USB Insertion Reader
4
Reference Standards
ISO 7810 and ISO 7811, AAMVA & JISB9561*
Power Input
5V from USB port
Recording Method
Two-frequency coherent phase (F2F)
Message Format
ASCII
Card Speed
3 to 50 IPS
Head Life
1,000,000 passes (500,000 insert cycles)
ELECTRICAL
Current Suspend Mode
300 uA
MECHANICAL
Weight
3.74 oz. (106.03 g)
Dimensions
See Appendix A
Cable length
Optional
ENVIRONMENTAL
Temperature
Operating
-40 oF to 185 oF (-40 oC to 85 oC)
Storage
-40 oF to 185 oF (-40 oC to 85 oC)
Humidity
Operating
10% to 90% noncondensing
Storage
10% to 90% noncondensing

SPECIFICATIONS

Table 1-2 lists the specifications for the USB P-Series Insert Reader.
Table 1-2. Specifications
Normal Mode
* ISO (International Standards Organization), AAMVA (American Association of Motor Vehicle
Administrators) and JIS B9561 (Japanese Industrial Standard).
30 mA
Loading...
+ 25 hidden pages