C#Zebra Zm400打印问题 [英] C# Zebra Zm400 Print Problem
本文介绍了C#Zebra Zm400打印问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好朋友。
如何在c#平台上打印zebra zm400打印机?
代码;
^ PRC+
^ LH0,0 ^ FS+
^ MD16+
^ MNY+
^ BY2,0 ^ FO30,20 ^ BCN,50,N,N,N ^ FR ^ FD> ;; + textBox1.Text +^ FS+
^ FO50,75 ^ A0,24,0 ^ CI0 ^ FR ^+ textBox1.Text +^ FS+
^ XZ;
感谢您的帮助。
Hi my friends.
How can I print to zebra zm400 printer in c# platform ?
codes;
"^PRC"+
"^LH0,0^FS"+
"^MD16"+
"^MNY"+
"^BY2,0^FO30,20^BCN,50,N,N,N^FR^FD>;" + textBox1.Text + "^FS"+
"^FO50,75^A0,24,0^CI0^FR^" + textBox1.Text + "^FS"+
"^XZ";
Thanks for your help.
推荐答案
复制此代码MS http://support.microsoft.com/kb/322091 [ ^ ]
然后将打印机名称+那些ZPL命令传递给它。就是这样。
Copy this code from MS http://support.microsoft.com/kb/322091[^]
Then pass to it the printer name + those ZPL commands. That's it.
将所有文本写入文件.... bill.txt
使用此内容创建批处理文件..Print.bat
类型bill.txt> prn
退出
RUn这个档案使用C#....
Write all the text to a file.... bill.txt
Create a Batch file with this content.. "Print.bat"
type bill.txt>prn
exit
RUn this file using C#....
这篇关于C#Zebra Zm400打印问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文