当我尝试打印任何文件时,我收到
$ tail -f /var/log/cups/error_log
[Client 396] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/M2070) from localhost
$ lpstat -tdo
scheduler is running
system default destination: M2070
device for M2070: usb://Samsung/M2070%20Series?serial=ZF44B8KJCB00TWP&interface=1
M2070 accepting requests since Mon 29 Apr 2019 01:49:02 CEST
printer M2070 is idle. enabled since Mon 29 Apr 2019 01:49:02 CEST
system default destination: M2070
$ sudo grep -rn pdf .
./cups-browsed.conf:264:# BrowseFilter pdl postscript|pcl|pdf
./mime.types:69:application/pdf pdf regex(0,^[\n\r]*%PDF)
./mime.types:149:application/vnd.cups-pdf
$ lsusb | grep Samsung
Bus 001 Device 008: ID 04e8:3469 Samsung Electronics Co., Ltd
$ lpr test #didn't start printing
$ lp -d M2070 -oraw test #started printing, but printed only half of the last line
request id is M2070-12 (1 file(s))
在http://本地主机:631/我可以看到 CUPS 2.2.7 已安装。
我该如何修复它?