我正在尝试完成在终端中安装 Brother QL-1060N 打印机的最后一步。该命令在以下情况下运行良好Ubuntu 18.04
:
lpr -P QL -1060N -o raw pdt5030a.bin
据man
lpr
Ubuntu Studio 20.04。当我执行上述命令时,输出是
usage: lpr [-cdfghlmnpqrstv] [-#num] [-1234 font] [-C class] [-i [numcols]]
[-J job] [-Pprinter] [-T title] [-U user] [-wnum] [name ...]
简单地删除-o raw
会给我错误
lpr: QL-1060N: unknown printer
我还收到了未知打印机当我尝试时出错
lpr -P "QL-1060N" pdt5030a.bin
我TAB
用过Ubuntu Studio 20.04会告诉我可用的选项:
ENVY_Photo_7800 ENVY_Photo_7800_fax hp_LaserJet_1012 QL-1060N QL-1060N-2
和QL-1060Nsudo nano /etc/cups/printers.conf
看起来跟我检查空格时做的一样。没有空格。
我不明白我应该给出什么语法。我指的“自述”文件包含在CUPSwrapper 打印机驱动程序(deb 包)
的输出lpstat -t
是
system default destination: QL-1060N-2
device for ENVY_Photo_7800: hp:/net/ENVY_Photo_7800_series?ip=10.1.1.19
device for ENVY_Photo_7800_fax: hpfax:/net/ENVY_Photo_7800_series?ip=10.1.1.19
device for hp_LaserJet_1012: hp:/net/hp_LaserJet_1012?ip=10.1.1.15
device for QL-1060N: socket://10.1.1.14
device for QL-1060N-2: usb://Brother/QL-1060N?serial=C9G224418
ENVY_Photo_7800 accepting requests since Tue 21 Jul 2020 07:17:42 PM
ENVY_Photo_7800_fax accepting requests since Tue 21 Jul 2020 07:16:26 PM
hp_LaserJet_1012 accepting requests since Fri 21 Aug 2020 08:09:08 PM
QL-1060N accepting requests since Mon 24 Aug 2020 04:35:01 PM
QL-1060N-2 accepting requests since Mon 24 Aug 2020 12:48:37 AM
printer ENVY_Photo_7800 is idle. enabled since Tue 21 Jul 2020 07:17:42 PM
printer ENVY_Photo_7800_fax is idle. enabled since Tue 21 Jul 2020 07:16:26 PM
printer hp_LaserJet_1012 is idle. enabled since Fri 21 Aug 2020 08:09:08 PM
printer QL-1060N is idle. enabled since Mon 24 Aug 2020 04:35:01 PM
printer QL-1060N-2 is idle. enabled since Mon 24 Aug 2020 12:48:37 AM