From 92076edd36584ba6df9d0458ea6a4b9df2b3bd1a Mon Sep 17 00:00:00 2001 From: Ilia Sotnikov Date: Wed, 6 May 2009 20:37:48 +0300 Subject: [PATCH] * HP5590: - Updated the list of supported devices (HP 5500C which is similar to 4570C, 5500C which is similar to 4500C) - only strings/comments, no code was changed - Updated backend version - Updated man page --- backend/hp5590.c | 8 +++++--- backend/hp5590_cmds.c | 7 ++++--- backend/hp5590_cmds.h | 3 ++- backend/hp5590_low.c | 3 ++- backend/hp5590_low.h | 3 ++- doc/sane-hp5590.man | 11 ++++++++--- 6 files changed, 23 insertions(+), 12 deletions(-) diff --git a/backend/hp5590.c b/backend/hp5590.c index ab807475c..f9d58c2ed 100644 --- a/backend/hp5590.c +++ b/backend/hp5590.c @@ -39,7 +39,8 @@ whether to permit this exception to apply to your modifications. If you do not wish that, delete this exception notice. - This file is part of a SANE backend for HP 4570/5550/5590/7650 Scanners + This file is part of a SANE backend for + HP ScanJet 4500C/4570C/5500C/5550C/5590/7650 Scanners */ #include "sane/config.h" @@ -72,7 +73,7 @@ } /* #define HAS_WORKING_COLOR_48 */ -#define BUILD 4 +#define BUILD 5 #define USB_TIMEOUT 30 * 1000 static SANE_Word @@ -318,7 +319,8 @@ sane_init (SANE_Int * version_code, SANE_Auth_Callback __sane_unused__ authorize DBG_INIT(); - DBG (1, "SANE backed for HP 4570/5550/5590/7650 %u.%u.%u\n", SANE_CURRENT_MAJOR, V_MINOR, BUILD); + DBG (1, "SANE backed for HP ScanJet 4500C/4570C/5500C/5550C/5590/7650 %u.%u.%u\n", + SANE_CURRENT_MAJOR, V_MINOR, BUILD); DBG (1, "(c) Ilia Sotnikov \n"); if (version_code) diff --git a/backend/hp5590_cmds.c b/backend/hp5590_cmds.c index 2521e7e4a..ef8c4bafd 100644 --- a/backend/hp5590_cmds.c +++ b/backend/hp5590_cmds.c @@ -39,7 +39,8 @@ whether to permit this exception to apply to your modifications. If you do not wish that, delete this exception notice. - This file is part of a SANE backend for HP 4570/5550/5590/7650 Scanners + This file is part of a SANE backend for + HP ScanJet 4500C/4570C/5500C/5550C/5590/7650 Scanners */ #include "sane/config.h" @@ -72,12 +73,12 @@ hp5590_models[] = { { SCANNER_HP4570, 0x03f0, 0x1305, "SILITEKIElwood", - "4570", "Workgroup scanner" + "4570C/5500C", "Workgroup scanner" }, { SCANNER_HP5550, 0x03f0, 0x1205, "SILITEKIPenguin", - "5550", "Workgroup scanner" + "4500C/5550C", "Workgroup scanner" }, { SCANNER_HP5590, diff --git a/backend/hp5590_cmds.h b/backend/hp5590_cmds.h index 131f98e27..9dbede54e 100644 --- a/backend/hp5590_cmds.h +++ b/backend/hp5590_cmds.h @@ -39,7 +39,8 @@ whether to permit this exception to apply to your modifications. If you do not wish that, delete this exception notice. - This file is part of a SANE backend for HP 4570/5550/5590/7650 Scanners + This file is part of a SANE backend for + HP ScanJet 4500C/4570C/5500C/5550C/5590/7650 Scanners */ #ifndef HP5590_H diff --git a/backend/hp5590_low.c b/backend/hp5590_low.c index 9bea84e57..b785d67e1 100644 --- a/backend/hp5590_low.c +++ b/backend/hp5590_low.c @@ -38,7 +38,8 @@ whether to permit this exception to apply to your modifications. If you do not wish that, delete this exception notice. - This file is part of a SANE backend for HP 4570/5550/5590/7650 Scanners + This file is part of a SANE backend for + HP ScanJet 4500C/4570C/5500C/5550C/5590/7650 Scanners */ #include "sane/config.h" diff --git a/backend/hp5590_low.h b/backend/hp5590_low.h index a9dad4b7d..b243bd242 100644 --- a/backend/hp5590_low.h +++ b/backend/hp5590_low.h @@ -38,7 +38,8 @@ whether to permit this exception to apply to your modifications. If you do not wish that, delete this exception notice. - This file is part of a SANE backend for HP 4570/5550/5590/7650 Scanners + This file is part of a SANE backend for + HP ScanJet 4500C/4570C/5500C/5550C/5590/7650 Scanners */ #ifndef HP5590_LOW_H diff --git a/doc/sane-hp5590.man b/doc/sane-hp5590.man index 571dbf638..2ccfcc59a 100644 --- a/doc/sane-hp5590.man +++ b/doc/sane-hp5590.man @@ -1,7 +1,8 @@ .TH sane\-hp5590 5 "13 Jul 2008" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy" .IX sane\-hp5590 .SH NAME -sane\-hp5590 \- SANE backend for Hewlett-Packard 5550/5590/7650 Workgroup/Document scanners +sane\-hp5590 \- SANE backend for +Hewlett-Packard 4500C/4570C/5500C/5550C/5590/7650 Workgroup/Document scanners .SH DESCRIPTION The .B sane\-hp5590 @@ -9,9 +10,13 @@ library implements a SANE (Scanner Access Now Easy) backend that provides access to the following Hewlett-Packard Workgroup/Document scanners: .PP .RS -ScanJet 4570 +ScanJet 4500C .br -ScanJet 5550 +ScanJet 4570C +.br +ScanJet 5500C +.br +ScanJet 5550C .br ScanJet 5590 .br