Brother QL-720NW specifying media size seems ignor

2019-06-13 16:14发布

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条回答
乱世女痞
2楼-- · 2019-06-13 16:39

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.

查看更多
登录 后发表回答