Need help with device URI

Doug Poland doug at polands.org
Wed May 9 09:23:30 PDT 2007


Hello,

I'm having a problem creating a device URI for a remote CUPS server.
As an overview, I have two FreeBSD servers, each with CUPS installed.
I want to print from one server to the other using CUPS.

Details:

ServerA (172.16.1.33):
# lpinfo -h localhost:631 -v
network socket
network socket://172.16.1.254
network http
network ipp
network lpd
direct parallel:/dev/lpt0

ServerB (172.16.1.42):
# lpinfo -h localhost:631 -v
network socket
network socket://172.16.1.254
network http
network ipp
network lpd
direct usb:/dev/ulpt0
direct usb:/dev/unlpt0
network smb

>From ServerB, I'd like to print to ServerA's parallel printer.  So I added a printer with lpadmin:
ServerB# lpadmin -p HPDJ882C -E -v ipp://172.16.1.33:631/ipp -m deskjet2.ppd

that worked, however, when I try to print a test page, I see this in the web-GUI:
"HPDJ882C "/usr/local/libexec/cups/backend/ipp failed"

and see this in ServerB's error_log:
D [09/May/2007:10:09:15 -0500] [Job 12] 1 files to send in job...
D [09/May/2007:10:09:15 -0500] [Job 12] Connected to 172.16.1.33:631 (IPv4)...
D [09/May/2007:10:09:15 -0500] [Job 12] Getting supported attributes...
E [09/May/2007:10:09:15 -0500] [Job 12] Destination printer does not exist!
E [09/May/2007:10:09:15 -0500] PID 3514 (/usr/local/libexec/cups/backend/ipp) stopped with status 4!
D [09/May/2007:10:09:15 -0500] [Job 12] File 0 is complete.
I [09/May/2007:10:09:15 -0500] [Job 12] Backend returned status 4 (stop printer)

And in ServerA's error_log:
D [09/May/2007:10:09:11 -0500] cupsdUpdateCUPSBrowse: Refused 135 bytes from 172.16.1.42
D [09/May/2007:10:09:15 -0500] cupsdAcceptClient: 8 from 172.16.1.42:631 (IPv4)
D [09/May/2007:10:09:15 -0500] cupsdReadClient: 8 POST /ipp HTTP/1.1
D [09/May/2007:10:09:15 -0500] cupsdAuthorize: No authentication data provided.
D [09/May/2007:10:09:15 -0500] Get-Printer-Attributes ipp://jericho.polands.org:631/ipp
D [09/May/2007:10:09:15 -0500] Get-Printer-Attributes client-error-not-found: The printer or class was not found.
D [09/May/2007:10:09:15 -0500] cupsdProcessIPPRequest: 8 status_code=406 (client-error-not-found)
D [09/May/2007:10:09:15 -0500] cupsdCloseClient: 8
D [09/May/2007:10:09:16 -0500] cupsdUpdateCUPSBrowse: Refused 135 bytes from 172.16.1.42

I've read the docs, man pages, and googled but nothing stands out.  I must be missing something simple...

Many thanks for your help....




More information about the cups mailing list