标签打印机剪纸代码不起作用 [英] label printer Paper Cut Code Not Working
本文介绍了标签打印机剪纸代码不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用GC420T Zebra标签打印机进行标签不干胶打印。
我曾尝试用ZPL,ZPL2和EPL编程语言编写各种代码,以便在打印后剪纸。
似乎没有人工作.Plz上述任何一种语言的剪纸共享代码
使用的代码是
^ MMC ,Y
^ CN
解决方案
#1 AFAIK,有任何Zebra打印机型号为GC420GT!了解Zebra的正确型号非常重要(请继续阅读)
#2在ZPL中,^ MMC,Y命令应该足够并且放置在标签格式的开头。我看到你也指定了^ CN但是从ZPL ref这个命令清楚地说明了这一点:
重要•此命令仅在打印机是在打印模式信息亭(^ MMk)。
如果打印机不在打印模式信息亭中,则使用此命令无效。请参阅第305页的^ MM
。
查看规范:http://www.servopack.de/support/zebra/EPL2_Manual.pdf [ ^ ]
假设您拥有切割机,一个简单的独立C应该这样做。
你的代码的其余部分是否正常工作?如果没有看看: http://nicholas.piasecki.name/blog/2009/03/sending-raw-epl2-directly-to-a-zebra-lp2844-via-c/ [ ^ ]
I am Using a GC420T Zebra label printer for label sticker printing.
Had tried various codes in ZPL, ZPL2 & EPL programming languages to cut the paper after printing.
It Seems None of them is working.Plz Share code for paper cut in any of the above languages
used codes are
^MMC,Y
^CN
解决方案
#1 AFAIK, there's any Zebra printer which model is GC420GT! It's important to know the correct model of your Zebra (read on)
#2 In ZPL, the ^MMC,Y command should be sufficient and placed at the beginning of your label format. I see you also have specified ^CN but from ZPL ref this commands clearly states this:
Important • This command works only when the printer is in Print Mode Kiosk (^MMk).
If the printer is not in Print Mode Kiosk, then using this command has no effect. See ^MM
on page 305.
Have a look at the specification: http://www.servopack.de/support/zebra/EPL2_Manual.pdf[^]
Supposing you have the cutter, a simple standalone C should do it.
Is the rest of your code working? If not have a look here: http://nicholas.piasecki.name/blog/2009/03/sending-raw-epl2-directly-to-a-zebra-lp2844-via-c/[^].
这篇关于标签打印机剪纸代码不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文