Le jeudi 13 octobre 2011 19:23:31 Bertie Coopersmith, vous avez ?crit : > Thanks, Alexey for the PPA. > > I tried both scanimage > file.pnp and scanimage > file.ppm. > In both cases it produced a greyscale image of good definition but my > source was in colour! > > Also, both times on the return traverse it seemed to get stuck for a few > seconds while making a noise and then I have to switch off/on. > to get it recognized again as a usb device. > > Here is the output of lsusb -vv for my scanner. Alexey, you might find > it useful: > > Bus 005 Device 008: ID 03f0:0a01 Hewlett-Packard ScanJet 2400c Device > Descriptor: > bLength 18 bDescriptorType 1 bcdUSB > 1.10 bDeviceClass 255 Vendor Specific Class > bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol > 255 Vendor Specific Protocol bMaxPacketSize0 8 idVendor > 0x03f0 Hewlett-Packard idProduct 0x0a01 ScanJet 2400c > bcdDevice 1.01 iManufacturer 1 Hewlett-Packard > iProduct 2 hp scanjet scanner iSerial 12 > CN63RSR1W2 bNumConfigurations 1 Configuration Descriptor: > bLength 9 bDescriptorType 2 wTotalLength > 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration > 0 bmAttributes 0xc0 > Self Powered > MaxPower 48mA Interface Descriptor: > bLength 9 bDescriptorType 4 > bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints > 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass > 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor > Specific Protocol iInterface 0 Endpoint Descriptor: > bLength 7 bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN bmAttributes 2 > Transfer Type Bulk Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 > Endpoint Descriptor: > bLength 7 bDescriptorType 5 > bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 > Transfer Type Bulk Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 > Endpoint Descriptor: > bLength 7 bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN bmAttributes 3 > Transfer Type Interrupt Synch Type None > Usage Type Data > wMaxPacketSize 0x0001 1x 1 bytes bInterval 8 > Device Status: 0x0001 > Self Powered > > If you need more testing let me know. Colour would be nice! > > Regards, > Bertie
Hello, default setting is gray preview. Add option --mode Color , to get color. scanimage -help will print all availbale options. You may also give xsane a try. Regards, Stef