Gentoo Wiki


Have been looking for this solution for a LONG time because I don't want to use Samba. Just want Windows to be a pure cups client.


Server setup

Installing CUPS

emerge it

# USE='-samba' emerge cups -av

make it start at boot and run it now

# rc-update add cupsd default
# /etc/init.d/cupsd start

Installing your printer on the linux server

This depends on your specific printer model, but mostly consists from visiting http://localhost:631 using your web browser and setting it up using the add printer wizard. Read your printer's documentation for more information. could also be useful.

CUPS server setup for network use

If your clients have IP's in the range, modify /etc/cups/cupsd.conf and add "Allow 192.168.1.*" in the <Location /> section. Adapt this line for your IP addresses, or add more lines like this if necessary.

Note: For me, printing from windows would fail without any error message until I uncommented the following line in /etc/cups/mime.convs:
application/octet-stream       application/vnd.cups-raw        0       -

Restart CUPS daemon:

# /etc/init.d/cupsd restart

Windows Client setup

Enjoy your printer!


Retrieved from ""

Last modified: Sat, 23 Aug 2008 14:15:00 +0000 Hits: 15,107