| 1 |
.TH sane\-pnm 5 "14 Jul 2008" "" "SANE Scanner Access Now Easy" |
| 2 |
.IX sane\-pnm |
| 3 |
.SH NAME |
| 4 |
sane\-pnm \- SANE PNM image reader pseudo-backend |
| 5 |
|
| 6 |
.SH DESCRIPTION |
| 7 |
The |
| 8 |
.B sane\-pnm |
| 9 |
library implements a SANE (Scanner Access Now Easy) backend that |
| 10 |
provides access to PNM (Portable aNyMap files, which covers PBM bitmap |
| 11 |
files, PGM grayscale files, and PPM pixmap files). The purpose of |
| 12 |
this backend is primarily to aid in debugging of SANE frontends. It |
| 13 |
also serves as an illustrative example of a minimal SANE backend. |
| 14 |
.SH "DEVICE NAMES" |
| 15 |
This backend provides two devices called |
| 16 |
.B 0 |
| 17 |
and |
| 18 |
.BR 1. |
| 19 |
|
| 20 |
.SH CONFIGURATION |
| 21 |
No configuration required. |
| 22 |
.SH FILES |
| 23 |
.TP |
| 24 |
.I /usr/lib/x86_64-linux-gnu/sane/libsane\-pnm.a |
| 25 |
The static library implementing this backend. |
| 26 |
.TP |
| 27 |
.I /usr/lib/x86_64-linux-gnu/sane/libsane\-pnm.so |
| 28 |
The shared library implementing this backend (present on systems that |
| 29 |
support dynamic loading). |
| 30 |
|
| 31 |
.SH ENVIRONMENT |
| 32 |
.TP |
| 33 |
.B SANE_DEBUG_PNM |
| 34 |
If the library was compiled with debug support enabled, this |
| 35 |
environment variable controls the debug level for this backend. E.g., |
| 36 |
a value of 128 requests all debug output to be printed. Smaller |
| 37 |
levels reduce verbosity. |
| 38 |
|
| 39 |
.SH BUGS |
| 40 |
If the |
| 41 |
.B sane\-pnm |
| 42 |
backend is installed and |
| 43 |
.BR saned (8) |
| 44 |
is used to allow users on remote |
| 45 |
computers to scan on the local machine, PNM files can be read by the remote |
| 46 |
user. This is limited to the files |
| 47 |
.BR saned (8) |
| 48 |
can access (usually it's running as |
| 49 |
user "sane"). All PNM files can be read if |
| 50 |
.BR saned (8) |
| 51 |
runs as root which isn't |
| 52 |
recommended anyway. The |
| 53 |
.B sane\-pnm |
| 54 |
backend is disabled by default. If you want to use it, enable it with configure (see |
| 55 |
.I configure \-\-help |
| 56 |
for details). Be sure that |
| 57 |
only trusted users can access the |
| 58 |
.B sane\-pnm |
| 59 |
backend over |
| 60 |
.BR saned (8). |
| 61 |
|
| 62 |
.SH AUTHOR |
| 63 |
Andreas Beck, Gordon Matzigkeit, and David Mosberger |
| 64 |
|
| 65 |
.SH SEE ALSO |
| 66 |
.BR sane (7), |
| 67 |
.BR saned (8) |