wok rev 21764
fake-sane: add pixma mp150
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 27 22:27:24 2019 +0200 (2019-06-27) |
parents | cdd470f2c93f |
children | 0f4caca09bc0 |
files | fake-sane/stuff/fake:pixma:04A91709.log fake-sane/stuff/sane-fake.log sane-backends/stuff/tazpanel/sane.cgi |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fake-sane/stuff/fake:pixma:04A91709.log Thu Jun 27 22:27:24 2019 +0200 1.3 @@ -0,0 +1,73 @@ 1.4 +Usage: scanimage [OPTION]... 1.5 + 1.6 +Start image acquisition on a scanner device and write image data to 1.7 +standard output. 1.8 + 1.9 +Parameters are separated by a blank from single-character options (e.g. 1.10 +-d epson) and by a "=" from multi-character options (e.g. --device-name=epson). 1.11 +-d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner) 1.12 + --format=pnm|tiff file format of output file 1.13 +-i, --icc-profile=PROFILE include this ICC profile into TIFF file 1.14 +-L, --list-devices show available scanner devices 1.15 +-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output 1.16 + can be specified: %d (device name), %v (vendor), 1.17 + %m (model), %t (type), %i (index number), and 1.18 + %n (newline) 1.19 +-b, --batch[=FORMAT] working in batch mode, FORMAT is `out%d.pnm' or 1.20 + `out%d.tif' by default depending on --format 1.21 + --batch-start=# page number to start naming files with 1.22 + --batch-count=# how many pages to scan in batch mode 1.23 + --batch-increment=# increase page number in filename by # 1.24 + --batch-double increment page number by two, same as 1.25 + --batch-increment=2 1.26 + --batch-prompt ask for pressing a key before scanning a page 1.27 + --accept-md5-only only accept authorization requests using md5 1.28 +-p, --progress print progress messages 1.29 +-n, --dont-scan only set options, don't actually scan 1.30 +-T, --test test backend thoroughly 1.31 +-A, --all-options list all available backend options 1.32 +-h, --help display this help message and exit 1.33 +-v, --verbose give even more status messages 1.34 +-B, --buffer-size=# change input buffer size (in kB, default 32) 1.35 +-V, --version print version information 1.36 + 1.37 +Options specific to device `pixma': 1.38 + Scan mode: 1.39 + --resolution auto||75|150|300|600|1200dpi [75] 1.40 + Sets the resolution of the scanned image. 1.41 + --mode auto|Color|Gray [Color] 1.42 + Selects the scan mode (e.g., lineart, monochrome, or color). 1.43 + --source Flatbed [Flatbed] 1.44 + Selects the scan source (such as a document-feeder). 1.45 + --button-controlled[=(yes|no)] [no] 1.46 + When enabled, scan process will not start immediately. To proceed, 1.47 + press "SCAN" button (for MP150) or "COLOR" button (for other models). 1.48 + To cancel, press "GRAY" button. 1.49 + Gamma: 1.50 + --custom-gamma[=(auto|yes|no)] [yes] 1.51 + Determines whether a builtin or a custom gamma-table should be used. 1.52 + --gamma-table auto|0..255,... 1.53 + Gamma-correction table. In color mode this option equally affects the 1.54 + red, green, and blue channels simultaneously (i.e., it is an intensity 1.55 + gamma table). 1.56 + Geometry: 1.57 + -l auto|0..216.069mm [0] 1.58 + Top-left x position of scan area. 1.59 + -t auto|0..297.011mm [0] 1.60 + Top-left y position of scan area. 1.61 + -x auto|0..216.069mm [216.069] 1.62 + Width of scan-area. 1.63 + -y auto|0..297.011mm [297.011] 1.64 + Height of scan-area. 1.65 + Buttons: 1.66 + --button-update 1.67 + Update button state 1.68 + --button-1 <int> [0] 1.69 + Button 1 1.70 + --button-2 <int> [0] 1.71 + Button 2 1.72 + 1.73 +Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE. 1.74 + 1.75 +List of available devices: 1.76 + pixma:04A91709
2.1 --- a/fake-sane/stuff/sane-fake.log Thu Jun 27 14:19:03 2019 +0200 2.2 +++ b/fake-sane/stuff/sane-fake.log Thu Jun 27 22:27:24 2019 +0200 2.3 @@ -1,1 +1,1 @@ 2.4 -fake-sane/fake:brother:bus1;dev2,[fake] Brother MFC-8420|fake-sane/fake:hpoj:mlc:usb:psc_1200_series,[fake] Hewlett-Packard psc 1200 series|fake-sane/fake:hpaio::usb:PSC_1600_series:serial=MY5CJF3044L0,[fake] hp PSC_1600_series|fake-sane/fake:brother:bus1;dev2.patched,[fake+patched] Brother MFC-8420|fake-sane/fake:hpoj:mlc:usb:psc_1200_series.patched,[fake+patched] Hewlett-Packard psc 1200 series| 2.5 +fake-sane/fake:brother:bus1;dev2,[fake] Brother MFC-8420|fake-sane/fake:hpoj:mlc:usb:psc_1200_series,[fake] Hewlett-Packard psc 1200 series|fake-sane/fake:hpaio::usb:PSC_1600_series:serial=MY5CJF3044L0,[fake] hp PSC_1600_series|fake-sane/fake:brother:bus1;dev2.patched,[fake+patched] Brother MFC-8420|fake-sane/fake:hpoj:mlc:usb:psc_1200_series.patched,[fake+patched] Hewlett-Packard psc 1200 series|fake-sane/fake:pixma:04A91709,[fake] PIXMA MP150|
3.1 --- a/sane-backends/stuff/tazpanel/sane.cgi Thu Jun 27 14:19:03 2019 +0200 3.2 +++ b/sane-backends/stuff/tazpanel/sane.cgi Thu Jun 27 22:27:24 2019 +0200 3.3 @@ -286,7 +286,7 @@ 3.4 if (match("-l-t-x-y", $1)) minmax() 3.5 if (match("--resolution--brightness--contrast--source--mode", $1)) enum() 3.6 } 3.7 -')" 3.8 +' | sed 's/||/|/g')" 3.9 fi 3.10 output="$(n=$(echo "$params" | wc -l); echo "$params" | \ 3.11 while read name def min max ; do