I have a USB printer connected to Raspberry Pi. I also have a workstation with Linux.
I have installed CUPS on both Raspberry and workstation. I logged in to CUPS on Raspberry (https://192.168.100.16:631) and add a printer (it's name is 'pr3300'). I can print a test page from CUPS: https://192.168.100.16:631/printers/pr3300
Now I want to use this printer from workstation. So I need to add this printer to workstation's CUPS.
I log into local CUPS (https://127.0.0.1:631) go to Administration and push "Add Printer" button. I have to choose the network protocol from the list:
- AppSocket/HP JetDirect
- Internet Printing Protocol (https)
- Internet Printing Protocol (ipps)
- Backend Error Handler
- LPD/LPR Host or Printer
- Internet Printing Protocol (ipp)
- Internet Printing Protocol (http)
and on the next page I have to specify connection to the printer. I specify the following address: ipp://192.168.100.16/pr3300
On the next page I have to provide PPD file for my printer, give printer a name and finally I have a printer in printer's list.
But when I try to print a test page the print job fails with description "The printer configuration is incorrect or the printer no longer exists."
On the server in
/var/log/cups/error_log I see the following error:
D [22/May/2018:23:15:36 +0300] Get-Printer-Attributes ipp://192.168.100.16:631/pr3300 D [22/May/2018:23:15:36 +0300] Get-Printer-Attributes client-error-not-found: The printer or class does not exist. D [22/May/2018:23:15:36 +0300] [Client 23] Returning IPP client-error-not-found for Get-Printer-Attributes (ipp://192.168.100.16:631/pr3300) from 192.168.100.25
CUPS on server received my request, so it's running and it's not a firewall/connection problem. I guess the problem is that I have configured the shared printer wrongly on workstation CUPS. I have tried different formats of connection URL, but result is more or less the same.