Search:  
Gentoo Wiki

HOWTO_Cups_Win_No_Samba

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.

Contents

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. LinuxPrinting.org could also be useful.

CUPS server setup for network use

If your clients have IP's in the 192.168.1.0-255 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!

Credits

Retrieved from "http://www.gentoo-wiki.info/CUPS/Printserver_without_Samba"

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