突然之间,我的打印作业不再是网络打印机的“处理”状态。
当我平我的打印机IP,我得到一个响应,所以网络连接是可用的。TCP端口也是开放的(参见下面)。
$ lpstat -l
RICOH-Aficio-SP-3510DN-54 bram 102400 Tue 31 May 2022 09:34:47 AM
Status: The printer may not exist or is unavailable at this time.
Alerts: job-printing
queued for RICOH-Aficio-SP-3510DN两天前打印机运转良好。我开了打印机和电脑的电源。
~$ sudo /usr/lib/cups/backend/dnssd
DEBUG: Querying "RICOH\032Aficio\032SP\0323510DN\032\04075a879\041._ipp._tcp.local"...
DEBUG: Querying "RICOH\032Aficio\032SP\0323510DN\032\04075a879\041._pdl-datastream._tcp.local"...
DEBUG: Querying "RICOH\032Aficio\032SP\0323510DN\032\04075a879\041._printer._tcp.local"...
DEBUG: sent=0, count=3
DEBUG2: query_callback(browser=0x5561e7b64290, interfaceIndex=2, protocol=1, event=0, fullName="RICOH\032Aficio\032SP\0323510DN\032\04075a879\041._ipp._tcp.local", rrclass=1, rrtype=16, rdata=0x5561e7b64958, rdlen=291, flags=5, context=0x5561e7b63550)
DEBUG2: query_callback: "txtvers=1".
DEBUG2: query_callback: "rp=ipp/port1".
DEBUG2: query_callback: "note=local.".
DEBUG2: query_callback: "qtotal=1".
DEBUG2: query_callback: "priority=50".
DEBUG2: query_callback: "ty=RICOH Aficio SP 3510DN (75a879)".
DEBUG2: query_callback: "product=(RICOH Aficio SP 3510DN)".
DEBUG2: query_callback: "pdl=application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,text/plain".
DEBUG2: query_callback: "adminurl=http://3510DN-75A879.local".
DEBUG2: query_callback: "usb_MFG=RICOH".
DEBUG2: query_callback: "usb_MDL=RICOH Aficio SP 3510DN".
DEBUG2: query_callback(browser=0x5561e7b64290, interfaceIndex=2, protocol=0, event=0, fullName="RICOH\032Aficio\032SP\0323510DN\032\04075a879\041._ipp._tcp.local", rrclass=1, rrtype=16, rdata=0x5561e7b64958, rdlen=291, flags=5, context=0x5561e7b63550)
...注意:来自dnssd的上述信息重复了3次,不确定原因。
此外,nmap报告说,服务是可用的:
$ nmap 10.0.1.3
Starting Nmap 7.80 ( https://nmap.org ) at 2022-05-31 11:07 PDT
Nmap scan report for 10.0.1.3
Host is up (0.0011s latency).
Not shown: 995 closed ports
PORT STATE SERVICE
21/tcp open ftp
80/tcp open http
515/tcp open printer
631/tcp open ipp
9100/tcp open jetdirect
Nmap done: 1 IP address (1 host up) scanned in 3.30 secondsCUPS服务正在运行:
$ systemctl status cups
● cups.service - CUPS Scheduler
Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2022-05-31 11:04:55 PDT; 21min ago
TriggeredBy: ● cups.path
● cups.socket
Docs: man:cupsd(8)
Main PID: 855 (cupsd)
Status: "Scheduler is running..."
Tasks: 10 (limit: 18807)
Memory: 65.5M
CPU: 22.756s
CGroup: /system.slice/cups.service
├─ 855 /usr/sbin/cupsd -l
├─ 901 RICOH-Aficio-SP-3510DN 54 bram cv_stolk.pdf 1 "HQwtrmrkShading=Shading20 Resolution=600dpi PageSize=Letter HQwtrmr>
├─ 902 ipp://10.0.1.3 54 bram cv_stolk.pdf 1 "HQwtrmrkShading=Shading20 Resolution=600dpi PageSize=Letter HQwtrmrkFontNam>
├─ 992 RICOH-Aficio-SP-3510DN 54 bram cv_stolk.pdf 1 "HQwtrmrkShading=Shading20 Resolution=600dpi PageSize=Letter HQwtrmr>
├─ 993 RICOH-Aficio-SP-3510DN 54 bram cv_stolk.pdf 1 "HQwtrmrkShading=Shading20 Resolution=600dpi PageSize=Letter HQwtrmr>
├─ 994 /bin/sh -e -c cat
├─ 995 cat
├─1831 /usr/lib/cups/notifier/dbus dbus:// ""
├─1832 /usr/lib/cups/notifier/dbus dbus:// ""
└─2027 /usr/lib/cups/notifier/dbus dbus:// ""
May 31 11:04:55 deca systemd[1]: Starting CUPS Scheduler...
May 31 11:04:55 deca systemd[1]: Started CUPS Scheduler.
May 31 11:09:31 deca hpfax[2807]: [2807]: error: Failed to create /var/spool/cups/tmp/.hplipOS: Ubuntu22.04LTS
内核: Linux 5.15.0-33-泛型
打印机:理光Aficio SP 3510DN
发布于 2022-05-31 19:52:31
自动检测到的打印机有一个带有.local的地址,将(不再)工作。
ipp://3510DN-75A879.local:631/ipp/port1当我添加打印机并显式设置IP地址时,我将再次获得一个工作打印机。
这一次,URI是:
socket://10.0.1.3:9100通过IP找到的打印机被称为"HP JetDirect“,不管这意味着什么。我的打印机不是惠普,而是理光。
Ubuntu中的打印机只是让人困惑。
https://askubuntu.com/questions/1411604
复制相似问题