File:  [NetBSD Developer Wiki] / wikisrc / users / jruoho / clp-315w.mdwn
Revision 1.7: download - view: text, annotated - select for diffs
Wed Jun 8 14:51:36 2011 UTC (7 years, 3 months ago) by jruoho
Branches: MAIN
CVS tags: HEAD
Try '`' for <code>.

    1: # Samsung CLP-315W on NetBSD
    2: 
    3: Samsung
    4: [CLP-315W](http://www.amazon.com/Samsung-CLP-315W-Color-Laser-Printer/dp/B001BXS45I)
    5: is a low-end color laser printer, featuring USB, Ethernet, and wireless
    6: access. It works on NetBSD. A brief HOWTO follows.
    7: 
    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.
   13: 
   14: The so-called
   15: [foomatic](http://www.linuxfoundation.org/collaborate/workgroups/openprinting/databasefoomatic)
   16: is a prerequisite. This is available from [[!template id=man name="pkgsrc"
   17: section="7"]]:
   18: 
   19: 	# cd /usr/pkgsrc/foomatic-filters
   20: 	# make install package clean
   21: 
   22: Samsung uses a special QPDL wire protocol, supported by
   23: [foo2qpdl](http://foo2qpdl.rkkda.com/). For installation, fetch the
   24: sources and compile:
   25: 
   26: 	$ cd /tmp
   27: 	$ ftp http://foo2zjs.rkkda.com/foo2zjs.tar.gz
   28: 	$ cd foo2zjs
   29: 	$ gmake
   30: 
   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"]].
   34: 
   35: I organized everything under `/usr/local`. From the compiled sources only
   36: the following are required:
   37: 
   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