日韩欧美中文字幕在线三区-91国产自拍在线视频-少妇一区二区三区精品-精品午夜免费福利视频-国产av熟女一区二区三区网页版-午夜精品久久久一区二区-在线不卡视频一区二区三区-欧美熟妇极品在线看片-亚洲国产资源一区二区

歡迎光臨東莞市立象條碼制品有限公司!

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

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

服務(wù)支持
解決方案
條碼技術(shù)文章您當前位置:首頁 > 條碼技術(shù)文章
在C#中調(diào)用條碼標簽打印機中的動態(tài)鏈接庫PPLA/PPLB(Argox)
立象條碼制品 更新時間:2023-11-07 08:42:00   

以Argox條碼機的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