Files
Alexander Pevzner 07ebd85003 Added SANE_AIRSCAN_DEVICE environment variable
This variable, if set, overrides all devices, manually configured
in the log files and disables auto discovery.

Examples:

    SANE_AIRSCAN_DEVICE="escl:Kyocera eSCL:http://192.168.1.102:9095/eSCL"
    SANE_AIRSCAN_DEVICE="wsd:Kyocera WSD:http://192.168.1.102:5358/WSDScanner"

Formal syntax:

    "PROTO:DEVICE NAME:URL"

    Where:

	- PROTO` is either `escl` or `wsd`.
	- DEVICE NAME will appear in the list of devices.
	- URL is the device URL, using `http:` or `https:` schemes.

The primary purpose of this variable is the automated testing
of the `sane-airscan` backend.
2025-04-29 12:16:41 +03:00

41 lines
1.4 KiB
Groff

.\" generated with Ronn-NG/v0.10.1
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
.TH "AIRSCAN\-DISCOVER" "1" "February 2024" "" "SANE Scanner Access Now Easy"
.SH "NAME"
\fBairscan\-discover\fR \- Discover sane\-airscan compatible scanners
.SH "SYNOPSIS"
\fBairscan\-discover [options]\fR
.SH "DESCRIPTION"
\fBairscan\-discover\fR is a command\-line tool to find eSCL and WSD scanners on a local network
.P
It uses Avahi to discover DNS\-SD devices and its own implementation of WS\-Discovery to discover WSD devices\.
.P
On success, it outputs a fragment of sane\-airscan configuration file, that can be directly added to \fB/etc/sane\.d/airscan\.conf\fR
.SH "OPTIONS"
.TP
\fB\-test\-fast\fR or \fB\-\-test\-fast\fR
Fast discovery mode (see ane\-airscan(5) for details)
.TP
\fB\-test\-auto\fR or \fB\-\-test\-auto\fR
Automatic protocol selection (see ane\-airscan(5) for details)
.TP
\fB\-d\fR
Print debug messages to console
.TP
\fB\-t\fR
Write a very detailed protocol trace to \fBairscan\-discover\-zeroconf\.log\fR and \fBairscan\-discover\-zeroconf\.tar\fR
.TP
\fB\-h\fR
Print help screen
.SH "FILES"
.TP
\fBairscan\-discover\-zeroconf\.log\fR
Protocol trace
.TP
\fBairscan\-discover\-zeroconf\.tar\fR
Non\-textual messages, if any, saved here\. Textual (i\.e\., XML) messages included directly into the \.log file
.SH "SEE ALSO"
\fBsane(7), sane\-airscan(5)\fR
.SH "AUTHOR"
Alexander Pevzner <pzz@apevzner\.com>