[sane-devel] scanimage: where's the _image_?

2005-06-27 Thread David Morse
I'm trying to write a script to scan from the scanner and print the
result to the printer.

scanimage looks like the command line way to scan an image.=20
Invoking it causes the scanner to scan, and it looks like this:

  % scanimage -d epson:/dev/usbscanner0=20
  P4
  # SANE data follows
  632 879

I can't see any file produced by this.  I've futzed around with the
manpage, and found reference to a '--filename' argument, but its not
supported in the device-specific options of my scanner.

So how do I get my hands on the image created by the scanning!

(xsane works fine, btw)



[sane-devel] scanimage: where's the _image_?

2005-06-27 Thread m. allan noah
uhm, this is unix.

scanimage --options  file.pnm

allan

On Mon, 27 Jun 2005, David Morse wrote:

 I'm trying to write a script to scan from the scanner and print the
 result to the printer.

 scanimage looks like the command line way to scan an image.
 Invoking it causes the scanner to scan, and it looks like this:

  % scanimage -d epson:/dev/usbscanner0
  P4
  # SANE data follows
  632 879

 I can't see any file produced by this.  I've futzed around with the
 manpage, and found reference to a '--filename' argument, but its not
 supported in the device-specific options of my scanner.

 So how do I get my hands on the image created by the scanning!

 (xsane works fine, btw)

 --
 sane-devel mailing list: sane-devel@lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
 to sane-devel-requ...@lists.alioth.debian.org


-- 
so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls - Max Cavalera



[sane-devel] scanimage: where's the _image_?

2005-06-27 Thread Johannes Berg
--=-MxtQOQjlnYl8szCKY9r7
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Mon, 2005-06-27 at 11:38 -0400, David Morse wrote:

 scanimage looks like the command line way to scan an image.=20
 Invoking it causes the scanner to scan, and it looks like this:
=20
   % scanimage -d epson:/dev/usbscanner0=20
   P4
   # SANE data follows
   632 879
=20
 I can't see any file produced by this.  I've futzed around with the
 manpage, and found reference to a '--filename' argument, but its not
 supported in the device-specific options of my scanner.
=20
 So how do I get my hands on the image created by the scanning!

I think stdout is the image. Just pipe it into a file.

johannes

--=-MxtQOQjlnYl8szCKY9r7
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-BEGIN PGP SIGNATURE-
Comment: Johannes Berg (SIP Solutions)

iQIVAwUAQsAnH6Vg1VMiehFYAQLOJQ//YKL3XO90j19JNtzuvkH+zzdcJVXZz0lv
09LAWXt7SRecXGweTRX6VcIQrBG1Yv3qZc9yj0O5CkmCFov0Q7D7s6yM+Fony69N
4x8TQNNwkDLg3UDNPklDrvlnRAAyifJKUBAGcVDcjuY0NSQ9ZzdA6QISdVCKYZLW
eOz9sZYwcGw6bLdw+wrf46xxFljpw9hX/0f8Z9ji4XsCMbW6uDg7o5ybZkOvPLgZ
E455sayTNFF8FY91BmdyQfL7C7EVTZeGPRDDz0oGUuQnQlHE3zGJqOyGeJ5Ur6Lc
Npk+fKzGmsU6c45ehWo14k7CSpyVThhuJBkRc/ED/XcPXhVTQRD/C6QIimxXO2L5
DheT5y5zSnjHt22DCMwoSNMgj0WFlUR3aAK2IWEzqKpyA0BRsK29eyaSWk3t1AiA
SGo+nCntLMZCjvNniQjIli6M2DsvB+0wVV/hmRG10m/IS9g5BVMgj60XNa3E2vAa
oAtf0oxOZuS4TaBaTUgYRkZBHT4nMPp+OsRjq+e90AWJtX+qSHgOiHgookjWsZPb
a0uN4AsYfg6+4u/hcjc7yTgRXZhDopFkkBjq9lGVG8PyoD720plXkXfpPIGbJCFR
gdtCZjwp4dIbZ3L10CM/ctiVh8rN6tC9mjHLZu7Xa7vOgKcUAFbOF3iex0SzEukM
PtXVk6LSGsI=
=f1lu
-END PGP SIGNATURE-

--=-MxtQOQjlnYl8szCKY9r7--