C#CUSTOM VKP80iii推纸器/切纸器 [英] C# CUSTOM VKP80iii Paper Ejector/Paper Cut
本文介绍了C#CUSTOM VKP80iii推纸器/切纸器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用RawPrinterHelper类在自定义VKP80iii上进行打印. 我可以打印,但不能裁切和弹出纸张.有没有剪纸的代码?
I am using RawPrinterHelper class to print on a Custom VKP80iii. I can print but I cant Cut and Eject the Paper. Does any have a code which Cuts and Ejects the Paper?
我尝试了很多命令,但是没有一个起作用.
I tried a lot of Commands but none worked.
我发现但也没有起作用的最后一个命令是:
The last command I found but also didn´t work was :
string cutpaper = "" + Convert.ToChar(29) + Convert.ToChar(101) + Convert.ToChar(3) + Convert.ToChar(32);
RawPrinterHelper.SendStringToPrinter(pd.PrinterSettings.PrinterName, cutpaper);
推荐答案
在获得Custom的大力支持后,解决方案正在编写序列:
After the kind support of Custom, the solution is writing the sequence:
this.WriteBytes(new byte[6]
{
(byte) 28,
(byte) 80,
(byte) 5,
(byte) 1,
(byte) 69,
(byte) 5
});
这篇关于C#CUSTOM VKP80iii推纸器/切纸器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文