Brother QL-720NW specifying media size seems ignored

天涯浪子 提交于 2020-01-03 04:39:08

问题


The -o media=... is being ignored by the lpr command when printing on the Brother QL-720NW. I added custom paper sizes using:

sudo brpapertoollpr_ql720nw -P QL720NW -n "62mm x 25mm" -w 62 -h 25

which works when setting the new size from within CUPS as default for the printer. This modified the ppd file and yields (in CUPS):

Description:    QL720NW
Location:
Driver:         Brother QL-720NW CUPS v1.4 (grayscale)
Connection:     ipp://10.200.200.95/ipp/print
Defaults:       job-sheets=none, none media=om_br-l-0-b-3-e-01-a-5-f-9-a-9_61.91x24.96mm sides=one-sided

where the new medium has the weird name om_br-l-0-b-3-e-01-a-5-f-9-a-9_61.91x24.96mm.

However, assuming that I'm adding a couple extra custom paper sizes, there seems to be no way for me to specify one in the lpr command directly, such as:

lpr -P QL720NW -o media=om_br-l-0-b-3-e-01-a-5-f-9-a-9_61.91x30.96mm label_62x25.pdf

This will either print on the default size or make the power button of the QL-720NW blink red.

Any idea? This is running on Ubuntu 16.04.


回答1:


This probably does not answer your question. Furthermore, you may not even own a Brother printer anymore... I found this post because printing to my QL-700 from Libreoffice made me see red blinking lights all over. Scream! Finally I figured out that setting Only use paper size from printer settings ON in the print dialog fixed my problems. And of course, I then set the size I wanted in the print dialog Properties Option.

However it is obvious to me red blinking lights mean your paper size is incorrect, some way or other. My guess is that lpr is ignoring your parameters for some reason.



来源:https://stackoverflow.com/questions/42248939/brother-ql-720nw-specifying-media-size-seems-ignored

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!