我正在嘗試完成在終端機中安裝 Brother QL-1060N 印表機的最後一步。該命令在以下情況下運作良好Ubuntu 18.04
:
lpr -P QL -1060N -o raw pdt5030a.bin
根據inman
沒有“-o”選項lpr
烏班圖工作室 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
這樣烏班圖工作室 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