国产精品自在在线午夜蜜芽tv在线,乱伦强奸影音先锋,美女湿丝袜躺浴缸,黄鱼力av在线网,午夜在线观看一区视频,av电影在线观看网址

歡迎光臨條碼打印機(jī)、條碼掃描器、條碼軟件、條碼標(biāo)簽、數(shù)據(jù)采集器,自動(dòng)條碼識(shí)別系統(tǒng)權(quán)威集成商Lesain立象條碼 !

專注條碼技術(shù)19年

條碼系統(tǒng)應(yīng)用集成服務(wù)提供商

東莞市立象條碼制品有限公司



技術(shù)咨詢
解決方案
可視化語(yǔ)音揀貨倉(cāng)庫(kù)的 易助ERP條碼管理系統(tǒng) 易飛ERP條碼管理系統(tǒng) 廠內(nèi)智能物流管理系統(tǒng) 智能電子看板管理系統(tǒng) 采購(gòu)條碼管理系統(tǒng) 產(chǎn)品序列號(hào)管理系統(tǒng) 條碼對(duì)比軟件 標(biāo)簽打印軟件 標(biāo)簽智能檢測(cè)系統(tǒng)-一 標(biāo)簽連續(xù)打印檢測(cè)與單 CIS標(biāo)簽連續(xù)打印檢測(cè) 標(biāo)簽智能檢測(cè)系統(tǒng) 標(biāo)簽AOI檢測(cè)器產(chǎn)品介 CIS標(biāo)簽檢測(cè)系統(tǒng)介紹 稱重標(biāo)簽打印軟件 斑馬105SL Plus打印機(jī) Honeywell 1900掃描槍 斑馬ZT411打印機(jī)助力 斑馬105SL Plus打印機(jī) 斑馬ZT510打印機(jī)助力 斑馬ZT610打印機(jī)助力 Honeywell 1900掃描槍 簡(jiǎn)單介紹斑馬打印機(jī)是 斑馬打印機(jī)助力塑料清 Honeywell 1900掃描槍 Honeywell 1900掃描槍 斑馬ZT510打印機(jī)助力 斑馬打印機(jī)賦能光學(xué)玻 斑馬ZT411打印機(jī)在傳 斑馬打印機(jī)在塑料餐具 塑料容器智造新紀(jì)元: 斑馬打印機(jī)賦能制冷電 斑馬ZT610打印機(jī)在植 革新機(jī)電生產(chǎn)管理:斑 Honeywell 1900掃描槍 斑馬ZT610打印機(jī):賦 Honeywell 1900掃描槍 Honeywell 1900掃描槍 Honeywell 1902掃描槍 斑馬ZT610打印機(jī)助力 滌綸纖維生產(chǎn)追溯新利 斑馬打印機(jī)在有機(jī)化學(xué) Honeywell 1902掃描槍 斑馬ZT610打印機(jī)賦能 斑馬打印機(jī)助力機(jī)織服 斑馬打印機(jī)助力專項(xiàng)運(yùn) Honeywell 1902掃描槍 淺析斑馬打印機(jī)是如何 斑馬打印機(jī)助力安全用 斑馬打印機(jī)為家用紡織 Honeywell 1902掃描槍 斑馬ZT210打印機(jī)是如 Honeywell 1902掃描器 Honeywell 1902掃描槍 霍尼韋爾固定式掃描器 淺析斑馬打印機(jī)是如何 淺析斑馬打印機(jī)是如何 斑馬zt610打印機(jī)為平 honeywell 1900掃描槍 斑馬打印機(jī)為絲綢紡織 斑馬ZT510打印機(jī)為工 淺析斑馬打印機(jī)是如何 斑馬ZT510打印機(jī)為食 斑馬ZT510打印機(jī)為新 斑馬zt610打印機(jī)為家 斑馬zt510打印機(jī)是如 斑馬打印機(jī)在金屬工具 斑馬ZT610打印機(jī)為中 Honeywell 1900掃描槍 斑馬ZT510打印機(jī)為輸 斑馬ZT610為通用零部 斑馬ZT610打印機(jī)為電 淺析honeywell 1900掃 淺析honeywell 1900掃 淺析斑馬zt510打印機(jī) 淺析honeywell 1900掃 淺析斑馬ZT610打印機(jī) 淺析斑馬ZT610打印機(jī) 淺析斑馬ZT610打印機(jī) 淺析Honeywell 1902掃 斑馬zt510打印機(jī)是如 斑馬zt510打印機(jī)是怎 Honeywell 1902掃描槍 斑馬zt510打印機(jī)為環(huán) Honeywell 1902掃描槍 斑馬zt210打印機(jī)為陶 Honeywell 1902掃描槍 Honeywell 1902無(wú)線掃 Honeywell 1902掃描槍 斑馬zt510打印機(jī)為工 Honeywell掃碼槍為閥 斑馬打印機(jī)為自動(dòng)化控 Honeywell 1900掃描槍 Honeywell掃碼槍為鈦 斑馬zt510打印機(jī)為紡 斑馬zt610打印機(jī)為調(diào) 斑馬zt510打印機(jī)為化 新大陸NVH220掃描槍為 honeywell 1900GHD掃 新大陸NVH220掃描槍為 斑馬ZT210打印機(jī)在鐘 新大陸NVH220掃碼槍為 斑馬zt210打印機(jī)為光 斑馬ZT510打印機(jī)為環(huán) 斑馬ZT210打印機(jī)為鐘 斑馬zt510打印機(jī)為塑 新大陸NVH220掃描槍為 斑馬zt610打印機(jī)為光 斑馬ZT510打印機(jī)為塑 斑馬ZT610打印機(jī)為銅 霍尼韋爾掃碼器針對(duì)肉 斑馬打印機(jī)針對(duì)糖果制 Honeywell 1900GHD掃 honeywell 1900掃描槍 斑馬ZT620打印機(jī)在顯 Honeywell掃碼槍在銅 新大陸NVH220在包裝材 斑馬zt620打印機(jī)在精 新大陸NVH220掃描槍在 斑馬馬ZT411打印機(jī)在 新大陸Soldier300固定 新大陸NVH220掃描槍針 斑馬 ZT510 打印機(jī)在 斑馬ZT610 600DPI打印 產(chǎn)線條碼自動(dòng)檢測(cè)系統(tǒng) 酒類防偽標(biāo)簽追溯解決 金屬加工企業(yè)倉(cāng)庫(kù)管理 工業(yè)流水線條碼自動(dòng)掃 機(jī)械行業(yè)生產(chǎn)管理解決 企業(yè)大型倉(cāng)庫(kù)條碼管理 自動(dòng)化裝配生產(chǎn)線條碼 工廠自動(dòng)化流水線條碼 家電行業(yè)生產(chǎn)銷(xiāo)售管理 大型珠寶企業(yè)條碼倉(cāng)庫(kù) 倉(cāng)庫(kù)物流條碼管理解決 工業(yè)行業(yè)多個(gè)條碼讀取 工業(yè)產(chǎn)線自動(dòng)條碼檢測(cè) 家具制造行業(yè)倉(cāng)儲(chǔ)管理 圖書(shū)館數(shù)字信息化管理 醫(yī)療廢棄管理解決方案 汽車(chē)制造企業(yè)內(nèi)部物流 碼頭集裝箱高效調(diào)度和 固定資產(chǎn)管理解決方案 企業(yè)產(chǎn)品追溯解決方案 商場(chǎng)管理?xiàng)l碼整體解決 Zebra ZT系列410打印 TSC打印機(jī)常見(jiàn)故障速 斑馬GK888打半張閃紅 更換斑馬105SL打印機(jī) 如何更換斑馬ZT410打
聯(lián)系立象

