Annotation of wikisrc/users/jruoho/clp-315w.mdwn, revision 1.6

1.1       jruoho      1: # Samsung CLP-315W on NetBSD
                      2: 
1.2       jruoho      3: Samsung
                      4: [CLP-315W](http://www.amazon.com/Samsung-CLP-315W-Color-Laser-Printer/dp/B001BXS45I)
1.3       jruoho      5: is a low-end color laser printer, featuring USB, Ethernet, and wireless
                      6: access. It works on NetBSD. A brief HOWTO follows.
                      7: 
1.5       jruoho      8: For initial configuration, I used a NetBSD host and standard [[!template
                      9: id=man name="dhcpd" section="8"]].  The printer provides its own HTTP server
                     10: from which all standard configuration options are available.  Also IEEE
                     11: 802.11 worked with a NetBSD router.  But unfortunately, a local host is
                     12: still required as the printer only speaks a non-standard format language.
1.4       jruoho     13: 
                     14: The so-called
                     15: [foomatic](http://www.linuxfoundation.org/collaborate/workgroups/openprinting/databasefoomatic)
1.5       jruoho     16: is a prerequisite. This is available from [[!template id=man name="pkgsrc"
1.4       jruoho     17: section="7"]]:
                     18: 
1.5       jruoho     19:        # cd /usr/pkgsrc/foomatic-filters
                     20:        # make install package clean
1.4       jruoho     21: 
1.3       jruoho     22: Samsung uses a special QPDL wire protocol, supported by
1.5       jruoho     23: [foo2qpdl](http://foo2qpdl.rkkda.com/). For installation, fetch the
                     24: sources and compile:
1.3       jruoho     25: 
1.6     ! jruoho     26:        $ cd /tmp
1.5       jruoho     27:        $ ftp http://foo2zjs.rkkda.com/foo2zjs.tar.gz
1.6     ! jruoho     28:        $ cd foo2zjs
1.5       jruoho     29:        $ gmake
1.4       jruoho     30: 
1.6     ! jruoho     31: If you have problems with the compilation, check the 'Makefile' for odd
        !            32: 'CFLAGS' possibly not yet supported by the NetBSD's [[!template
        !            33: id=man name="cc" section="1"]].
1.4       jruoho     34: 
1.6     ! jruoho     35: I organized everything under '/usr/local'. From the compiled sources only
        !            36: the following are required:
1.4       jruoho     37: 
1.6     ! jruoho     38:        # cp foo2qpdl /usr/local/bin
        !            39:        # cp foo2qpdl-wrapper /usr/local/bin
        !            40: 
        !            41:        # cp foo2zjs /usr/local/bin
        !            42:        # cp foo2zjs-pstops /usr/local/bin
        !            43: 
        !            44: Remember to adjust the permissions:
        !            45: 
        !            46:        # chown root:wheel /usr/local/bin/foo*
        !            47:        # chmod 0555 /usr/local/bin/foo*
        !            48: 
        !            49:        # chown root:wheel /usr/local/share/*
        !            50:        # chmod 0444 /usr/local/share/samsung*

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb