Transcript
Using a Smart Card Contact Station This document provides information about using a Polaroid ID card printer with a Smart Card Contact Station. Current printers include: •
P3000 ID card printers
•
P4000 ID card printers
It describes what you need and how to use it to set up a Polaroid ID card printer with a smart card contact station.
What you need 1. Two serial cables: •
For the serial cable between the PC and the reader (coupler), see the serial cable specifications provided with the reader.
•
The printer accepts a standard RS-232 serial cable. See the requirements for the reader serial port to determine whether you need a custom cable.
•
For the serial cable between the printer and the reader, use the following pin-out information for the female DB-9 connector to the printer: DB-9 Pins
Description
1
C1 (Vcc)
2
C2 (Reset)
3
C3 (Clock)
4
C4 (Reserved)
5
C5 (GND)
6
C6 (Vpp)
7
C7 (I/O)
8
C8 (Reserved)
9
Card Present Switch
Connector shell
Ground
•
All cables attached to the contact station should meet standards described in “International Standard (ISO/IEC) 7816-3, Identification cards—Integrated circuit(s) cards with contacts—Part 3: Electronic signals and transmission protocols.” Search for 7816-3 on the ISO Web site at http://www.iso.org/iso/en/CatalogueListPage.CatalogueList.
•
Minimize cable length to improve signal quality.
2. An external reader, also called a stand-alone smart card reader.
The design and information contained in these materials is protected by US and international copyright law.
539044-401 Rev. A
Using a Smart Card Contact Station
Setting up the Smart Card Contact Station With a Smart Card Contact Station, the printer positions the smart card in the contact station. The external, stand-alone reader delivers data from the PC to the smart card through serial cables. To use the Smart Card Contact Station with an application and a stand-alone reader, do the following: 1. Attach the smart card serial cables to the printer, the PC, and the stand-alone reader. The cable marked with an asterisk* in the illustrations is the custom serial cable. If the PC has more than one serial port, attach the serial cable to the serial port used by the smart card application.
P3000 and P4000 Card Printers (P3000 printer shown)
i
Your printer might look slightly different from the printer shown. For example, your printer might have a duplex module.
2. Attach the data cable to the printer and to the PC. 3. Plug the power cable into the power supply and into the printer. 4. Enable integration of ID Card Maker (version 5.0 or greater), the smart card reader and application, and the printer. Choices available include: •
Use a Smart Card Application Manager to enable ID Card Maker, a Polaroid P3000 or P4000 ID card printer, a reader supported by ID Card Maker, and a smart card application.
•
Develop or modify a smart card application that uses the printer driver API and the programming interface for the smart card reader. The following extract shows a brief section of code that uses the printer driver API. This code example might provide the functionality you need.
Page 2
Using a Smart Card Contact Station
// disable spooling to talk directly to the printer if (SetInteractiveMode(pDC->GetSafeHdc(), TRUE)) { if (StartDoc(DC)) { StartPage(DC) // Move the card into the coupler. // Set the ICE_GRAPHICS_FRONT flag only if printing on the card if (FeedCard(pDC->GetSafeHdc(), ICE_SMARTCARD_FRONT | ICE_GRAPHICS_FRONT)) { // code that talks to the coupler through the serial port goes here
// SmartCard processing complete, continue printing or eject card if (SmartCardContinue(pDC->GetSafeHdc(), Result)) { /* processing was successful */ } } EndPage(DC) } EndDoc(DC) // re-enable spooling SetInteractiveMode(pDC->GetSafeHDC(), FALSE); }
See the manual and sample code in the Software Developer’s Kit (SDK) for more details. The SDK is available from your dealer. 5. When delivering your application, make sure to include the libraries and drivers needed for the printer, the SDK, and a smart card reader.
Polaroid®; TM; Polaroid and pixel design. Page 3