Diff for /wikisrc/users/jruoho/clp-315w.mdwn between versions 1.9 and 1.10

version 1.9, 2011/06/13 12:00:05 version 1.10, 2011/06/13 12:07:20
Line 25  sources and compile: Line 25  sources and compile:
   
         $ cd /tmp          $ cd /tmp
         $ ftp http://foo2zjs.rkkda.com/foo2zjs.tar.gz          $ ftp http://foo2zjs.rkkda.com/foo2zjs.tar.gz
           # tar xvfz foo2zjs.tar.gz
         $ cd foo2zjs          $ cd foo2zjs
         $ gmake          $ gmake
   
 If you have problems with the compilation, check the `Makefile` for odd  If you have problems with the compilation, check the `Makefile` for odd
 `CFLAGS` possibly not yet supported by the NetBSD's [[!template id=man  `CFLAGS` possibly not yet supported by the NetBSD's [[!template id=man
 name="cc" section="1"]].  After having the sources successfully compiled, I  name="cc" section="1"]].  After having the sources successfully compiled,
 decided to organize the files to `/usr/local`.  From the compiled sources  the required files were organized to `/usr/local`. From the compiled
 only the following are required:  sources only the following are required:
   
           # mkdir -p /usr/local/bin
   
         # cp foo2qpdl /usr/local/bin          # cp foo2qpdl /usr/local/bin
         # cp foo2qpdl-wrapper /usr/local/bin          # cp foo2qpdl-wrapper /usr/local/bin
Line 45  Note the permissions: Line 48  Note the permissions:
         # chown root:wheel /usr/local/bin/foo*          # chown root:wheel /usr/local/bin/foo*
         # chmod 0555 /usr/local/bin/foo*          # chmod 0555 /usr/local/bin/foo*
   
         # chown root:wheel /usr/local/share/*  
         # chmod 0444 /usr/local/share/samsung*  
   
 I used the following as the [PostScript printer  I used the following as the [PostScript printer
 description](http://en.wikipedia.org/wiki/PostScript_Printer_Description)  description](http://en.wikipedia.org/wiki/PostScript_Printer_Description)
 (PPD) file. In order to avoid wasting the color toner cartridges, I used two  (PPD) file. In order to avoid wasting the color toner cartridges, two
 separate files for monochrome and color setup:  separate files for monochrome and color setup were used:
   
           # mkdir -p /usr/local/share
   
         # cd /tmp/foo2zjs/PPD          # cd /tmp/foo2zjs/PPD
         # cp Samsung-CLP-310.ppd /usr/local/share/samsung-mono.ppd          # cp Samsung-CLP-310.ppd /usr/local/share/samsung-mono.ppd
Line 107  were required for the [[!template id=man Line 109  were required for the [[!template id=man
                 :if=/usr/pkg/bin/foomatic-rip:\                  :if=/usr/pkg/bin/foomatic-rip:\
                 :mx#0:                  :mx#0:
   
   The clients can access the `print.lan` host by using:
   
           # We have a CNAME record for the printer host inside LAN.
           #
           lp|rp|remote printer:\
                   :lp=:\
                   :rp=lp:\
                   :rm=print.lan:\
                   :sd=/var/spool/output/lpd:\
                   :lf=/var/log/lpd-errs:
   
   
 Finally, enable [[!template id=man name="lpd" section="8"]] in  Finally, enable [[!template id=man name="lpd" section="8"]] in
 [[!template id=man name="rc.conf" section="5"]]:  [[!template id=man name="rc.conf" section="5"]]:
   
         lpd=YES          lpd=YES
         lpd_flags="-r -n 2"          lpd_flags="-r -n 2"
   
 TBD.  The output quality is relatively good. There are no visible differences
   compared to the output with Windows and Samsung's own drivers.

Removed from v.1.9  
changed lines
  Added in v.1.10


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