你好:
我厂在深圳赛格购买了型号为 OS-314TT 的条码机, 我用 C++Builder 编程控制打印规格为 40 X 10(长 10mm,宽 40mm,间隙 2mm) 单排标签纸时发现无法控制走纸,请问在编程中如何设定标签的长度,谢谢!
附注:操作系统 Windows98
打印机设定 Label Dr 300,自定义纸张(width:400,length:120,unit:0.1millimeters)
程序
B_CreatePrn(1, "pplb.txt\0");
B_Set_Labgap(?, ?);
B_Set_Labwidth(380);
B_Set_Darkness(12);
B_Prn_Barcode(20, 20, 0, "1", 2, 2, 40, 'n', "00100100");
B_Prn_Text_TrueType(20, 60, 28, "Arial\0", 1, 400, 0, 0, 0, "AA\0", "21A0304-0001\0");
B_Prn_Text_TrueType(20, 85, 28, "Arial\0", 1, 400, 0, 0, 0, "AB\0", "D-XB0-YPD-M1000-3\0");
B_Print_Out(1);
B_ClosePrn(); |
|