在线亚洲免费视频 I亚洲永久精品国产 I天天操夜夜拍 I日本少妇视频 I天天天操操操 I午夜视频免费播放 I亚洲资源一区 I亚洲电影影音先锋 I四虎免费在线观看 I在线国产精品视频 I亚洲专区在线播放 I日日夜夜综合 I亚洲一级片免费观看 I特级毛片网站 I性色在线视频 I中文国产字幕 I中文字幕观看av I天天色草 I特级xxxxx欧美 I亚洲精品在线观看的 I婷婷色在线资源 I色综合激情网 I亚洲国产成人精品久久

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

專注條碼技術19年

條碼系統應用集成服務提供商

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

以Argox條碼機的PPLB為例,下面是相關的函數調用及打印代碼:

 

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