資源簡介
二次開發的例子,有C#、VB.NET、VC、dephi等
代碼片段和文件信息
//---------------------------------------------------------------------------
//?Create?clsPrinterCommand.h?by?Jeffrey?2014/07/15
//---------------------------------------------------------------------------
#pragma?hdrstop
#include?
#include?“clsPrinterCommand.h“
#include?“EZio32.h“
#pragma?package(smart_init)
using?namespace?Ezio32;
//---------------------------------------------------------------------------
map??clsPrinterCommand::BarcodeTypeHash;
//---------------------------------------------------------------------------
//?Get?Barcode?Type?Hash?(map)
//---------------------------------------------------------------------------
void?clsPrinterCommand::GetBarcodeTypeHash()
{
????if?(BarcodeTypeHash.size()?>?0)
????????return;
????BarcodeTypeHash[Code39_Extended]?=?“A“;
????BarcodeTypeHash[Code39_Extended_CheckDidit]?=?“A2“;
????BarcodeTypeHash[Code39]?=?“A3“;
????BarcodeTypeHash[Code39_CheckDidit]?=?“A4“;
????BarcodeTypeHash[EAN8]?=?“B“;
????BarcodeTypeHash[EAN8_Add2]?=?“C“;
????BarcodeTypeHash[EAN8_Add5]?=?“D“;
????BarcodeTypeHash[EAN13]?=?“E“;
????BarcodeTypeHash[EAN13_Add2]?=?“F“;
????BarcodeTypeHash[EAN13_Add5]?=?“G“;
????BarcodeTypeHash[UPCA]?=?“H“;
????BarcodeTypeHash[UPCA_Add2]?=?“I“;
????BarcodeTypeHash[UPCA_Add5]?=?“J“;
????BarcodeTypeHash[UPCE]?=?“K“;
????BarcodeTypeHash[UPCE_Add2]?=?“L“;
????BarcodeTypeHash[UPCE_Add5]?=?“M“;
????BarcodeTypeHash[I2of5]?=?“N“;
????BarcodeTypeHash[I2of5_CheckDigit]?=?“N2“;
????BarcodeTypeHash[Codabar]?=?“O“;
????BarcodeTypeHash[Code93]?=?“P“;
????BarcodeTypeHash[Code128_Auto]?=?“Q“;
????BarcodeTypeHash[Code128_Subset]?=?“Q2“;
????BarcodeTypeHash[UCC_128]?=?“R“;
????BarcodeTypeHash[PostNET]?=?“S“;
????BarcodeTypeHash[ITF14]?=?“T“;
????BarcodeTypeHash[EAN128]?=?“U“;
????BarcodeTypeHash[RPS128]?=?“V“;
????BarcodeTypeHash[HIBC]?=?“X“;
????BarcodeTypeHash[MSI_1MOD10]?=?“Y“;
????BarcodeTypeHash[MSI_2MOD10]?=?“Y2“;
????BarcodeTypeHash[MSI_1MOD1110]?=?“Y3“;
????BarcodeTypeHash[MSI_NoDigitCheck]?=?“Y4“;
????BarcodeTypeHash[I2of5_ShippingBearerBars]?=?“Z“;
????BarcodeTypeHash[UCC_EAN128_KMART]?=?“1“;
????BarcodeTypeHash[UCC_EAN128_RANDOM]?=?“2“;
????BarcodeTypeHash[Telepen]?=?“3“;
????BarcodeTypeHash[FIM]?=?“4“;
????BarcodeTypeHash[Plessey]?=?“7“;
}
//---------------------------------------------------------------------------
//?Start?Job?(^L)
//---------------------------------------------------------------------------
void?clsPrinterCommand::Start()
{
????sendcommand(“^L“);
}
//---------------------------------------------------------------------------
//?End?Job?(E)
//---------------------------------------------------------------------------
void?clsPrinterCommand::End()
{
????sendcommand(“E“);
}
//---------------------------------------------------------------------------
//?Print?Text?(Simple)
//---------------------------------------------------------------------------
int?clsPrinterCommand::PrintTex
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-09-12?18:10??32\
?????目錄???????????0??2014-09-12?18:10??32\EZio\
?????目錄???????????0??2014-09-12?18:10??32\EZio32\
?????文件?????1680384??2014-09-03?16:15??32\EZio32\EZio32.dll
?????文件????????6021??2014-09-04?14:25??32\EZio32\EZio32.h
?????文件????????6656??2014-09-03?16:27??32\EZio32\EZio32_BCB.lib
?????文件???????14558??2014-09-03?16:15??32\EZio32\EZio32_VC.lib
?????文件?????1680384??2014-09-03?16:22??32\EZio\EZio.dll
?????文件????????6021??2014-09-04?14:25??32\EZio\EZio.h
?????文件????????6144??2014-09-03?16:27??32\EZio\EZio_BCB.lib
?????文件???????14410??2014-09-03?16:22??32\EZio\EZio_VC.lib
?????目錄???????????0??2014-09-12?18:10??64\
?????目錄???????????0??2014-09-12?18:10??64\EZio\
?????目錄???????????0??2014-09-12?18:10??64\EZio64\
?????文件?????2296320??2014-09-03?16:25??64\EZio64\EZio64.dll
?????文件????????6021??2014-09-04?14:25??64\EZio64\EZio64.h
?????文件???????13244??2014-09-03?16:25??64\EZio64\EZio64_VC.lib
?????文件?????2296320??2014-09-03?16:23??64\EZio\EZio.dll
?????文件????????6021??2014-09-04?14:25??64\EZio\EZio.h
?????文件???????13096??2014-09-03?16:23??64\EZio\EZio_VC.lib
?????目錄???????????0??2014-09-12?18:10??Example\
?????目錄???????????0??2014-09-12?18:10??Example\EZio_Sample_BCB6\
?????文件????????1262??2013-05-06?13:30??Example\EZio_Sample_BCB6\BEAR.BMP
?????文件??????221696??2002-02-01?22:00??Example\EZio_Sample_BCB6\cg32.dll
?????文件???????20793??2014-09-05?16:39??Example\EZio_Sample_BCB6\clsPrinterCommand.cpp
?????文件????????5251??2014-09-05?16:39??Example\EZio_Sample_BCB6\clsPrinterCommand.h
?????文件??????331074??2014-09-05?16:40??Example\EZio_Sample_BCB6\clsPrinterCommand.obj
?????文件???????20789??2014-09-05?16:38??Example\EZio_Sample_BCB6\clsPrinterCommand.~cpp
?????文件????????5251??2014-09-05?16:39??Example\EZio_Sample_BCB6\clsPrinterCommand.~h
?????文件????????2840??2014-07-15?11:01??Example\EZio_Sample_BCB6\clsPrinterConfig.cpp
?????文件?????????974??2014-07-15?10:41??Example\EZio_Sample_BCB6\clsPrinterConfig.h
............此處省略298個文件信息
- 上一篇:C#商城源碼
- 下一篇:C#高級編程第11版
評論
共有 條評論