are*_*tor 4 networking printing cups-lpd
在 Ubuntu PC 中,我通过 CUPS Web GUI 添加了网络打印机(它是 HP LaserJet Professional P1102),网址如下
http://my_host_name:631/printers/HP_LaserJet_Professional_P1102
Run Code Online (Sandbox Code Playgroud)
然后我将打印机添加到其他计算机(Windows 和 Mac 计算机),它们正确地检测到了它。但是,当我尝试使用三台计算机(包括 Ubuntu)中的一台将文档发送到打印机时,CUPS Web GUI 和 Ubuntu 打印机设置的属性窗口中均出现以下错误:
Unable to get printer status
Run Code Online (Sandbox Code Playgroud)
怎么解决呢?
小智 5
您已经通过 wifi 将打印机连接到 LAN,并将打印机连接到您的 Ubuntu 电脑。或者至少您的电脑检测到打印机。
连接对我不起作用的原因是因为我使用了http://printer_ip代替作为ipp://printer_ip连接 URI。
所以在我的 CUPS Web GUI 中,我现在看到类似这样的内容:
Description: Canon PIXUS MG3530
Location:
Driver: Canon PIXUS MG3530 - CUPS+Gutenprint v5.2.11 (color, 2-sided printing)
Connection: ipp://192.168.0.110
Defaults: job-sheets=none, none media=iso_a4_210x297mm sides=one-sided
希望这可以帮助。