Solved Client-only cups configuration on a FreeBSD desktop

Hello,

I'd like to connect my FreeBSD desktop to a remote CUPS server but I'm not having much luck doing so.

Lots of e-ink has been spent on setting up CUPS on FreeBSD and I'm sure it works great as a server once the howtos are followed.

My query concerns a slightly different matter.

I'm running FreeBSD as a desktop with basic MATE environment, Firefox, Thunderbird and Libreoffice. I have installed this software from ports and enabled CUPS in make.conf by setting
Code:
OPTIONS_SET="CUPS"
QT4_OPTIONS="CUPS QGTKSTYLE"
I have rebuilt the entire GTK and QT ecosystems and however I prod and poke the packages and ports, they either report libcups as dependency or cups as capability which I think is a good sign.

I am not running cupsd locally and I do not have a need to do so as the network CUPS server provides full support for hundred or so printers on the campus, together with managing the myriad of PPDs and proprietary drivers. It's someone else's problem and they're doing a great job with it.

I would like to use that remote cups server and to do that I followed the FreeBSD manual and created client.conf to containing
Code:
ServerName my.print.server.example.com
and placed it in {,/usr/local}/etc/cups/ and (just to be sure) in ~/.cups/.

The expected result of all of the above is opening a MATE/KDE4 application, or Firefox, or Thunderbird, selecting File->Print and having all the printers that are set up on the remote server ready and available for my printing pleasure.

The same configuration seems to work on a handful of GNU boxes around. They do not have a cups server installed but only the cups-client and correct client.conf. Network settings aren't an issue as this is the same machine, now running FreeBSD.

I would expect this to be sufficient. I first tried the pkg route and installed the whole desktop with binary packages without success. Then nuked and started from scratch with ports built with above make flags. Both times with the same result.

I cannot make the FreeBSD desktop see any of the printers exported by the central cups server. I've exhausted my (minimal) BSD troubleshooting skills and would like to ask for any suggestions or pointers that could make this work.

Alternatively, an information that this cannot possibly work on FreeBSD for one reason or another would also be appreciated.

Regards,
--
grok

(edit: formatting)
 
FreeBSD ships with CUPS newer than version 1.6.

The correct way to specify the ServerName directive in /etc/cups/client.conf if the upstream server version is < 1.6 is:
Code:
ServerName my.server.example.com/version=1.1
Marking as solved.
 
Back
Top