1 .\" sasc(1) - manual page for the `asc' scanner device driver utility
4 .\" Copyright (c) 1995 Gunther Schadow. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 3. All advertising materials mentioning features or use of this software
15 .\" must display the following acknowledgement:
16 .\" This product includes software developed by Gunther Schadow.
17 .\" 4. The name of the author may not be used to endorse or promote products
18 .\" derived from this software without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22 .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23 .\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24 .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
25 .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
29 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 .\" $FreeBSD: src/usr.bin/sasc/sasc.1,v 1.9.2.2 2000/12/19 16:22:26 ru Exp $
32 .\" $DragonFly: src/usr.bin/sasc/sasc.1,v 1.4 2005/08/01 01:49:18 swildner Exp $
39 .Nd set the options of the asc scanner device
46 .Op Fl r Ar resolution
52 utility provides shell level access to the ioctl
53 requests served by the handy scanner device driver asc.
56 for the exact meaning of the requests. Generally they modify
57 the output and behavior of the asc scanner device.
60 is called with no option only the current settings are reported.
62 The following options are available:
63 .Bl -tag -width indent
64 .It Fl s Bq ASC_SRESSW
65 Set the scanner with the values of the resolution selector switch.
67 Operate in quiet mode, i.e. do not report any of the current settings.
68 Normally the parameters are shown after the modifications have been
71 Operate on a different scanner device node given by filename.
73 that even though there may exist more than one node of scanner device
74 several of them will refer the same device unit.
76 performed od the unit regardless of the device node by which it is
78 .It Fl r Ar resolution Bq ASC_SRES
79 Set the resolution in dpi.
80 .It Fl w Ar width Bq ASC_SWIDHT
81 Set the width of the bitmap in pixels.
82 .It Fl h Ar height Bq ASC_SHEIGHT
83 Set the height of the bitmap in lines of pixels.
84 .It Fl b Ar len Bq ASC_SBLEN
85 Set the internal dma buffer to be
88 .It Fl t Ar timeout Bq ASC_SBTIME
89 Set the timeout time for reading one dma buffer.
92 .Bl -tag -width /var/rwho/whod.* -compact
98 device node for output in
105 .An Gunther Schadow Aq gusw@fub46.zedat.fu-berlin.de
106 .An Liam J. Foy Aq liamfoy@sepulcrum.org