Giải pháp là vào cài đặt, chung, cuộn xuống hết cỡ và nhấp vào trình chỉnh sửa cấu hình. Biến đổi print.always_print_silent đến sai
Tôi có một máy in Brother được kết nối bằng cáp usb với Raspberry Pi chạy Rasbian tiêu chuẩn và được chia sẻ với mạng gia đình cục bộ của tôi.
Từ máy tính Ubuntu của tôi, tôi có thể in từ trình soạn thảo, tôi có thể in một trang thử nghiệm, nó có vẻ hoạt động tốt.
Nhưng tôi đã mở một email trong Thunderbird và nhấp vào in. Một hộp thoại có thanh tiến trình xuất hiện, nhanh chóng đạt 100% và biến mất. Nhưng không có gì được in. Và hàng đợi máy in trống.
Ubuntu 20.04 được cập nhật
Ở định dạng in Thunderbird, vì một số lý do, máy in của tôi được liệt kê hai lần.
Tôi đã xóa máy in trong Ubuntu và cài đặt lại nó.
Máy in được đặt làm tiêu chuẩn
Trong trình chỉnh sửa cấu hình Thunderbird, tôi đặt lại print_printer
Tôi đã đổi tên addons.json trong thư mục hồ sơ của mình
đề xuất xin vui lòng
Chỉnh sửa
Máy in hiển thị trong cài đặt hệ thống của Ubuntu và Libreoffice, nhưng không hiển thị trong Thunderbird.
Tôi vừa làm theo các bước khắc phục sự cố này
https://wiki.ubuntu.com/DebuggingPrintingProblems#Network_printer
tôi không nhận được đầu ra từ $ /usr/lib/cups/phụ trợ/snmp, ngay cả khi tôi thêm IP vào raspberry pi.
Đây là đầu ra của tôi từ **Sudo /usr/lib/cups/backend/dnssd **
GỠ LỖI: Truy vấn "Brother\032DCP-7055\032\064\032hallonpaj._ipp._tcp.local"...
GỠ LỖI: Truy vấn "Brother\032DCP-7055\032\064\032hallonpaj._ipps._tcp.local"...
GỠ LỖI: Truy vấn "Brother\032DCP-7055\032\064\032hallonpaj._printer._tcp.local"...
GỠ LỖI: đã gửi=0, đếm=3
GỠ LỖI2: query_callback(browser=0x564634539ec0, interfaceIndex=2, giao thức=1, sự kiện=0, fullName="Brother\032DCP-7055\032\064\032hallonpaj._ipp._tcp.local", rrclass=1, rrtype=16, rdata=0x56463453b9d0, rdlen=414, flags=5, context=0x564634539180)
GỠ LỖI2: query_callback: "txtvers=1".
GỠ LỖI2: query_callback: "qtotal=1".
GỠ LỖI2: query_callback: "rp=printers/Brother-DCP-7055".
GỠ LỖI2: query_callback: "ty=Brother DCP-7055, sử dụng brlaser v4".
GỠ LỖI2: query_callback: "adminurl=https://hallonpaj.local.:631/printers/Brother-DCP-7055".
GỠ LỖI2: query_callback: "note=hallonpaj".
GỠ LỖI2: query_callback: "ưu tiên=0".
GỠ LỖI2: query_callback: "product=(DCP-7055)".
GỠ LỖI2: query_callback: "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf".
GỠ LỖI2: query_callback: "URF=DM3".
GỠ LỖI2: query_callback: "UUID=5b5ec5ce-346e-3d33-5833-b9b77a10683d".
GỠ LỖI2: query_callback: "TLS=1.2".
GỠ LỖI2: query_callback: "Bản sao = T".
GỠ LỖI2: query_callback: "trạng thái máy in=3".
GỠ LỖI2: query_callback: "máy in-type=0x1046".
GỠ LỖI2: query_callback(browser=0x564634539ec0, interfaceIndex=2, giao thức=0, sự kiện=0, fullName="Brother\032DCP-7055\032\064\032hallonpaj._ipp._tcp.local", rrclass=1, rrtype=16, rdata=0x56463453bd40, rdlen=414, flags=5, context=0x564634539180)
GỠ LỖI2: query_callback: "txtvers=1".
GỠ LỖI2: query_callback: "qtotal=1".
GỠ LỖI2: query_callback: "rp=printers/Brother-DCP-7055".
GỠ LỖI2: query_callback: "ty=Brother DCP-7055, sử dụng brlaser v4".
GỠ LỖI2: query_callback: "adminurl=https://hallonpaj.local.:631/printers/Brother-DCP-7055".
GỠ LỖI2: query_callback: "note=hallonpaj".
GỠ LỖI2: query_callback: "ưu tiên=0".
GỠ LỖI2: query_callback: "product=(DCP-7055)".
GỠ LỖI2: query_callback: "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf".
GỠ LỖI2: query_callback: "URF=DM3".
GỠ LỖI2: query_callback: "UUID=5b5ec5ce-346e-3d33-5833-b9b77a10683d".
GỠ LỖI2: query_callback: "TLS=1.2".
GỠ LỖI2: query_callback: "Bản sao = T".
GỠ LỖI2: query_callback: "trạng thái máy in=3".
GỠ LỖI2: query_callback: "máy in-type=0x1046".
GỠ LỖI2: query_callback(browser=0x564634539ec0, interfaceIndex=-1, giao thức=-1, sự kiện=2, fullName="Brother\032DCP-7055\032\064\032hallonpaj._ipp._tcp.local", rrclass=1, rrtype= 16, rdata=(nil), rdlen=0, flags=0, context=0x564634539180)
GỠ LỖI2: query_callback(browser=0x564634539680, interfaceIndex=2, giao thức=1, sự kiện=0, fullName="Brother\032DCP-7055\032\064\032hallonpaj._ipps._tcp.local", rrclass=1, rrtype=16, rdata=0x56463453bf50, rdlen=414, flags=5, context=0x564634539000)
GỠ LỖI2: query_callback: "txtvers=1".
GỠ LỖI2: query_callback: "qtotal=1".
GỠ LỖI2: query_callback: "rp=printers/Brother-DCP-7055".
GỠ LỖI2: query_callback: "ty=Brother DCP-7055, sử dụng brlaser v4".
GỠ LỖI2: query_callback: "adminurl=https://hallonpaj.local.:631/printers/Brother-DCP-7055".
GỠ LỖI2: query_callback: "note=hallonpaj".
GỠ LỖI2: query_callback: "ưu tiên=0".
GỠ LỖI2: query_callback: "product=(DCP-7055)".
GỠ LỖI2: query_callback: "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf".
GỠ LỖI2: query_callback: "URF=DM3".
GỠ LỖI2: query_callback: "UUID=5b5ec5ce-346e-3d33-5833-b9b77a10683d".
GỠ LỖI2: query_callback: "TLS=1.2".
GỠ LỖI2: query_callback: "Bản sao = T".
GỠ LỖI2: query_callback: "trạng thái máy in=3".
GỠ LỖI2: query_callback: "máy in-type=0x1046".
GỠ LỖI2: query_callback(browser=0x564634539680, interfaceIndex=2, giao thức=0, sự kiện=0, fullName="Brother\032DCP-7055\032\064\032hallonpaj._ipps._tcp.local", rrclass=1, rrtype=16, rdata=0x56463453c2e0, rdlen=414, flags=5, context=0x564634539000)
GỠ LỖI2: query_callback: "txtvers=1".
GỠ LỖI2: query_callback: "qtotal=1".
GỠ LỖI2: query_callback: "rp=printers/Brother-DCP-7055".
GỠ LỖI2: query_callback: "ty=Brother DCP-7055, sử dụng brlaser v4".
GỠ LỖI2: query_callback: "adminurl=https://hallonpaj.local.:631/printers/Brother-DCP-7055".
GỠ LỖI2: query_callback: "note=hallonpaj".
GỠ LỖI2: query_callback: "ưu tiên=0".
GỠ LỖI2: query_callback: "product=(DCP-7055)".
GỠ LỖI2: query_callback: "pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf".
GỠ LỖI2: query_callback: "URF=DM3".
GỠ LỖI2: query_callback: "UUID=5b5ec5ce-346e-3d33-5833-b9b77a10683d".
GỠ LỖI2: query_callback: "TLS=1.2".
GỠ LỖI2: query_callback: "Bản sao = T".
GỠ LỖI2: query_callback: "trạng thái máy in=3".
GỠ LỖI2: query_callback: "máy in-type=0x1046".
GỠ LỖI2: query_callback(browser=0x564634539680, interfaceIndex=-1, giao thức=-1, sự kiện=2, fullName="Brother\032DCP-7055\032\064\032hallonpaj._ipps._tcp.local", rrclass=1, rrtype= 16, rdata=(nil), rdlen=0, flags=0, context=0x564634539000)
GỠ LỖI2: query_callback(browser=0x56463453adc0, interfaceIndex=2, giao thức=1, sự kiện=0, fullName="Brother\032DCP-7055\032\064\032hallonpaj._printer._tcp.local", rrclass=1, rrtype=16, rdata=0x56463453ad24, rdlen=1, flags=5, context=0x564634539560)
GỠ LỖI2: query_callback(browser=0x56463453adc0, interfaceIndex=2, giao thức=0, sự kiện=0, fullName="Brother\032DCP-7055\032\064\032hallonpaj._printer._tcp.local", rrclass=1, rrtype=16, rdata=0x5646345390e4, rdlen=1, flags=5, context=0x564634539560)
GỠ LỖI2: query_callback(browser=0x56463453adc0, interfaceIndex=-1, giao thức=-1, sự kiện=2, fullName="Brother\032DCP-7055\032\064\032hallonpaj._printer._tcp.local", rrclass=1, rrtype= 16, rdata=(nil), rdlen=0, flags=0, context=0x564634539560)
mạng dnssd://Brother%20DCP-7055%20%40%20hallonpaj._ipp._tcp.local/cups?uuid=5b5ec5ce-346e-3d33-5833-b9b77a10683d "DCP-7055" "Anh DCP-7055 @ hallonpaj" " """
GỠ LỖI: đã gửi=3, đếm=3
GỠ LỖI: đã gửi=3, đếm=0
GỠ LỖI: đã gửi=3, đếm=0
GỠ LỖI: đã gửi=3, đếm=0
** $ lpinfo -v ** đưa ra
mạng được
ổ cắm mạng
tập tin cup-brf:/
nối tiếp nối tiếp:/dev/ttyS0?baud=115200
ipp mạng
ip mạng
mạng http
hp trực tiếp
mạng lpd
mạng https
hpfax trực tiếp
mạng dnssd://Brother%20DCP-7055%20%40%20hallonpaj._ipp._tcp.local/cups?uuid=5b5ec5ce-346e-3d33-5833-b9b77a10683d
[/MÃ SỐ]
** $ avahi-browse -a -v -t -r** mang lại (đã được khử trùng)
[CODE]Phiên bản máy chủ: avahi 0.7; Tên miền: ubuntucomputer.local
H Grän Prot Namn Typ Domän
+ enp3s0 IPv6 HALLONPAJ _device-info._tcp local
+ enp3s0 IPv4 HALLONPAJ _device-info._tcp local
+ enp3s0 IPv6 HALLONPAJ Mạng cục bộ Microsoft Windows
+ enp3s0 IPv4 HALLONPAJ Mạng cục bộ Microsoft Windows
+
= enp3s0 IPv6 HALLONPAJ Mạng cục bộ Microsoft Windows
tên máy chủ = [hallonpaj.local]
địa chỉ = [mờ]
cổng = [445]
văn bản = []
= enp3s0 IPv6 HALLONPAJ _device-info._tcp local
tên máy chủ = [hallonpaj.local]
địa chỉ = [mờ]
cổng = [0]
txt = ["model=MacSamba"]
+ enp3s0 IPv6 Brother DCP-7055 @ hallonpaj Máy in Internet cục bộ
+ enp3s0 IPv4 Brother DCP-7055 @ hallonpaj Máy in Internet cục bộ
+ enp3s0 IPv6 Brother DCP-7055 @ hallonpaj Secure Internet Printer cục bộ
+ enp3s0 IPv4 Brother DCP-7055 @ hallonpaj Secure Internet Printer cục bộ
= enp3s0 IPv4 HALLONPAJ _device-info._tcp local
tên máy chủ = [hallonpaj.local]
địa chỉ = [192.168.2.201]
cổng = [0]
txt = ["model=MacSamba"]
= enp3s0 IPv4 HALLONPAJ Mạng cục bộ Microsoft Windows
tên máy chủ = [hallonpaj.local]
địa chỉ = [192.168.2.201]
cổng = [445]
văn bản = []
+ enp3s0 IPv6 Brother DCP-7055 @ hallonpaj Máy in UNIX cục bộ
+ enp3s0 IPv4 Brother DCP-7055 @ hallonpaj Máy in UNIX cục bộ
= enp3s0 IPv6 Brother DCP-7055 @ hallonpaj Máy in Internet cục bộ
tên máy chủ = [hallonpaj.local]
địa chỉ = [mờ]
cổng = [631]
txt = ["printer-type=0x1046" "printer-state=3" "Copies=T" "TLS=1.2" "UUID=5b5ec5ce-346e-3d33-5833-b9b77a10683d" "URF=DM3" "pdl=application/ octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(DCP-7055)" "priority=0" "note=hallonpaj" " adminurl=https://hallonpaj.local.:631/printers/Brother-DCP-7055" "ty=Brother DCP-7055, sử dụng blaser v4" "rp=printers/Brother-DCP-7055" "qtotal=1" " txtvers=1"]
= enp3s0 IPv4 Brother DCP-7055 @ hallonpaj Máy in Internet cục bộ
tên máy chủ = [hallonpaj.local]
địa chỉ = [192.168.2.201]
cổng = [631]
txt = ["printer-type=0x1046" "printer-state=3" "Copies=T" "TLS=1.2" "UUID=5b5ec5ce-346e-3d33-5833-b9b77a10683d" "URF=DM3" "pdl=application/ octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(DCP-7055)" "priority=0" "note=hallonpaj" " adminurl=https://hallonpaj.local.:631/printers/Brother-DCP-7055" "ty=Brother DCP-7055, sử dụng blaser v4" "rp=printers/Brother-DCP-7055" "qtotal=1" " txtvers=1"]
= enp3s0 IPv6 Brother DCP-7055 @ hallonpaj Máy in UNIX cục bộ
tên máy chủ = [hallonpaj.local]
địa chỉ = [mờ]
cổng = [0]
văn bản = []
= enp3s0 IPv6 Brother DCP-7055 @ hallonpaj Máy in Internet an toàn cục bộ
tên máy chủ = [hallonpaj.local]
địa chỉ = [mờ]
cổng = [631]
txt = ["printer-type=0x1046" "printer-state=3" "Copies=T" "TLS=1.2" "UUID=5b5ec5ce-346e-3d33-5833-b9b77a10683d" "URF=DM3" "pdl=application/ octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(DCP-7055)" "priority=0" "note=hallonpaj" " adminurl=https://hallonpaj.local.:631/printers/Brother-DCP-7055" "ty=Brother DCP-7055, sử dụng blaser v4" "rp=printers/Brother-DCP-7055" "qtotal=1" " txtvers=1"]
= enp3s0 IPv4 Brother DCP-7055 @ hallonpaj Máy in Internet an toàn cục bộ
tên máy chủ = [hallonpaj.local]
địa chỉ = [192.168.2.201]
cổng = [631]
txt = ["printer-type=0x1046" "printer-state=3" "Copies=T" "TLS=1.2" "UUID=5b5ec5ce-346e-3d33-5833-b9b77a10683d" "URF=DM3" "pdl=application/ octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(DCP-7055)" "priority=0" "note=hallonpaj" " adminurl=https://hallonpaj.local.:631/printers/Brother-DCP-7055" "ty=Brother DCP-7055, sử dụng blaser v4" "rp=printers/Brother-DCP-7055" "qtotal=1" " txtvers=1"]
= enp3s0 IPv4 Brother DCP-7055 @ hallonpaj Máy in UNIX cục bộ
tên máy chủ = [hallonpaj.local]
địa chỉ = [192.168.2.201]
cổng = [0]
văn bản = []
: Cachen är full
: Alla chỉ nu
ifconfig cho
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.202 netmask 255.255.255.0 phát sóng 192.168.2.255
inet6 fe80::90a0:823b:b945:7cc6 tiền tốlen 64 phạm vi 0x20<link>
ether a0:mờ:a0 txqueuelen 1000 (Ethernet)
Gói RX 3152486 byte 217421505 (217,4 MB)
Lỗi RX 0 rớt 2 tràn 0 khung hình 0
Gói TX 7047194 byte 10635176002 (10,6 GB)
Lỗi TX 0 bị rớt 0 tràn 0 sóng mang 0 va chạm 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 mặt nạ mạng 255.0.0.0
inet6 ::1 tiền tốlen 128 phạm vi 0x10<máy chủ>
vòng lặp txqueuelen 1000 (Local Loopback)
Gói RX 4495201 byte 10330087769 (10,3 GB)
Lỗi RX 0 bị rớt 0 tràn 0 khung hình 0
Gói TX 4495201 byte 10330087769 (10,3 GB)
Lỗi TX 0 bị rớt 0 tràn 0 sóng mang 0 va chạm 0
tuyến đường $ cho
Bảng định tuyến IP hạt nhân
Cổng đích Genmask Flag Metric Ref Sử dụng Iface
_gateway mặc định 0.0.0.0 UG 100 0 0 enp3s0
liên kết cục bộ 0.0.0.0 255.255.0.0 U 1000 0 0 enp3s0
192.168.2.0 0.0.0.0 255.255.255.0 U 100 0 0 enp3s0
Đây là một chút từ /var/log/cups/error_log ngay sau khi tôi nhấp vào in trong Thunderbird.
D [03/Oct/2021:21:18:25 +0200] CUPS-Get-Printers
D [03/Oct/2021:21:18:25 +0200] [Client 24] Trả lại IPP thành công-ok cho CUPS-Get-Printers (không có URI) từ máy chủ cục bộ.
D [03/Oct/2021:21:18:25 +0200] [Client 24] Nội dung-Độ dài: 931
D [03/Oct/2021:21:18:25 +0200] [Client 24]cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [03/Oct/2021:21:18:25 +0200] [Client 24] con->http=0x55f908898140
D [03/Oct/2021:21:18:25 +0200] [Client 24]cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=931, response=0x55f9088472d0(IPP_STATE_DATA), pipe_pid= 0, tệp = -1
D [03/Oct/2021:21:18:25 +0200] [Client 24] Viết phản hồi IPP, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [03/Oct/2021:21:18:25 +0200] [Client 24] bytes=0, http_state=0, data_remaining=931
D [03/Oct/2021:21:18:25 +0200] [Client 24] Xả bộ đệm ghi.
D [03/Oct/2021:21:18:25 +0200] [Client 24] Trạng thái mới là HTTP_STATE_WAITING
D [03/Oct/2021:21:18:25 +0200] [Client 24] Chờ yêu cầu.
D [03/Oct/2021:21:18:25 +0200]cupsdSetBusyState: newbusy="Tệp bẩn", busy="Ứng dụng khách đang hoạt động và tệp bẩn"
D [03/Oct/2021:21:18:25 +0200] [Client 24] HTTP_STATE_WAITING Đang đóng lỗi 32 (Đường ống bị hỏng)
D [03/Oct/2021:21:18:25 +0200] [Client 24] Đóng kết nối.
D [03/Oct/2021:21:18:25 +0200]cupsdSetBusyState: newbusy="Tệp bẩn", busy="Tệp bẩn"
Tôi [03/Oct/2021:21:18:26 +0200] Sắp hết hạn đăng ký...
Tôi [03/Oct/2021:21:18:55 +0200] Đang lưu gói đăng ký.conf...
D [03/Oct/2021:21:18:55 +0200]cupsdSetBusyState: newbusy="Không bận", bận="Tệp bẩn"
Tôi [03/Oct/2021:21:18:55 +0200] Sắp hết hạn đăng ký...
Trong http://127.0.0.1:631/ máy in được liệt kê có cùng tên như trong cài đặt Ubuntu. Tôi có thể in một trang thử nghiệm. Tôi có thể in từ tức là Libreoffice Calc. Nhưng không phải từ Thunderbird
Raspberry Pi 3 mà máy in được kết nối đang chạy Rasbian và được cập nhật.