DataCard SR300 Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Laminátory DataCard SR300. SR200 & SR300 Printer SDK Guide Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk

Shrnutí obsahu

Strany 1 - SDK Guide

SR200 & SR300 Card Printer: SDK Guide 539903-001 Rev. B November 2010

Strany 2 - Revision History

SR200 & SR300 Printer SDK Guide Page 6 Scan Printer Functions The API includes the following ♦ Scan Function ♦ Printer Check Function

Strany 3 - Contents

SR200 & SR300 Printer SDK Guide Page 7 Printer Status Functions You can use the following functions to retrieve printer status: ♦ Test Un

Strany 4

SR200 & SR300 Printer SDK Guide Page 8 Print on Retransfer Film functions The API provides the following printing functions: ♦ Image Out

Strany 5 - Introduction

SR200 & SR300 Printer SDK Guide Page 9 About UV Ink UV ink becomes visible with ultraviolet rays. UV data is grayscale data, in the range

Strany 6 - System Configuration

SR200 & SR300 Printer SDK Guide Page 10 ♦ Portrait: The upper right location starts at 612,743. The lower left location starts at 19, 42.

Strany 7 - About the API

SR200 & SR300 Printer SDK Guide Page 11 Define LUT Function No. Function Name Explanation 1 int CXCMD_DefineLUT (int iSlot,int iID,

Strany 8 - Printer Control Functions

SR200 & SR300 Printer SDK Guide Page 12 Print Function No. Function Name Explanation 1 int CXCMD_Print (int iSlot,int iID, int i

Strany 9 - Retransfer & Turn *

SR200 & SR300 Printer SDK Guide Page 13 Functions for Moving and Discharging the Card The API provides the following functions to move and

Strany 10 - Scan Printer Functions

SR200 & SR300 Printer SDK Guide Page 14 Card Move Function No. Function Name Explanation 1 int CXCMD_MoveCard (int iSlot, int iID,

Strany 11 - Printer Status Functions

SR200 & SR300 Printer SDK Guide Page 15 Retransfer to Card Functions Retransfer Functions No. Function Name Explanation 1 int CXCMD_Ret

Strany 12 - Image Out Function

SR200 & SR300 Card Printer SDK Guide ii Notice See the “Software License Agreement” on the SR200 & SR300 Support

Strany 13 - About UV Ink

SR200 & SR300 Printer SDK Guide Page 16 Magnetic Stripe Encoding Functions The API provides the following functions for magnetic stripe en

Strany 14

SR200 & SR300 Printer SDK Guide Page 17 Reading Function (for JIS) No. Function Name Explanation 1 int CXCMD_ReadMagData (int iSlot

Strany 15 - Define LUT Function

SR200 & SR300 Printer SDK Guide Page 18 No. Function Name Explanation pbyTrack2Buff Pointer to the data to write. Data must be ASCII cha

Strany 16 - Print Function

SR200 & SR300 Printer SDK Guide Page 19 Reading Function (for ISO) No. Function Name Explanation 1 int CXCMD_ReadMagData (int iSlot

Strany 17 - Card Load Function

SR200 & SR300 Printer SDK Guide Page 20 Smart Card (IC) Function IC Control Function No. Function Name Explanation 1 int CXCMD_ICContr

Strany 18 - Card Move Function

SR200 & SR300 Printer SDK Guide Page 21 Functions for Getting Information & Changing Settings The driver API provides the following fu

Strany 19 - Retransfer to Card Functions

SR200 & SR300 Printer SDK Guide Page 22 71-78 Config Version (ASCII): Printer Configuration Version 79-86 Table Version (ASCII): Printer T

Strany 20 - Writing Function (for JIS)

SR200 & SR300 Printer SDK Guide Page 23 Ink Data (Page Code = 23H) Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code (0x23) 1 Pa

Strany 21 - Writing Function (for ISO)

SR200 & SR300 Printer SDK Guide Page 24 Print Unit Data (Page Code=0x28) Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code (28H)

Strany 22

SR200 & SR300 Printer SDK Guide Page 25 Bit Byte 7 6 5 4 3 2 1 0 38 Reserved 39 Peel Wait Time 41 Resin Black Level 42 Res

Strany 23 - Reading Function (for ISO)

SR200 & SR300 Card Printer SDK Guide iii Contents Introduction...

Strany 24 - Smart Card (IC) Function

SR200 & SR300 Printer SDK Guide Page 26 MG Peel Mode When MG Peel Mode is enabled, the retransfer film is peeled from the back side diffe

Strany 25 - Inquiry Function

SR200 & SR300 Printer SDK Guide Page 27 Power Save Mode The wait time to enable Power Save Mode, in minutes. 0 5(min) 1 10 2 15 3 20

Strany 26 - Mode Sense Function

SR200 & SR300 Printer SDK Guide Page 28 Encode Unit Data (Page Code=0x2A) Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code (2AH

Strany 27 - Ink Data (Page Code = 23H)

SR200 & SR300 Printer SDK Guide Page 29 *In ”Film T Type” and ”Film B Type”, T (Top) references the lamination function on the top side o

Strany 28

SR200 & SR300 Printer SDK Guide Page 30 Film B Type The type of the lamination film on the bottom side. 0 Patch 1 Overlay NOTE: The LM3

Strany 29

SR200 & SR300 Printer SDK Guide Page 31 47-62 IPv6 Address 63-79 Reserved Session Timeout The time interval to detect that the printer T

Strany 30

SR200 & SR300 Printer SDK Guide Page 32 Mode Select Function No. Function Name Explanation 1 int CXCMD_ModeSelect (int iSlot, int iI

Strany 31

SR200 & SR300 Printer SDK Guide Page 33 Print Unit Data (Page Code=0x28) Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code (0x28

Strany 32

SR200 & SR300 Printer SDK Guide Page 34 Bit Byte 7 6 5 4 3 2 1 0 31 Reserved (0xff) Tips for Success • The contents of t

Strany 33

SR200 & SR300 Printer SDK Guide Page 35 Buzzer Mode: Use 0 if the value for iSp is 0. 0 Enable Buzzer 1 Disable Buzzer Power Save Mode

Strany 34

SR200 & SR300 Card Printer SDK Guide iv Encoding with ExtEscape() ...

Strany 35

SR200 & SR300 Printer SDK Guide Page 36 Encode Unit Data (Page Code=0x2a) Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code (0x2

Strany 36 - Mode Select Function

SR200 & SR300 Printer SDK Guide Page 37 Laminator Unit Data (Page Code=0x2C) Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code (

Strany 37

SR200 & SR300 Printer SDK Guide Page 38 Heat Roller T Temp The heat roller temperature for top-side lamination. Values specified here corr

Strany 38

SR200 & SR300 Printer SDK Guide Page 39 Network Data (Page Code=0x2D) Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Code (0x2d) 1

Strany 39

SR200 & SR300 Printer SDK Guide Page 40 DHCP Whether DHCP is enabled. 0 Enabled 1 Disabled Host I/F The type of connection (interface

Strany 40

SR200 & SR300 Printer SDK Guide Page 41 Print Information Data (Page Code=0x2b) Bit Byte 7 6 5 4 3 2 1 0 0 0 0 Page Cod

Strany 41

SR200 & SR300 Printer SDK Guide Page 42 Velocity for Card Fix From 0 (Slow) to 4 (Fast). Peel off Wait Time Wait time in seconds before

Strany 42

SR200 & SR300 Printer SDK Guide Page 43 Log Sense Function No. Function Name Explanation 1 int CXCMD_ LogSense (int iSlot, int iID,

Strany 43

SR200 & SR300 Printer SDK Guide Page 44 Bit Byte 7 6 5 4 3 2 1 0 20 (MSB) Parameter Code (0x0002) (LSB) 21 22 0 0 0 0

Strany 44

SR200 & SR300 Printer SDK Guide Page 45 Log Sense Data Format (Miscellaneous Page: Page Code=0x39) Bit Byte 7 6 5 4 3 2 1

Strany 45

SR200 & SR300 Printer SDK Guide Page 1 Introduction Overview This document explains the application programming interface (API) for the SR

Strany 46

SR200 & SR300 Printer SDK Guide Page 46 Bit Byte 7 6 5 4 3 2 1 0 30 00H 31 Parameter Length (0004H) 32 Printer Status 33 P

Strany 47 - Log Sense Function

SR200 & SR300 Printer SDK Guide Page 47 Printer Status Reports the current status of the printer, for display to the operator, which can

Strany 48

SR200 & SR300 Printer SDK Guide Page 48 0x54: Lower film out of supply 0x55 Cannot detect upper film (No film or broken) 0x56 Cannot de

Strany 49

SR200 & SR300 Printer SDK Guide Page 49 Laminator Counters Page (Page Code = 0x3A) Bit Byte 7 6 5 4 3 2 1 0 0 Reserved P

Strany 50

SR200 & SR300 Printer SDK Guide Page 50 Bit Byte 7 6 5 4 3 2 1 0 28 (MSB) Parameter Code (0x0003) 29 (LSB) 30 0x00 31 Para

Strany 51

SR200 & SR300 Printer SDK Guide Page 51 Bit Byte 7 6 5 4 3 2 1 0 58 (MSB) Parameter Code (0x0007) 59 (LSB) 60 0x00 61 Para

Strany 52

SR200 & SR300 Printer SDK Guide Page 52 How to Encode with the Printer Driver Encoding includes magnetic stripe encoding and smart card (I

Strany 53

SR200 & SR300 Printer SDK Guide Page 53 *Max Length shows the maximum number of characters to encode using that method and format. Tips f

Strany 54

SR200 & SR300 Printer SDK Guide Page 54 Encoding with ExtEscape() You can pass the encoding data to the printer driver by using the ExtEs

Strany 55 - Log Select Function

SR200 & SR300 Printer SDK Guide Page 55 Smart Card (IC) Programming The driver does not offer the actual IC encoding function. When IC en

Strany 56 - Inline Encoding

SR200 & SR300 Printer SDK Guide Page 2 System Configuration The following diagram shows the software components and their relationships. I

Strany 57 - Application

SR200 & SR300 Printer SDK Guide Page 56 Negative, or value different from those listed here The printer driver displays an error. After th

Strany 58 - Encoding with ExtEscape()

SR200 & SR300 Printer SDK Guide Page 57 How to Override Driver Settings You can override settings in the printer driver using the Win32 Ex

Strany 59 - Smart Card (IC) Programming

SR200 & SR300 Printer SDK Guide Page 58 cbResult when successful Name Error Code Reserved Length in byte 1 4 Value 0x00 Not defined

Strany 60

SR200 & SR300 Printer SDK Guide Page 59 Programming Sample Change the “Number of copies” to 100 int escape_id; unsigned short id, size;

Strany 61 - Change a Setting

SR200 & SR300 Printer SDK Guide Page 60 Refer to the “Number of copies” setting int escape_id; unsigned short id, size; unsigned long

Strany 62 - Get the Current Setting

SR200 & SR300 Printer SDK Guide Page 61 cbParameter Values All values must be set with Big Endian. Item Name ATR ID Size Data Explana

Strany 63 - Programming Sample

SR200 & SR300 Printer SDK Guide Page 62 Item Name ATR ID Size Data Explanation 0x00000011 Print black text of back side with K and p

Strany 64

SR200 & SR300 Printer SDK Guide Page 63 Appendix A: API Error Codes This appendix lists errors returned by the printer driver API. It incl

Strany 65 - Page 61

SR200 & SR300 Printer SDK Guide Page 64 Driver Errors (0x02xxxxxx) Bit 31-24 (0x02) Bit 23-16 Bit 15-0 Explanation 0x02 00 1 Not eno

Strany 66 - Errors returned

SR200 & SR300 Printer SDK Guide Page 65 Appendix B: Magnetic Stripe Data This section contains: ♦ 4-bit data ♦ Codes for 4-unit (bit) da

Strany 67 - Appendix A: API Error Codes

SR200 & SR300 Printer SDK Guide Page 3 About the API This section provides background information about the printer driver API. Command St

Strany 68 - Other Errors (0x09xxxxxx)

SR200 & SR300 Printer SDK Guide Page 66 6-bit data 6 unit code 0 0 1 1 0 1 0 1 b4 b3 b2 b1 0 1 2 3 0 0 0 0 0 0

Strany 69 - Codes for 4-unit (bit) data

SR200 & SR300 Printer SDK Guide Page 67 7-bit data 7 unit code b7 0 0 0 0 1 1 1 1 b6 0 0 1 1 0 0 1 1 b5 0 1 0 1 0

Strany 70 - Codes for 6-unit data

SR200 & SR300 Printer SDK Guide Page 68 Appendix C: Card Printer Error Codes No. Error Code Name Contents SK ASC ASQ 1 02 D0 00 No

Strany 71 - Codes for 7-unit data

SR200 & SR300 Printer SDK Guide Page 69 No. Error Code Name Content SK ASC ASQ 15 03 90 00 Jam(Hopper) The card does not arrive a

Strany 72

SR200 & SR300 Printer SDK Guide Page 70 No. Error Code Name Content SK ASC ASQ 31 04 AC 00 MG Hardware A hardware error occurred

Strany 73

SR200 & SR300 Printer SDK Guide Page 71 No. Error Code Name Contents SK ASC ASQ 50 05 20 00 Invalid Command Operation Code The con

Strany 74

SR200 & SR300 Printer SDK Guide Page 72

Strany 75

SR200 & SR300 Printer SDK Guide Page 4 Printer Control Functions The Printer Control DLL (a Windows DLL) supports the printer control func

Strany 76 - Page 72

SR200 & SR300 Printer SDK Guide Page 5 Process Flow to Issue the Card First, use the Scan Printer function to obtain the Slot number and I

Komentáře k této Příručce

Žádné komentáře