使用 CUPS 进行 Zebra 打印 无打印 ZPL 或 EPL [英] Zebra Printing with CUPS no print ZPL or EPL
本文介绍了使用 CUPS 进行 Zebra 打印 无打印 ZPL 或 EPL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一台 Zebra GK420d 通过 CUPS 连接到 OS X.但是,当我将用 ZPL 或 EPL 编写的文件发送给它时,它们只会以纯文本格式打印.
I have a Zebra GK420d connect to OS X via CUPS. However, when I send files to it that are written in ZPL or EPL they are only printed in plain text.
我需要在打印机上切换到模式吗?
Am I required to change to mode on the printer?
推荐答案
与其他人所说的相反,您不需要专门添加原始队列.
Contrary to what others said, you don't need to specially add a raw queue.
相反,您可以使用 -o raw
开关将原始文件提交到任何队列:
Instead, you can submit raw files into any queue using -o raw
switch:
lpr -P CupsPrinterName -o raw path/to/label.zpl
可以通过 CUPS 中的链接找到打印机名称:
Printer name can be found over that link in CUPS:
http://localhost:631/printers/
这也适用于使用 CUPS 的其他平台,例如 Linux.
This also works on other platforms that use CUPS, like Linux.
这篇关于使用 CUPS 进行 Zebra 打印 无打印 ZPL 或 EPL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文