電 話:13713178909

地 址:廣東省東莞市南城區(qū)白馬黃金路1號(hào)天安數(shù)碼城A1棟1105

聯(lián)系人:張先生
手機(jī):13713178909

郵箱:kent@lesain.com

QQ:398405621

重慶分公司

聯(lián)系人:李小姐
手機(jī):18102328695

郵箱:aimee@lesain.com

地 址:重慶市南岸區(qū)茶園新區(qū)玉馬路8號(hào)中國(guó)智能企業(yè)園D棟419

條碼知識(shí)您當(dāng)前位置:首頁(yè) > 在C#中調(diào)用條碼標(biāo)簽打印機(jī)中的動(dòng)態(tài)鏈接庫(kù)PPLA/PPLB(Argox)
在C#中調(diào)用條碼標(biāo)簽打印機(jī)中的動(dòng)態(tài)鏈接庫(kù)PPLA/PPLB(Argox)
東莞市立象條碼制品有限公司 更新時(shí)間:12/10/2009 9:41:54 AM

以Argox條碼機(jī)的PPLB為例,下面是相關(guān)的函數(shù)調(diào)用及打印代碼:

 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;

namespace C5_Test
{
    public partial class Form1 : Form
    {
        [DllImport("Winpplb.dll")]
        private static extern int B_Bar2d_Maxi(int x, int y, int cl, int cc, int pc, string data);
        [DllImport("Winpplb.dll")]
        private static extern int B_Bar2d_PDF417(int x, int y, int w, int v, int s, int c, int px, int py, int r, int l, int t, int o, string data);
        [DllImport("Winpplb.dll")]
        private static extern int B_Bar2d_PDF417_N(int x, int y, int w, string para, string data);
        [DllImport("Winpplb.dll")]
        private static extern void B_ClosePrn();
        [DllImport("Winpplb.dll")]
        private static extern int B_CreatePrn(int selection, string filename); 
        [DllImport("Winpplb.dll")]
        private static extern int B_Del_Form(string formname);
        [DllImport("Winpplb.dll")]
        private static extern int B_Del_Pcx(string pcxname);
        [DllImport("Winpplb.dll")]
        private static extern int B_Draw_Box(int x, int y, int thickness, int hor_dots, int ver_dots);
        [DllImport("Winpplb.dll")]
        private static extern int B_Draw_Line(char mode, int x, int y, int hor_dots,  int ver_dots);
        [DllImport("Winpplb.dll")]
        private static extern int B_Error_Reporting(char option);
        [DllImport("Winpplb.dll")]
        private static extern int B_Get_DLL_VersionA(int nShowMessage);
        [DllImport("Winpplb.dll")]
        private static extern int B_Get_Graphic_ColorBMP(int x, int y, string filename);
        [DllImport("Winpplb.dll")]
        private static extern int B_Get_Pcx(int x, int y, string filename);
        [DllImport("Winpplb.dll")]
        private static extern int B_Initial_Setting(int Type, string Source);
        [DllImport("Winpplb.dll")]
        private static extern int B_Load_Pcx(int x, int y, string pcxname);
        [DllImport("Winpplb.dll")]
        private static extern int B_Open_ChineseFont(string path);
        [DllImport("Winpplb.dll")]
        private static extern int B_Print_Form(int labset, int copies, string form_out, string var);
        [DllImport("Winpplb.dll")]
        private static extern int B_Print_MCopy(int labset, int copies);
        [DllImport("Winpplb.dll")]
        private static extern int B_Print_Out(int labset);
        [DllImport("Winpplb.dll")]
        private static extern int B_Prn_Barcode(int x, int y, int ori, string type, int narrow, int width, int height, char human, string data);
        [DllImport("Winpplb.dll")]
        private static extern void B_Prn_Configuration();
        [DllImport("Winpplb.dll")]
        private static extern int B_Prn_Text(int x, int y, int ori, int font, int hor_factor, int ver_factor, char mode, string data);
        [DllImport("Winpplb.dll")]
        private static extern int B_Prn_Text_Chinese(int x, int y, int fonttype, string id_name, string data);
        [DllImport("Winpplb.dll")]
        private static extern int B_Prn_Text_TrueType(int x, int y, int FSize, string FType, int Fspin, int FWeight, int FItalic,
                                        int FUnline, int FStrikeOut, string id_name, string data);
        [DllImport("Winpplb.dll")]
        private static extern int B_Prn_Text_TrueType_W(int x, int y, int FHeight, int FWidth, string FType, int Fspin, int FWeight,
                                          int FItalic, int FUnline, int FStrikeOut, string id_name, string data);
        [DllImport("Winpplb.dll")]
        private static extern int B_Select_Option(int option);
        [DllImport("Winpplb.dll")]
        private static extern int B_Select_Symbol(int num_bit, int symbol, int country);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_Backfeed(char option);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_BMPSave(int nSave, string strBMPFName);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_Darkness(int darkness);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_DebugDialog(int nEnable);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_Direction(char direction);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_Form(string formfile);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_Labgap(int lablength, int gaplength);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_Labwidth(int labwidth);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_Originpoint(int hor, int ver);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_Prncomport(int baud, char parity, int data, int stop);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_Prncomport_PC(int nBaudRate, int nByteSize, int nParity, int nStopBits, int nDsr, int nCts, int nXonXoff);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_Speed(int speed);
        [DllImport("Winpplb.dll")]
        private static extern int B_Set_ProcessDlg(int nShow);
        [DllImport("Winpplb.dll")]
        private static extern int B_GetUSBBufferLen();
        [DllImport("Winpplb.dll")]
        private static extern int B_EnumUSB(byte[] buf);
        [DllImport("Winpplb.dll")]
        private static extern int B_CreateUSBPort(int nPort);
        [DllImport("Winpplb.dll")]
        private static extern int B_ResetPrinter();
        [DllImport("Winpplb.dll")]
        private static extern int B_GetPrinterResponse(string pbuf, int nMax);
        [DllImport("Winpplb.dll")]
        private static extern int B_TFeedMode(int nMode);
        [DllImport("Winpplb.dll")]
        private static extern int B_TFeedTest();
        [DllImport("Winpplb.dll")]
        private static extern int B_CreatePort(int nPortType, int nPort, string filename);
        [DllImport("Winpplb.dll")]
        private static extern int B_Execute_Form(string form_out, string var);

        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //PPLBDLL Test code start
            B_CreatePrn(0, null);

