DataCard SR300 Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Laminadoras DataCard SR300. SR200 & SR300 Printer SDK Guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir

Resumo do Conteúdo

Página 1 - SDK Guide

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

Página 2 - Revision History

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

Página 3 - Contents

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

Página 4

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

Página 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

Página 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.

Página 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,

Página 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

Página 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

Página 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,

Página 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

Página 12 - Image Out Function

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

Página 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

Página 14

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

Página 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

Página 16 - Print Function

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

Página 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

Página 18 - Card Move Function

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

Página 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

Página 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

Página 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)

Página 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

Página 23 - Reading Function (for ISO)

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 30

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

Página 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

Página 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

Página 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

Página 34

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

Página 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

Página 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 (

Página 37

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

Página 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

Página 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

Página 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

Página 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

Página 42

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

Página 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

Página 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

Página 45

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 52

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

Página 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

Página 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

Página 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

Página 56 - Inline Encoding

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

Página 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

Página 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

Página 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

Página 60

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 74

SR200 & SR300 Printer SDK Guide Page 72

Página 75

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

Página 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

Comentários a estes Manuais

Sem comentários