[sane-devel] Epson perfection 4990
Fredag den 28. December 2007 skrev Alessandro Zummo: On Fri, 28 Dec 2007 09:18:49 +0100 Claus Boje claus at egehuset.dk wrote: Davs The epson perfection 4990 is working best with the epson2 driver. Maybe this should bee change on the Supported Devices pages. I never compiled a list of supported devices for the epson2 drive 'cos I supposed they were the ones from epson plus a few more. maybe it's time do to that, but I don't have reports for the whole range of devices. I don't think I have introduced incompatibilities but I can't be sure. If I remenber right, then the epson2 driver has not been out with a release yet, when it comes out you proberly will get some reports, I will keep an eye on the list. The only reason I found your driver was because I need some of the commands not in the epson driver and I started to write them my self but before I realy got started I found that you have done the job (thank you). The only error I found was a memory leak with (real) big images, the rest was some epson 4990 problems, and I think there will maybe be some with the others epson scanners, but I don't hope - I only have a 4990 to do test on, sorry for that. Best Claus
[sane-devel] Seeking advice on scanner purchase.
I have had my second break down of an HP scanner in three years so I have now decided to get a cheap, however, all the newer ones are almost all not supported according to SANE's list of supported scanners. I've looked at Canon's CanoScan LIDE 25 which was the cheapest I could find with a status of at least good. Are there any gotchas for this scanner that I should be aware of? -- Erik.
[sane-devel] is there a virtual scanner for image files?
On Fri, 28 Dec 2007 20:14:31 +0100 Peter Rap The application is Adobe Acrobat Pro (any volunteers for modifying it ? ;) ). The thing is Acrobat can process scanned books or brochures oops :) in a nice way (i.e automatically remove the middle shadow between the pages, auto-align rotated pages, do OCR and add text version of the scanned document to the .pdf file it creates, etc. ). My plan was to feed the image files to sane, then use a sane-to-twain bridge (which I didn't know! Yes, I am aware of the pnm back-end, but from the man page of sane and sane-pnm I learned close to nothing (not even how to use that back- end). Does the convert utility convert multi-page zipped tiffs to pnm file(s)? If not, which program can I use instead? you should use tiffsplit to split the files and then tifftopnm . the backend should be easy to use, try with scanimage --device 'pnm:0' --help the backend is not compiled by default, youll have to enable it in the makefile. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] Epson perfection 4990
On Sat, 29 Dec 2007 00:08:53 +0100 Claus Boje claus at egehuset.dk wrote: If I remenber right, then the epson2 driver has not been out with a release yet, when it comes out you proberly will get some reports, I will keep an eye on the list. The only reason I found your driver was because I need some of the commands not in the epson driver and I started to write them my self but before I realy got started I found that you have done the job (thank you). my pleasure :) The only error I found was a memory leak with (real) big images, the rest was some epson 4990 problems, and I think there will maybe be some with the others epson scanners, but I don't hope - I only have a 4990 to do test on, sorry for that. I will appreciate any tests with it, especially since we are near the .19 release. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] No result with canon LiDE 90
Hello, I have no result with LiDE 90. I take sane-backends CVS, and genesys in experimental branch. Modified genesys_devices.c as followed. scanimage -l gives me : device `genesys:libusb:001:019' is a Canon LiDE 90 flatbed scanner but scanimage -d genesys:libusb:001:019 toto.pnm did noting !! grrr Another question : is it possible to built only genesys backend (option in configure ???) because building all backend is very long. Thank you My genesys_devices.c : /** Setup table for various scanners using a Wolfson DAC */ static Genesys_Frontend Wolfson[] = { {{0x00, 0x03, 0x05, 0x11} , {0x00, 0x00, 0x00} , {0x80, 0x80, 0x80} , {0x02, 0x02, 0x02} , {0x00, 0x00, 0x00} } ,/* UMAX */ {{0x00, 0x03, 0x05, 0x03} , {0x00, 0x00, 0x00} , {0xc8, 0xc8, 0xc8} , {0x04, 0x04, 0x04} , {0x00, 0x00, 0x00} } ,/* ST12 */ {{0x00, 0x03, 0x05, 0x21} , {0x00, 0x00, 0x00} , {0xc8, 0xc8, 0xc8} , {0x06, 0x06, 0x06} , {0x00, 0x00, 0x00} } ,/* ST24 */ {{0x00, 0x03, 0x05, 0x12} , {0x00, 0x00, 0x00} , {0xc8, 0xc8, 0xc8} , {0x04, 0x04, 0x04} , {0x00, 0x00, 0x00} } ,/* MD6228/MD6471 */ {{0x00, 0x03, 0x05, 0x02} , {0x00, 0x00, 0x00} , {0xc0, 0xc0, 0xc0} , {0x07, 0x07, 0x07} , {0x00, 0x00, 0x00} } ,/* HP2400c */ {{0x00, 0x03, 0x04, 0x02} , {0x00, 0x00, 0x00} , {0xb0, 0xb0, 0xb0} , {0x04, 0x04, 0x04} , {0x00, 0x00, 0x00} } ,/* HP2300c */ {{0x00, 0x3d, 0x08, 0x00} , {0x00, 0x00, 0x00} , {0xe1, 0xe1, 0xe1} , {0x93, 0x93, 0x93} , {0x00, 0x19, 0x06} } ,/* CANONLIDE35 */ }; /** for setting up the sensor-specific settings: * Optical Resolution, number of black pixels, number of dummy pixels, * CCD_start_xoffset, and overall number of sensor pixels * registers 0x08-0x0b, 0x10-0x1d and 0x52-0x59 */ static Genesys_Sensor Sensor[] = { /* UMAX */ {1200, 48, 64, 0, 10800, 210, 230, {0x01, 0x03, 0x05, 0x07} , {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x05, 0x31, 0x2a, 0x00, 0x00, 0x00, 0x02} , {0x13, 0x17, 0x03, 0x07, 0x0b, 0x0f, 0x23, 0x00, 0xc1, 0x00, 0x00, 0x00, 0x00} , 1.0, 1.0, 1.0, NULL, NULL, NULL} , /* Plustek OpticPro S12/ST12 */ {600, 48, 85, 152, 5416, 210, 230, {0x02, 0x00, 0x06, 0x04} , {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2b, 0x08, 0x20, 0x2a, 0x00, 0x00, 0x0c, 0x03} , {0x0f, 0x13, 0x17, 0x03, 0x07, 0x0b, 0x83, 0x00, 0xc1, 0x00, 0x00, 0x00, 0x00} , 1.0, 1.0, 1.0, NULL, NULL, NULL} , /* Plustek OpticPro S24/ST24 */ {1200, 48, 64, 0, 10800, 210, 230, {0x0e, 0x0c, 0x00, 0x0c} , {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x33, 0x08, 0x31, 0x2a, 0x00, 0x00, 0x00, 0x02} , {0x17, 0x03, 0x07, 0x0b, 0x0f, 0x13, 0x03, 0x00, 0xc1, 0x00, 0x00, 0x00, 0x00} , 1.0, 1.0, 1.0, NULL, NULL, NULL} , /* MD6471 */ {1200, 48, 16, 0, 10872, 210, 200, {0x0d, 0x0f, 0x11, 0x13} , {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b, 0x0a, 0x30, 0x2a, 0x00, 0x00, 0x00, 0x03} , {0x0f, 0x13, 0x17, 0x03, 0x07, 0x0b, 0x23, 0x00, 0xc1, 0x00, 0x00, 0x00, 0x00} , 2.38, 2.35, 2.34, NULL, NULL, NULL} , /* HP2400c */ {1200, 48, 15, 0, 10872, 210, 200, {0x14, 0x15, 0x00, 0x00} , {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xbf, 0x08, 0x3f, 0x2a, 0x00, 0x00, 0x00, 0x02} , {0x0b, 0x0f, 0x13, 0x17, 0x03, 0x07, 0x63, 0x00, 0xc1, 0x00, 0x00, 0x00, 0x00} , 1.0, 1.0, 1.0, NULL, NULL, NULL} , /* HP2300c */ {600, 48, 20, 0, 5454, 210, 200, {0x16, 0x00, 0x01, 0x03} , {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xb7, 0x0a, 0x20, 0x2a, 0x6a, 0x8a, 0x00, 0x05} , {0x0f, 0x13, 0x17, 0x03, 0x07, 0x0b, 0x83, 0x00, 0xc1, 0x06, 0x0b, 0x10, 0x16} , 2.1, 2.1, 2.1, NULL, NULL, NULL} , /** for setting up the sensor-specific settings: * Optical Resolution, number of black pixels, number of dummy pixels, * CCD_start_xoffset, and overall number of sensor pixels * registers 0x08-0x0b, 0x10-0x1d and 0x52-0x59 */ /* CANOLIDE35 */ {2400, /*TODO: find a good reason for keeping all three following variables*/ 0, /*(black) 87 */ 0, /* (dummy) 87 */ 0, /* (startxoffset) */ 20800, /*sensor_pixels */ 210, 200, {0x00, 0x00, 0x00, 0x00}, /* {0x04, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x02, 0x00, 0x50, 0x00, 0x00, 0x00, 0x00 /* TODO(these do no harm, but may be neccessery for CCD) */ /* },*/ /* {0x06, 0x13, 0x55, 0x02, 0x34, 0x04, 0x00, 0x02, 0x00, 0x50, */
[sane-devel] is there a virtual scanner for image files?
Thanks for advice to all, I will try the pnm-backend way Also thanks to Gerard for pointing me to the unpaper utility. It is a nice peace of software. Have a happy New Year, Peter. On Dec 29, 2007, at 1:01 AM, Alessandro Zummo wrote: On Fri, 28 Dec 2007 20:14:31 +0100 Peter Rap The application is Adobe Acrobat Pro (any volunteers for modifying it ? ;) ). The thing is Acrobat can process scanned books or brochures oops :) in a nice way (i.e automatically remove the middle shadow between the pages, auto-align rotated pages, do OCR and add text version of the scanned document to the .pdf file it creates, etc. ). My plan was to feed the image files to sane, then use a sane-to-twain bridge (which I didn't know! Yes, I am aware of the pnm back-end, but from the man page of sane and sane-pnm I learned close to nothing (not even how to use that back- end). Does the convert utility convert multi-page zipped tiffs to pnm file(s)? If not, which program can I use instead? you should use tiffsplit to split the files and then tifftopnm . the backend should be easy to use, try with scanimage --device 'pnm:0' --help the backend is not compiled by default, youll have to enable it in the makefile. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it
[sane-devel] Formulardaten
=== == Neuer Eintrag === --- -- Formular: 'adddev' --- 1. Your email address: 'sebastian.hosche at web.de' 2. Manufacturer (e.g. Mustek): 'Canon' 3. Model name (e.g. ScanExpress 1200UB): 'CanoScan LiDE 90' 4. Bus type: 'USB' 5. Vendor id (e.g. 0x001): '0x04A9' 6. Product id (e.g. 0x0002): '0x1900' 7. Chipset (e.g. lm9831): 'GL842' 8. Comments (e.g. similar to Mustek 1234): 'bought December 2007 - newer Chipset then the existing LiDE 90 from the database' 9. Data (e.g. sane-find-scanner -v -v): 'device descriptor of 0x04a9/0x1900 at 006:004-04a9-1900-ff-ff (Canon CanoScan) bLength 18 bDescriptorType 1 bcdUSB2.00 bDeviceClass 255 bDeviceSubClass 255 bDeviceProtocol 255 bMaxPacketSize0 64 idVendor 0x04A9 idProduct 0x1900 bcdDevice 3.07 iManufacturer 1 (Canon) iProduct 2 (CanoScan) iSerialNumber 0 () bNumConfigurations1 configuration 0 bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 () bmAttributes 160 (Remote Wakeup) MaxPower 500 mA interface 0 altsetting 0 bLength9 bDescriptorType4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass255 bInterfaceSubClass 255 bInterfaceProtocol 255 iInterface 0 () endpoint 0 bLength 7 bDescriptorType 5 bEndpointAddress 0x81 (in 0x01) bmAttributes 2 (bulk) wMaxPacketSize512 bInterval 0 ms bRefresh 0 bSynchAddress 0 endpoint 1 bLength 7 bDescriptorType 5 bEndpointAddress 0x02 (out 0x02) bmAttributes 2 (bulk) wMaxPacketSize512 bInterval 0 ms bRefresh 0 bSynchAddress 0 endpoint 2 bLength 7 bDescriptorType 5 bEndpointAddress 0x83 (in 0x03) bmAttributes 3 (interrupt) wMaxPacketSize1 bInterval 8 ms bRefresh 0 bSynchAddress 0 trying to find out which USB chip is used checking for GT-6801 ... this is not a GT-6801 (bcdUSB = 0x200) checking for GT-6816 ... this is not a GT-6816 (bDeviceClass = 255, bInterfaceClass = 255) checking for GT-8911 ... this is not a GT-8911 (check 1, bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1017 ... this is not a MA-1017 (bDeviceClass = 255, bInterfaceClass = 255) checking for MA-1015 ... this is not a MA-1015 (bcdUSB = 0x200) checking for MA-1509 ... this is not a MA-1509 (bcdUSB = 0x200) checking for LM983[1,2,3] ... this is not a LM983x (bcdUSB = 0x200) checking for GL646 ... this is not a GL646 (bDeviceClass = 255, bInterfaceClass = 255) checking for GL646_HP ... this is not a GL646_HP (bcdUSB = 0x200) checking for GL660+GL646 ... this is not a GL660+GL646 (bDeviceClass = 255, bInterfaceClass = 255) checking for GL84x ... Couldn't set configuration: usb_set_configuration(SetConfiguration): device not opened for exclusive access This USB chip looks like a GL842 (result from sane-backends 1.0.18-cvs) found USB scanner (vendor=0x04a9 [Canon], product=0x1900 [CanoScan], chip=GL842) at libusb:006:004-04a9-1900-ff-ff '
[sane-devel] How to define xsane printer
You have to enter the command line option with which you can print a file. On most systems this is lp or lpr. If you want to specify a special printer (if you have more than one or no default printer) then you have to add the correct option, e.g. lpr -P laserjet I don`t know what command line option your system offers, thats something that you have to find out. Best regards Oliver Am Montag, den 24.12.2007, 09:21 +0100 schrieb Julien Michielsen: Would like to define my printer for the xsane copy mode, for being able to make a fotocopy with my scanner. But I don't know how to define my printer. This is what I did. First sone definitions: Architecture of my machine: Asus A8NE Mobo with Athlon 64 processor. Distro SuSE 10.3 for i32 processor Scanner: Epson 2580 xsane 0.994 Went to Preferences - Setup - Copy mode After switching to Copy mode, one line below the mode definition (copy/view/save ...) the printer definition appears as new printer. But this new printer only shows three options: New Printer Shift +F1 and two more times for +F2 and +F3. Entering Shift +F1 while scanning (or before scanning) does not give the option to define the printer. And I did define the printer of my desktop. But sane does not seem to see it. How to get this done? Thanks -- Julien Michielsen julien_at_michkloo.xs4all.nl
[sane-devel] new scanner for libsane.rules
Please add this scanner to libsane.rules: # EPSON Stylus CX8300 | EPSON Stylus CX8400 | EPSON Stylus DX8400 SYSFS{idVendor}==04b8, SYSFS{idProduct}==0839, MODE=0664, GROUP=scanner, ENV{libsane_matched}=yes Thanks, JMC -- John-Marc Chandonia (jmc at dolorespark.org) http://www.dolorespark.org/ -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20071229/8963def4/attachment.pgp
[sane-devel] sane11: new frame types
On 12/25/07, Alessandro Zummo azummo-lists at towertech.it wrote: On Tue, 25 Dec 2007 11:15:09 -0500 m. allan noah kitno455 at gmail.com wrote: on vacation ATM, not near the machine. can send in two days. no hurry! :) I wish you and all the sane people a merry xmas ok, i've just removed support for JPEG from the fujitsu backend, and added all the frame types i could think of, but commented out, to include/sane/sane.h. i left out the avision RIGIBI type, because i did a bit of research, and it looks like all those IR channels should be averaged and returned as a single channel for any front-end to use them. if i am wrong, we can add it too :) please take a look and let me know if i forgot anything obvious... allan -- The truth is an offense, but not a sin
[sane-devel] [announce] new backend: epjitsu
On 12/20/07, Mattias Ellert mattias.ellert at tsl.uu.se wrote: ons 2007-12-19 klockan 11:06 -0500 skrev m. allan noah: These machines are pretty stupid, with limited resolution choices, always scanning full-width, lots of padding bytes, and no binary mode support. The S300 is even worse, as it always scans in triplex (duplex plus a side worth of padding bytes), and it does not have a grayscale mode. They also require firmware files, and usb 2.0 (usb 1.1 is too slow). Could you use the standard default location for the firmware files, i.e. @DATADIR@/sane/backend name (see e.g. artec_eplus48u.conf.in) and then add epjitsu to the FIRMWARE_DIRS in backends/Makefile.in so that this directory gets created. done. thanks for checking behind me. though- i feel like there must be more machines that require firmware than the few listed in FIRMWARE_DIRS... allan -- The truth is an offense, but not a sin
[sane-devel] HP ScanJet 6200C timeout trouble
On 12/27/07, Thilo-Alexander Ginkel maillist at tgbyte.com wrote: Thilo-Alexander Ginkel wrote: right now, I am struggling with getting my HP ScanJet 6200C (connected via USB) to work reliably using SANE. Just a quick update: In order to make sure that the scanner hardware itself is not at fault, I installed the HP driver / scanner software in a Windows XP KVM (forwarding the USB device to the KVM), which worked perfectly, i.e. there is most likely nothing wrong with the hardware. well, i dusted off my ancient 6200C and tried it with current sane cvs- i get: ... [hp] sane_start called [hp] hp_GetOpenDevice: device libusb:003:006 is open with fd=0 [hp] Start downloading parameters to scanner [hp] sanei_hp_optset_scan_type: scantype=0 [hp] scsi_flush: writing 2 bytes: [hp] 0x 1B 45.E [hp] scsi_flush: writing 7 bytes: [hp] 0x 1B 2A 73 32 35 37 45 .*s257E [hp] scl_inq: read failed (End of file reached) [hp] scl_errcheck: Can't read SCL error stack: End of file reached [hp] scsi_close: closing fd 0 [hp] hp_IsOpenFd: 0 is open [hp] scsi_close: not closing. Keep open [hp] sane_start will finish with Error during device I/O scanimage: sane_start: Error during device I/O ... which seems to be a failure even sooner than yours. i do not know for sure if this thing works anymore, but it did when i last used it a couple years ago. i dont have the docs or the time to dig into this, but perhaps someone who knows SCL is listening? allan -- The truth is an offense, but not a sin