dell1600n-net-scan
What is dell1600n-net-scan?
dell1600n-net-scan is an open source driver for network scanning using a Dell 1600n
Printer/Scanner/Fax/Copier. Experimental support is also provided for the Dell 1815dn,
Ricoh FX200, Xerox Phaser 6110 and Samsung CLX-2160N, CLX-3160N and SCX-4720FN.
It is implemented as a perl script. This means that it should be cross-platform. It has been used under various operating systems: Linux (Debian, Red Hat and Fedora Core), FreeBSD, Windows (NT4 and XP with cygwin), Irix 5.3 and Mac OS X (10.4.5 and Lion/10.7.2), and on various platforms: Intel, R4600 MIPS, AMD 64 and Powerbook G4. Please let me know if you run it on another OS or architecture.
Features
- TIFF and JPEG network scanning using a Dell 1600n/1815dn/Ricoh FX200/Xerox Phaser 6110/Samsung CLX-2160N MFP.
- PDF scanning support via an external program (eg: ImageMagick convert)
Dell 1815dn
I have added support for the Dell 1815dn model, however I do not have one of these scanners and therefore have not been able
to test this a great deal. All feedback would be much appreciated.
Note that Dell themselves provide a proprietory SANE backend for linux
which can be found at
http://ftp.us.dell.com/printer/Dell1815dn_Linux_DriverA02.tar.gz
Ricoh FX200
A tweak to support this model was kindly provided by Dani Gutiérrez. As I do not have one of these scanners testing has been limited.
Xerox Phaser 6110
Philip Roche kindly provided the patch to support this MFP. I don't have one of these scanners either!
Samsung CLX-2160N and CLX-3160N
Patch kindly provided by Laurent Ernes.
Samsung SCX-4720FN
Thanks to Christophe Danker for discovering the required tweaks.
News
- 2011-10-24 Update to Dell 1600[n] firmware URL
- Many thanks to Hari Manoharan for providing an update to the URL from which firmware upgrades for older 1600/1600n models may be
obtained so as to support network scanning
- 2010-09-19 Version 1.14 released.
- Explicitly import "usleep" to avoid "Undefined subroutine &main::usleep" errors.
- 2010-05-07 An alternative....
- Laurent Ernes (author of the initial Samsung support code) reports that the Samsung-provided win32 driver can be used under Wine:
"I recently installed the new release of Ubuntu (10.4), and was about to re-install the perl script for scanning.
It occurred that I gave a try at the Samsung's application for Windows, running on Wine.
It just had to install their NetworkScan.exe application (and only that one, no driver whatsoever), using the
PlayOnLinux framework (that I installed from the standard repository).
Now, all I have to do is to start the NetworkScan application, configure it once to setup the network connection to my
scanner, and close the application.
A small icon remains in the tray (just as in Windows) and I can start scanning."
- 2010-01-24 Version 1.13 released.
- Samsung SCX-4720FN support (--scx4720fn) added thanks to the work of Christophe Danker.
- 2009-12-15The script is reported to work with the Samsung CLX-3160N (using the --clx2160n mode)
- Thanks to Dave Healey for discovering this.
- 2008-05-12 Version 1.12 released:
- Fix for ActiveState perl on WinXP. Thanks to dreamss for reporting this.
- 2008-03-14 Version 1.11 released:
- Tweaks to resolution and positioning params for the Samsung CLX-2160N (courtesy of Laurent Ernes).
- 2008-03-08 Version 1.10 released:
- Added support for Samsung CLX-2160N courtesy of Laurent Ernes. (Thanks also to Philip Roche for correctly
guessing the Samsung protocol albeit we had no way to test at the time.)
- 2008-02-11 Version 1.9 released:
- Non-alphanumeric values are stripped from the default registration name. Thanks to Peter Jakab for spotting this.
- 2007-11-17 Version 1.8 released:
- Added support for Xerox Phaser 6110 courtesy of Philip Roche.
- 2007-07-03
- In their infinite wisdom my ISP seems to have blocked files with a .pl suffix (and .gz). Thanks Demon.
Hence I have appended a .txt suffix to the downloadable script which you might like to remove after downloading.
Thanks to Richard Stanford for pointing this out.
- 2007-02-13 Version 1.7 released:
- Added experimental support for Ricoh FX200. Thanks to Dani Gutiérrez for the patch.
- 2007-01-02 Version 1.6 released:
- --1815dn mode now believed to be working. Many thanks to Michael Kuron and Johannes Jabornig.
- 2006-12-22 Version 1.5 released:
- Added experimental support for Dell 1815dn. Use the --1815dn flag (or modify the $main::model setting)
in order to switch into this mode. Thanks to Michael Kuron for help (and many test scans!).
- 2006-07-15 If you enjoyed this product...
- I have added the dell1600n_net backend to the
SANE Project. You'll need backends
version 1.0.18 and it should "just work".
- 2006-01-29 Version 1.4 released:
- Added --broadcast to allow --find to discover scanners on
networks other than the default. Thanks to Jacob DeGlopper.
- 2005-12-18 Version 1.3 released:
- Added --format and --resolution options to specify
default scanning preferences. Thanks to Rainer Brosi.
- Added --bind option to bind to a specific network interface.
- Modified --find option to use UDP broadcast. --win32
now defunct (and removed).
- Added --option gimp option to send scanned images to The GIMP.
- 2005-10-23 Version 1.2 released:
- Parameter changes, eg: --multi-session instead of --multi-doc.
(Legacy usage will still work though).
- Changed "convert" pdf conversion to specify -compress zip.
Apparently Adobe Acrobat versions <3 don't support this
compression. If this is a problem for you then edit
%main::pdfConvertCmd.
- 2005-10-11 Version 1.1 released:
- The --listen option now re-registers with the scanner every
60 seconds (you can
tune the $main::scanWaitLoopTimeoutSec if you have a preference). Thanks
to Clifford Stein for his help with this.
- 2005-10-07 Version 1.0 released:
- The script now supports all the formats that the scanner does so
it's as good as a time as any to call it 1.0...
- Added PDF support via an external program (ImageMagick "convert", by default)
- Added a generic post-processing framework. If this appeals to you then look
for the "tgz" example in the script (see $main::options{"tgz"}).
- 2005-09-26 Version 0.3 released:
- Added --email option whereby scanned files are processed by the command
specified by the %main::emailCmd variable.
- Bugfix affecting perl 5.8.0 on Red Hat 9 whereby the file output
was erroneously unicode encoded. Thanks to Phillippe Welsh for the
help in spotting and resolving this.
- 2005-08-04 If your Dell 1600n firmware does not support
network scanning you can download a firmware upgrade from
http://support.dell.com/.
My Dell 1600n worked out of the box so I have not tried this.
Thanks to Jan Schmidt for this link.
- 2005-07-10 Version 0.2 released:
- Removed dependence on IO::Socket::Multicast and Data::HexDump.
- Bugfix in TCP/IP connection to printer.
- Workarounds for Win32 (tested under cygwin).
- Endian issues should now be resolved.
- 2005-06-16 Version 0.1 released.
Dependencies
dell1600n-net-scan no longer depends on any non-standard perl modules
but...
in order to work out of the box you'll need "convert" (for PDF conversion) and
"mutt" (for email) installed. If are you missing either of these but have some equivalent
then have a look around the global variables near the start of the script (eg:
%main::emailCmd and %main::pdfConvertCmd). Hopefully all will become
clear.
Download
dell1600n-net-scan can be downloaded here. You might like to remove
the superfluous .txt suffix (although the perl interpreter won't mind one way or the other).
Usage
Download the script to a convenient location. Run with no arguments
for usage like:
jon@jon:~$ ~/code/dell1600n-net-scan/dell1600n-net-scan.pl
Usage: /home/jon/code/dell1600n-net-scan/dell1600n-net-scan.pl <options>
Main Options:
--help : Show this help
--find : Discover Dell 1600n/1815dn using network broadcast
--listen <p> : Register and listen for requests from Dell 1600n/1815dn <p>
Sub Options:
--1600n : Use Dell 1600n-compatible protocol
--1815dn : Use Dell 1815dn-compatible protocol
--fx200 : Use Ricoh FX200-compatible protocol
--6110mfp : Use Xerox Phaser 6110MFP-compatible protocol
--clx2160n : Use Samsung CLX-2160N-compatible protocol
--scx4720fn : Use Samsung SCX-4720FN-compatible protocol
--scan-dir <d> : Scanned images will be scanned to this directory
--scan-prefix <p> : Scan filenames will be prefixed with <p>
--debug : Print lots of debug output
--email <a> : Email files to address <a> (requires $main::emailCmd to be set)
--name <n> : Override client name (appears in scanner display)
--single-session : Exit after first scan session
--multi-session : Listen for scan documents until killed
--force-pdf : Convert all scans to PDF (requires $main::pdfConvertCmd to be set)
--bind <i> : Bind to local IP address <i>
--broadcast <i> : Broadcast address (default: 255.255.255.255) used by --find.
Dell 1600n-specific Options:
--format <f> : Preferred scan format (tiff, pdf or jpeg)
--resolution <dpi>: Preferred resolution (100/200/300 for tiff/pdf, 200 for jpeg)
Dell 1815dn-specific Options:
--instance-id <id>: Unique instance id (in case of uid clash)
Other Options:
--option <o> : Select option <o>. The following are available:
gimp = Open scanned files with the GIMP
multipage-tiff = Create multipage tiff document
pdf = Convert all scans to PDF format
tgz = Write scanned files to a tgz archive
dell1600n-net-scan version 1.14 ($Id: dell1600n-net-scan.pl,v 1.64 2010-09-19 16:19:33 jon Exp $)
This software is open source. Feel free to copy and distribute as
you like. If you use it as the basis of other software then it would
be polite to credit me. If this software is useful to you then feel
free to send a nice postcard from wherever you are to
Jon Chambers, 30 Stephenson Rd, London W7 1NW, UK.
This program is provided in the hope that it will be useful. It comes
with no warranty. USE AT YOUR OWN RISK.
Jon Chambers (jon@jon.demon.co.uk), 2007-11-17
Quick Start
Assuming that your Dell 1600n's network address is myprinter then
typical usage would be:
Start driver script like: dell1600n-net-scan.pl --listen myprinter
Walk to the printer and start a scan by pressing "Start Scan" button and
following the instructions.
Scanned images are written to the current directory unless the
--scan-dir option is used to specify otherwise.
Disclaimer
This program is provided in the hope that it will be useful. It comes
with no warranty. USE AT YOUR OWN RISK.
Home