            // USB Port Open
            /*int nUSBDataLen;
            byte[] pbuf;

            nUSBDataLen = B_GetUSBBufferLen()+1;
            pbuf = new byte[nUSBDataLen];
            B_EnumUSB(pbuf);
            B_CreateUSBPort(1);*/

            // Open com3
            //B_CreatePort(1, 3, null);

            //B_Set_Darkness(8);
            //B_Select_Option(1);
            //B_Set_Labgap(50,24);
            //B_Set_Labwidth(816);
            //B_Set_Speed(2);
            //B_Error_Reporting('S');

            B_Prn_Text(100, 200, 0, 3, 1, 1, 'N', "FONT 3");    //Get a text string.
            // B_Prn_Text(200,10,1,3,1,1,'N',"Text 3<+1>");

            B_Prn_Barcode(20, 20, 0, "1", 3, 3, 75, 'B', "079-305"); //Get a bar code.
            //Get a PDF-417 2D bar code.
            //B_Bar2d_PDF417(50, 150, 400, 300, 0, 0, 3, 7, 10, 2, 0, 0, "ARGOXINFO");
            //Get a Maxi Code 2D bar code.
            B_Bar2d_Maxi(400, 10, 300, 400, 93065, "This MaxiCode");

            B_Draw_Line('E', 380, 200, 100, 10);  //Line Draw by Exclusive or operation.
            //B_Draw_Line('O', 400, 180, 10, 100);  //Line draw by or operation.
            //B_Draw_Line('W', 380, 220, 100, 10); //Draw white line.
            //B_Draw_Line('E', 450, 180, 20, 110);  //Line Draw by Exclusive or operation.

            //B_Draw_Box(0, 0, 5, 815, 300);     //Draw a box.

            // B_Get_Pcx(50,55,"phone.pcx"); //Print Graphics of .PCX.
            //B_Get_Pcx(400,0,"test1.pcx");
            B_Prn_Text_TrueType(450, 20, 40, "Times New Roman", 1, 400, 0, 0, 0, "AA", "Library Test");
            // Get a truetype text
            //B_Prn_Text_TrueType(30,50,20,"Arial",4,400,0,0,0,"AB","TrueType Font");

            B_Print_Out(1);

            B_ClosePrn();
            //PPLBDLL Test code end
        }
    }
}