条码通用库PLLB
~g2fk;
/******************************************************************************
Module: BWIN-CAPI.TXT
All commands for PPLB in Dynamic Link Library for Windows
Notices: Copyright (c) 1998-2004 ARGOIMPREX
Version: 3.04BW 2005/12/07
******************************************************************************/
目錄
===============================================================================
B_Bar2d_Maxi() => 印出一個 Maxi Code 2D Barcode。
B_Bar2d_PDF417() => 印出一個 PDF-417 2D Barcode。
B_Bar2d_PDF417_N() => 印出一個 PDF-417 2D Barcode。
B_ClosePrn() => 關閉 Printer 工作。
B_CreatePrn() => 開啟 Printer 工作。
B_Del_Form() => 刪除 Form (表格)。
B_Del_Pcx() => 刪除 Form (表格)。
B_Draw_Box() => 畫一個框。
B_Draw_Line() => 畫一條線。
B_Error_Reporting() => 開啟或關閉錯誤回傳功能。
B_Get_DLL_Version() => 取得或秀出此函數庫版本資訊。
B_Get_DLL_VersionA() => 取得或秀出此函數庫版本資訊。
B_Get_Graphic_ColorBMP() => 轉換 BMP 圖檔彩色變灰階,並將圖形儲存在印表機內的 RAM。
B_Get_Pcx() => 列印一個圖形並將圖形儲存在印表機內的 Memory。
B_Initial_Setting() => 前置處理。
B_Load_Pcx() => 列印一個圖形。
B_Open_ChineseFont() => 開啟使用中文點矩陣字型檔案 (16*15 和 24*24)。
B_Print_Form() => 列印一個 FORM (表格),並輸入 FORM 所有變數、計數資料。
B_Print_MCopy() => 列印所有資料和加上跳號複製功能。
B_Print_Out() => 列印所有資料。
B_Prn_Barcode() => 印出一個條碼和加上跳號功能。
B_Prn_Configuration() => 列印印表機內部配置。
B_Prn_Text() => 印出一行文字和加上跳號功能。
B_Prn_Text_Chinese() => 印出一行文字,使用中文點矩陣字型檔案 (16*15 或 24*24)。
B_Prn_Text_TrueType() => 印出一行 True Type Font 文字。
B_Prn_Text_TrueType_W() => 印出一行 True Type Font 文字,並控制字型的寬及高。
B_Select_Option() => 設定轉印模式、啟動 Cutter 或 Peel。
B_Select_Symbol() => 符號設定選擇。
B_Set_Backfeed() => 啟動 Back feed。
B_Set_BMPSave() => 儲存影像圖檔。
B_Set_Darkness() => 設定熱感頭列印熱度。
B_Set_DebugDialog() => 設定除錯環境。
B_Set_Direction() => 設定列印方向。
B_Set_Form() => 儲存並列印 FORM (表格)。
B_Set_Labgap() => 同時設定標籤長度及 GAP 長度。
B_Set_Labwidth() => 設定標籤寬度。
B_Set_Originpoint() => 設定開始列印點。
B_Set_Prncomport() => 設定 Serial Port。
B_Set_Prncomport_PC() => 設定 PC 序列埠。
B_Set_Speed() => 設定列印速度。
B_Set_ProcessDlg() => 開啟或關閉進度對話框
B_GetUSBBufferLen() => 查詢 USB 埠資料長度
B_EnumUSB() => 取得 USB 埠的資料
B_CreateUSBPort() => 使用 USB 埠進行傳輸
*******************************************************************************
注意事項
===============================================================================
使用方法:將 WINPPLB.DLL 加入 \\Windows\system\ 或 \\???\ 執行中路徑,
才能被搜尋到。
*******************************************************************************
B_GetUSBBufferLen()
B_EnumUSB()
===============================================================================
功能: 取得 USB Printer 的資料。
語法: int B_GetUSBBufferLen();
int B_EnumUSB(char *buf);
參數: char *buf; ●儲存 USB Printer 資料。
傳回值: B_GetUSBBufferLen(); 傳回 USB 的資料長度
B_EnumUSB() 0 -> OK.
Reference AW-Error.txt file.
範例: char *buf;
int nLen = B_GetUSBBufferLen()+1;
buf = malloc(nLen);<
补充:综合编程 , 其他综合 ,