[sane-devel] '--device-name=dev' works but '-d dev' fails [sorry]

Alain.Cochard at unistra.fr Alain.Cochard at unistra.fr
Fri Sep 12 06:30:10 BST 2025


Alain.Cochard at unistra.fr writes on Fri 12 Sep 2025 06:50:
 > 
 > Hello.
 > 
 > $ scanimage --device-name='airscan:e0:Canon TS5000 series' --format=jpeg > certif.jpg
 > 
 > worked as expected but
 > 
 > $ scanimage -d 'airscan:e0:Canon TS5000 series' --format=jpeg > certif.jpg
 > 
 > failed.  The file is void and I get this message:
 > 
 > scanimage: open of device airscan:e0:Canon TS5000 series failed: Invalid argument

I realize that the command sometimes fails (not often, but not rarely
either) for no apparent reason.  Submitting again is the solution.  I was
just unlucky several times.  As far as I remember this never happened with
skanlite on the same device from the same computer.

Good thing that I did not subscribe!  Sorry for the noise.  (The comments
regarding the quotes and the web pages remain valid, though...)

-- 
EOST (École et Observatoire des Sciences de la Terre) 
ITE (Institut Terre & Environnement) | alain.cochard at unistra.fr
5 rue René Descartes                 | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France     | bureau 110, ancien bât.



More information about the sane-devel mailing list