H
huangjihua
Unregistered / Unconfirmed
GUEST, unregistred user!
// PosCrwDef.h: 掕悢側偳
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_POSCRWDEF_H__D6E771A2_B433_4EB2_989B_01E83517857B__INCLUDED_)
#define AFX_POSCRWDEF_H__D6E771A2_B433_4EB2_989B_01E83517857B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 僩儔僢僋巜掕
#define TRACK_DEFAULT 0x0
#define TRACK_ISO1 0x1
#define TRACK_ISO2 0x2
#define TRACK_ISO3 0x4
#define TRACK_JIS2 0x8
#define TRACK_ISO1_ISO2 (TRACK_ISO1 | TRACK_ISO2)
#define TRACK_ISO1_ISO3 (TRACK_ISO1 | TRACK_ISO3)
#define TRACK_ISO2_ISO3 (TRACK_ISO2 | TRACK_ISO3)
#define TRACK_ISO1_ISO2_ISO3 (TRACK_ISO1_ISO2 | TRACK_ISO3)
#define TRACK_ISO1_JIS2 (TRACK_ISO1 | TRACK_JIS2)
#define TRACK_ISO2_JIS2 (TRACK_ISO2 | TRACK_JIS2)
#define TRACK_ISO1_ISO2_JIS2 (TRACK_ISO1_ISO2 | TRACK_JIS2)
#define TRACK_ISO3_JIS2 (TRACK_ISO3 | TRACK_JIS2)
#define TRACK_ISO1_ISO3_JIS2 (TRACK_ISO1 | TRACK_ISO3_JIS2)
#define TRACK_ISO2_ISO3_JIS2 (TRACK_ISO2 | TRACK_ISO3_JIS2)
#define TRACK_ISO1_ISO2_ISO3_JIS2 (TRACK_ISO1_ISO2 | TRACK_ISO3_JIS2)
// Version
#define MAX_VER_NAME 12
#define MAX_VER_VERSION 4
// 10恑斖埻抣
#define DECIMAL_MIN 0
#define DECIMAL_MAX 9
// 儕僩儔僀夞悢
#define RETRY_MIN DECIMAL_MIN
#define RETRY_MAX 5
// 帴婥婰榐巇條(徻嵶偼晄柧丅10恑斖埻偵廬偆)
#define MAGNETIC_MIN DECIMAL_MIN
#define MAGNETIC_MAX DECIMAL_MAX
// 僇乕僪峈帴椡(徻嵶偼晄柧丅10恑斖埻偵廬偆)
#define ANTIMAGNETIC_MIN DECIMAL_MIN
#define ANTIMAGNETIC_MAX DECIMAL_MAX
// 僿僢僪僋儕乕僯儞僌夞悢
#define HEADCLEANING_MIN 1
#define HEADCLEANING_MAX 7
// 僇乕僪憖嶌
#define MODE_DEFAULT 0
#define MODE_CARDOUT 1
#define MODE_CARDIN 2
#define MODE_STANDBY_FRONT 3
#define MODE_STANDBY_BACK 4
// 弶婜壔
#define INITIAL_ONLY 0
#define INITIAL_CARDOUT MODE_CARDOUT
// 僋儕乕僯儞僌
#define CLEAN_CARDIN 0
#define CLEAN_INTERNAL 1
// LED
#define LED_PUTOUT_LIGHT 0
#define LED_PUTON_LIGHT 1
#define LED_BLINK_LOW 2
#define LED_BLINK_NORMAL 3
#define LED_BLINK_FAST 4
// 報帤柺
#define MIX_X_POS 0
#define MAX_X_POS 303
#define MIX_Y_POS 0
#define MAX_Y_POS 459
// 僗僞僀儖
#define STYLE_H_OVERWRITE 0
#define STYLE_H_HEAVYWRITE 1
#define STYLE_V_OVERWRITE 2
#define STYLE_V_HEAVYWRITE 3
// 帪娫/夞悢
#define MIN_ON_TIME 0
#define MAX_ON_TIME 0xff
#define MIN_OFF_TIME 0
#define MAX_OFF_TIME 0xff
#define MIN_REPEAT 0
#define MAX_REPEAT 0xff
// 娍帤庬
#define KANJI_SJIS 0
#define KANJI_JIS 1
// 僼僅儞僩摿惈
#define FONT_NORMAL 0
#define FONT_S_ANK_BOLD 1
#define FONT_W_ANK_BOLD 2
#define FONT_S_SIZE_16 4
#define FONT_FULL ((FONT_S_ANK_BOLD | FONT_W_ANK_BOLD) | FONT_S_SIZE_16)
// 暥帤娫
#define MIN_CHARSPACE 0
#define MAX_CHARSPACE 9
// 報帤僄僱儖僊乕
#define MIN_PRINTPOWER DECIMAL_MIN
#define MAX_PRINTPOWER DECIMAL_MAX
// 徚嫀僄僱儖僊乕
#define MIN_ERASEPOWER DECIMAL_MIN
#define MAX_ERASEPOWER DECIMAL_MAX
// 報帤曗惓抣
#define MIN_PRINTCOMP DECIMAL_MIN
#define MAX_PRINTCOMP DECIMAL_MAX
// 埵抲曗惓抣
#define MIN_POSCOMP 0
#define MAX_POSCOMP 8
// 埵抲曗惓抣
#define MIN_POS 0
#define MAX_POS 459
// 奜帤暆
#define GAIJI_HEIGHT_16 0
#define GAIJI_HEIGHT_24 1
// 奜帤搊榐斣崋
#define MIN_GAIJI_REGNO 0
#define MAX_GAIJI_REGNO 255
// 僪僢僩僀儊乕僕
#define MIN_WIDTH 1
#define MAX_WIDTH 60
// 儗僐乕僪峔憿懱(嵟戝128暥帤)
#define MAX_MSDATA 0x80
typedef struct _msrecord {
DWORD dwCRWErr;
DWORD dwTrack;
DWORD dwVerify;
DWORD dwRecordSize;
BYTE RecordData[MAX_MSDATA];
} MSRECORD,FAR *LPMSRECORD;
#endif // !defined(AFX_POSCRWDEF_H__D6E771A2_B433_4EB2_989B_01E83517857B__INCLUDED_)
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_POSCRWDEF_H__D6E771A2_B433_4EB2_989B_01E83517857B__INCLUDED_)
#define AFX_POSCRWDEF_H__D6E771A2_B433_4EB2_989B_01E83517857B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 僩儔僢僋巜掕
#define TRACK_DEFAULT 0x0
#define TRACK_ISO1 0x1
#define TRACK_ISO2 0x2
#define TRACK_ISO3 0x4
#define TRACK_JIS2 0x8
#define TRACK_ISO1_ISO2 (TRACK_ISO1 | TRACK_ISO2)
#define TRACK_ISO1_ISO3 (TRACK_ISO1 | TRACK_ISO3)
#define TRACK_ISO2_ISO3 (TRACK_ISO2 | TRACK_ISO3)
#define TRACK_ISO1_ISO2_ISO3 (TRACK_ISO1_ISO2 | TRACK_ISO3)
#define TRACK_ISO1_JIS2 (TRACK_ISO1 | TRACK_JIS2)
#define TRACK_ISO2_JIS2 (TRACK_ISO2 | TRACK_JIS2)
#define TRACK_ISO1_ISO2_JIS2 (TRACK_ISO1_ISO2 | TRACK_JIS2)
#define TRACK_ISO3_JIS2 (TRACK_ISO3 | TRACK_JIS2)
#define TRACK_ISO1_ISO3_JIS2 (TRACK_ISO1 | TRACK_ISO3_JIS2)
#define TRACK_ISO2_ISO3_JIS2 (TRACK_ISO2 | TRACK_ISO3_JIS2)
#define TRACK_ISO1_ISO2_ISO3_JIS2 (TRACK_ISO1_ISO2 | TRACK_ISO3_JIS2)
// Version
#define MAX_VER_NAME 12
#define MAX_VER_VERSION 4
// 10恑斖埻抣
#define DECIMAL_MIN 0
#define DECIMAL_MAX 9
// 儕僩儔僀夞悢
#define RETRY_MIN DECIMAL_MIN
#define RETRY_MAX 5
// 帴婥婰榐巇條(徻嵶偼晄柧丅10恑斖埻偵廬偆)
#define MAGNETIC_MIN DECIMAL_MIN
#define MAGNETIC_MAX DECIMAL_MAX
// 僇乕僪峈帴椡(徻嵶偼晄柧丅10恑斖埻偵廬偆)
#define ANTIMAGNETIC_MIN DECIMAL_MIN
#define ANTIMAGNETIC_MAX DECIMAL_MAX
// 僿僢僪僋儕乕僯儞僌夞悢
#define HEADCLEANING_MIN 1
#define HEADCLEANING_MAX 7
// 僇乕僪憖嶌
#define MODE_DEFAULT 0
#define MODE_CARDOUT 1
#define MODE_CARDIN 2
#define MODE_STANDBY_FRONT 3
#define MODE_STANDBY_BACK 4
// 弶婜壔
#define INITIAL_ONLY 0
#define INITIAL_CARDOUT MODE_CARDOUT
// 僋儕乕僯儞僌
#define CLEAN_CARDIN 0
#define CLEAN_INTERNAL 1
// LED
#define LED_PUTOUT_LIGHT 0
#define LED_PUTON_LIGHT 1
#define LED_BLINK_LOW 2
#define LED_BLINK_NORMAL 3
#define LED_BLINK_FAST 4
// 報帤柺
#define MIX_X_POS 0
#define MAX_X_POS 303
#define MIX_Y_POS 0
#define MAX_Y_POS 459
// 僗僞僀儖
#define STYLE_H_OVERWRITE 0
#define STYLE_H_HEAVYWRITE 1
#define STYLE_V_OVERWRITE 2
#define STYLE_V_HEAVYWRITE 3
// 帪娫/夞悢
#define MIN_ON_TIME 0
#define MAX_ON_TIME 0xff
#define MIN_OFF_TIME 0
#define MAX_OFF_TIME 0xff
#define MIN_REPEAT 0
#define MAX_REPEAT 0xff
// 娍帤庬
#define KANJI_SJIS 0
#define KANJI_JIS 1
// 僼僅儞僩摿惈
#define FONT_NORMAL 0
#define FONT_S_ANK_BOLD 1
#define FONT_W_ANK_BOLD 2
#define FONT_S_SIZE_16 4
#define FONT_FULL ((FONT_S_ANK_BOLD | FONT_W_ANK_BOLD) | FONT_S_SIZE_16)
// 暥帤娫
#define MIN_CHARSPACE 0
#define MAX_CHARSPACE 9
// 報帤僄僱儖僊乕
#define MIN_PRINTPOWER DECIMAL_MIN
#define MAX_PRINTPOWER DECIMAL_MAX
// 徚嫀僄僱儖僊乕
#define MIN_ERASEPOWER DECIMAL_MIN
#define MAX_ERASEPOWER DECIMAL_MAX
// 報帤曗惓抣
#define MIN_PRINTCOMP DECIMAL_MIN
#define MAX_PRINTCOMP DECIMAL_MAX
// 埵抲曗惓抣
#define MIN_POSCOMP 0
#define MAX_POSCOMP 8
// 埵抲曗惓抣
#define MIN_POS 0
#define MAX_POS 459
// 奜帤暆
#define GAIJI_HEIGHT_16 0
#define GAIJI_HEIGHT_24 1
// 奜帤搊榐斣崋
#define MIN_GAIJI_REGNO 0
#define MAX_GAIJI_REGNO 255
// 僪僢僩僀儊乕僕
#define MIN_WIDTH 1
#define MAX_WIDTH 60
// 儗僐乕僪峔憿懱(嵟戝128暥帤)
#define MAX_MSDATA 0x80
typedef struct _msrecord {
DWORD dwCRWErr;
DWORD dwTrack;
DWORD dwVerify;
DWORD dwRecordSize;
BYTE RecordData[MAX_MSDATA];
} MSRECORD,FAR *LPMSRECORD;
#endif // !defined(AFX_POSCRWDEF_H__D6E771A2_B433_4EB2_989B_01E83517857B__INCLUDED_)