【问题标题】:cups ignores -o raw option when printing using lpr to remote printer使用 lpr 打印到远程打印机时,cups 忽略 -o raw 选项
【发布时间】:2019-12-04 19:00:27
【问题描述】:

Cups 1.6.3 打印机设置在计算机 #1 上的网络上。 使用 Zebra EPL2 驱动程序的 Zebra 标签打印机 labelq 设备:usb://Zebra%20Technologies/ZTC%20ZD420-203dpi%20ZPL?serial=D2J175123456

在 2 号计算机上自动检测: 当我运行 lpstat -t 它说: labelq 的设备:implicitclass:labelq

当我执行“lpr -P labelq -oraw rawprintercommands.txt”时,cups 将文件光栅化并将其转换为 pdf。因此,我没有得到一个漂亮的标签,而是在标签上得到了打印机代码。

1)当我调用以下命令时,为什么杯子不会以原始模式打印?

lpr -P labelq -oraw rawprintercommands.txt

我尝试将计算机 #2 上的打印机显式添加为原始打印机并且可以正常工作,但是使用隐式类的整个自动设置,我也希望在使用 -o raw 选项时工作。我需要这个才能在 1000 多个网站上工作。

【问题讨论】:

    标签: zebra-printers cups


    【解决方案1】:

    试试lp -d labelq -o raw rawprintercommands.txt

    【讨论】:

      猜你喜欢
      • 2016-01-07
      • 1970-01-01
      • 2015-07-18
      • 2015-07-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多