3 echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
6 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
7 <meta name="author" content="root">
8 <meta name="robots" content="noindex">
9 <link rel="stylesheet" type="text/css" href="css/style.css">
10 <title>phpSANE: help</title>
18 $SCANIMAGE = "/usr/bin/scanimage";
19 $cmd = $SCANIMAGE . " -h";
23 $start = strpos($sane_help, "\nOptions specific to device") +
1;
26 $sane_help = substr($sane_help, $start);
29 $start = strpos($sane_help, "\nType ``scanimage --help");
32 $sane_help = substr($sane_help, 0, $start);
46 Choosing a page size will set the required page dimensions.
50 Clicking on the 'preview image' area will set the appropriate
51 corner (top left or bottom right) to the mouse position.
60 Only the most basic options are supported directly,
61 that give you control over the image quality
62 (--mode and --resolution)
63 and the file format type to save the image as.
72 the full list of options (from: scanimage -h) is :-
83 Any extra options you want to add to the scan command,
84 you can add them in this 'extra' field.
88 NB. Invalid characters are replaced with an 'X'.
92 eg. To control the brightness :-
96 The value is not stanard across all scanners,
97 so you need to see what options your scanner takes.
98 It may be a percentage,
99 or a number in a range (eg. -4..3).
118 Does a scan of the whole area,
119 at a low resolution and displays it,
120 so you can view your document and select areas from it.
129 Does a scan of the area selected and lets you save the
130 output file (image or text).
135 OCR :- (only available if 'gocr' is installed)
139 Does a scan and uses OCR to convert the contents into an ASCII text file.
143 Recommend using Grayscale at 300dpi or above.
153 but does nothing else.
162 Resets all parameters to their default values and clears the preview.
171 At the bottom of the page,
172 the command line used to perform the scan is displayed.
173 This allows you to manually check the format of the command