wok-next rev 18238

Add fake-sane
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 25 13:58:53 2015 +0200 (2015-07-25)
parents 140c18f428f0
children 4ea96657834e
files fake-sane/receipt fake-sane/stuff/fake:brother:bus1;dev2.log fake-sane/stuff/fake:brother:bus1;dev2.patched.log fake-sane/stuff/fake:hpaio::usb:PSC_1600_series:serial=MY5CJF3044L0.log fake-sane/stuff/fake:hpoj:mlc:usb:psc_1200_series.log fake-sane/stuff/fake:hpoj:mlc:usb:psc_1200_series.patched.log fake-sane/stuff/sane-fake.log
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fake-sane/receipt	Sat Jul 25 13:58:53 2015 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fake-sane"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Fake scanomage output for sane.cgi."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="http://www.slitaz.org/"
    1.13 +
    1.14 +DEPENDS="sane-backends tazpanel"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/var/www/tazpanel
    1.20 +	cp $stuff/* $fs/var/www/tazpanel/
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/fake-sane/stuff/fake:brother:bus1;dev2.log	Sat Jul 25 13:58:53 2015 +0200
     2.3 @@ -0,0 +1,55 @@
     2.4 +Usage: scanimage [OPTION]...
     2.5 +
     2.6 +Start image acquisition on a scanner device and write PNM image data to
     2.7 +standard output.
     2.8 +
     2.9 +-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    2.10 +    --format=pnm|tiff      file format of output file
    2.11 +-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
    2.12 +-L, --list-devices         show available scanner devices
    2.13 +-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
    2.14 +                           can be specified: %d (device name), %v (vendor),
    2.15 +                           %m (model), %t (type), and %i (index number)
    2.16 +-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
    2.17 +                           `out%d.tif' by default depending on --format
    2.18 +    --batch-start=#        page number to start naming files with
    2.19 +    --batch-count=#        how many pages to scan in batch mode
    2.20 +    --batch-increment=#    increase number in filename by an amount of #
    2.21 +    --batch-double         increment page number by two for 2sided originals
    2.22 +                           being scanned in a single sided scanner
    2.23 +    --batch-prompt         ask for pressing a key before scanning a page
    2.24 +    --accept-md5-only      only accept authorization requests using md5
    2.25 +-n, --dont-scan            only set options, don't actually scan
    2.26 +-T, --test                 test backend thoroughly
    2.27 +-h, --help                 display this help message and exit
    2.28 +-v, --verbose              give even more status messages
    2.29 +-V, --version              print version information
    2.30 +scanimage: rounded value of br-x from 210 to 209.981
    2.31 +scanimage: rounded value of br-y from 297 to 296.973
    2.32 +
    2.33 +Options specific to device `brother:bus1;dev2':
    2.34 +  Mode:
    2.35 +    --mode Black & White|Gray[Error Diffusion]|True Gray|24bit Color|24bit Color[Fast] [24bit Color]
    2.36 +        Select the scan mode
    2.37 +    --resolution 100|150|200|300|400|600|1200|2400|4800|9600dpi [200]
    2.38 +        Sets the resolution of the scanned image.
    2.39 +    --source FlatBed|Automatic Document Feeder [Automatic Document Feeder]
    2.40 +        Selects the scan source (such as a document-feeder).
    2.41 +    --brightness -50..50% (in steps of 1) [inactive]
    2.42 +        Controls the brightness of the acquired image.
    2.43 +    --contrast -50..50% (in steps of 1) [inactive]
    2.44 +        Controls the contrast of the acquired image.
    2.45 +  Geometry:
    2.46 +    -l 0..212mm (in steps of 0.0999908) [0]
    2.47 +        Top-left x position of scan area.
    2.48 +    -t 0..355.6mm (in steps of 0.0999908) [0]
    2.49 +        Top-left y position of scan area.
    2.50 +    -x 0..212mm (in steps of 0.0999908) [209.981]
    2.51 +        Width of scan-area.
    2.52 +    -y 0..355.6mm (in steps of 0.0999908) [296.973]
    2.53 +        Height of scan-area.
    2.54 +
    2.55 +Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
    2.56 +
    2.57 +List of available devices:
    2.58 +    brother:bus1;dev2
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/fake-sane/stuff/fake:brother:bus1;dev2.patched.log	Sat Jul 25 13:58:53 2015 +0200
     3.3 @@ -0,0 +1,55 @@
     3.4 +Usage: scanimage [OPTION]...
     3.5 +
     3.6 +Start image acquisition on a scanner device and write PNM image data to
     3.7 +standard output.
     3.8 +
     3.9 +-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    3.10 +    --format=pnm|tiff      file format of output file
    3.11 +-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
    3.12 +-L, --list-devices         show available scanner devices
    3.13 +-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
    3.14 +                           can be specified: %d (device name), %v (vendor),
    3.15 +                           %m (model), %t (type), and %i (index number)
    3.16 +-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
    3.17 +                           `out%d.tif' by default depending on --format
    3.18 +    --batch-start=#        page number to start naming files with
    3.19 +    --batch-count=#        how many pages to scan in batch mode
    3.20 +    --batch-increment=#    increase number in filename by an amount of #
    3.21 +    --batch-double         increment page number by two for 2sided originals
    3.22 +                           being scanned in a single sided scanner
    3.23 +    --batch-prompt         ask for pressing a key before scanning a page
    3.24 +    --accept-md5-only      only accept authorization requests using md5
    3.25 +-n, --dont-scan            only set options, don't actually scan
    3.26 +-T, --test                 test backend thoroughly
    3.27 +-h, --help                 display this help message and exit
    3.28 +-v, --verbose              give even more status messages
    3.29 +-V, --version              print version information
    3.30 +scanimage: rounded value of br-x from 210 to 209.981
    3.31 +scanimage: rounded value of br-y from 297 to 296.973
    3.32 +
    3.33 +Options specific to device `brother:bus1;dev2':
    3.34 +  Mode:
    3.35 +    --mode Black & White|Gray[Error Diffusion]|True Gray|24bit Color|24bit Color[Fast] [24bit Color]
    3.36 +        Select the scan mode
    3.37 +    --resolution 100|150|200|300|400|600|1200|2400|4800|9600dpi [200]
    3.38 +        Sets the resolution of the scanned image.
    3.39 +    --source FlatBed|Automatic Document Feeder [Automatic Document Feeder]
    3.40 +        Selects the scan source (such as a document-feeder).
    3.41 +    --brightness -50..50% (in steps of 1) [0]
    3.42 +        Controls the brightness of the acquired image.
    3.43 +    --contrast -50..50% (in steps of 1) [0]
    3.44 +        Controls the contrast of the acquired image.
    3.45 +  Geometry:
    3.46 +    -l 0..212mm (in steps of 0.0999908) [0]
    3.47 +        Top-left x position of scan area.
    3.48 +    -t 0..355.6mm (in steps of 0.0999908) [0]
    3.49 +        Top-left y position of scan area.
    3.50 +    -x 0..212mm (in steps of 0.0999908) [209.981]
    3.51 +        Width of scan-area.
    3.52 +    -y 0..355.6mm (in steps of 0.0999908) [296.973]
    3.53 +        Height of scan-area.
    3.54 +
    3.55 +Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
    3.56 +
    3.57 +List of available devices:
    3.58 +    brother:bus1;dev2
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/fake-sane/stuff/fake:hpaio::usb:PSC_1600_series:serial=MY5CJF3044L0.log	Sat Jul 25 13:58:53 2015 +0200
     4.3 @@ -0,0 +1,74 @@
     4.4 +Usage: scanimage [OPTION]...
     4.5 +
     4.6 +Start image acquisition on a scanner device and write PNM image data to
     4.7 +standard output.
     4.8 +
     4.9 +-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    4.10 +    --format=pnm|tiff      file format of output file
    4.11 +-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
    4.12 +-L, --list-devices         show available scanner devices
    4.13 +-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
    4.14 +                           can be specified: %d (device name), %v (vendor),
    4.15 +                           %m (model), %t (type), and %i (index number)
    4.16 +-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
    4.17 +                           `out%d.tif' by default depending on --format
    4.18 +    --batch-start=#        page number to start naming files with
    4.19 +    --batch-count=#        how many pages to scan in batch mode
    4.20 +    --batch-increment=#    increase number in filename by an amount of #
    4.21 +    --batch-double         increment page number by two for 2sided originals
    4.22 +                           being scanned in a single sided scanner
    4.23 +    --batch-prompt         ask for pressing a key before scanning a page
    4.24 +    --accept-md5-only      only accept authorization requests using md5
    4.25 +-n, --dont-scan            only set options, don't actually scan
    4.26 +-T, --test                 test backend thoroughly
    4.27 +-h, --help                 display this help message and exit
    4.28 +-v, --verbose              give even more status messages
    4.29 +-V, --version              print version information
    4.30 +
    4.31 +Options specific to device `hpaio:/usb/PSC_1600_series?serial=MY5CJF3044L0':
    4.32 +  Scan mode:
    4.33 +    --mode Lineart|Grayscale|Color [Color]
    4.34 +        Selects the scan mode (e.g., lineart, monochrome, or color).
    4.35 +    --resolution 75..1200dpi [75]
    4.36 +        Sets the resolution of the scanned image.
    4.37 +  Advanced:
    4.38 +    --contrast 0..100 [inactive]
    4.39 +        Controls the contrast of the acquired image.
    4.40 +    --compression None|JPEG [JPEG]
    4.41 +        Selects the scanner compression method for faster scans, possibly at
    4.42 +        the expense of image quality.
    4.43 +    --jpeg-compression-factor 0..100 [10]
    4.44 +        Sets the scanner JPEG compression factor.  Larger numbers mean better
    4.45 +        compression, and smaller numbers mean better image quality.
    4.46 +    --batch-scan[=(yes|no)] [no]
    4.47 +        Guarantees that a "no documents" condition will be returned after the
    4.48 +        last scanned page, to prevent endless flatbed scans after a batch scan.
    4.49 +         For some models, option changes in the middle of a batch scan don't
    4.50 +        take effect until after the last page.
    4.51 +    --source Flatbed [Flatbed]
    4.52 +        Selects the desired scan source for models with both flatbed and
    4.53 +        automatic document feeder (ADF) capabilities.  The "Auto" setting means
    4.54 +        that the ADF will be used if it's loaded, and the flatbed (if present)
    4.55 +        will be used otherwise.
    4.56 +    --duplex[=(yes|no)] [inactive]
    4.57 +        Enables scanning on both sides of the page for models with
    4.58 +        duplex-capable document feeders.  For pages printed in "book"-style
    4.59 +        duplex mode, one side will be scanned upside-down.  This feature is
    4.60 +        experimental.
    4.61 +  Geometry:
    4.62 +    --length-measurement Unknown|Approximate|Padded [Padded]
    4.63 +        Selects how the scanned image length is measured and reported, which
    4.64 +        is impossible to know in advance for scrollfed scans.
    4.65 +    -l 0..215.9mm [0]
    4.66 +        Top-left x position of scan area.
    4.67 +    -t 0..296.926mm [0]
    4.68 +        Top-left y position of scan area.
    4.69 +    -x 0..215.9mm [215.9]
    4.70 +        Width of scan-area.
    4.71 +    -y 0..296.926mm [296.926]
    4.72 +        Height of scan-area.
    4.73 +
    4.74 +Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
    4.75 +
    4.76 +List of available devices:
    4.77 +    hpaio:/usb/PSC_1600_series?serial=MY5CJF3044L0
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/fake-sane/stuff/fake:hpoj:mlc:usb:psc_1200_series.log	Sat Jul 25 13:58:53 2015 +0200
     5.3 @@ -0,0 +1,74 @@
     5.4 +Usage: scanimage [OPTION]...
     5.5 +
     5.6 +Start image acquisition on a scanner device and write PNM image data to
     5.7 +standard output.
     5.8 +
     5.9 +-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    5.10 +    --format=pnm|tiff      file format of output file
    5.11 +-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
    5.12 +-L, --list-devices         show available scanner devices
    5.13 +-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
    5.14 +                           can be specified: %d (device name), %v (vendor),
    5.15 +                           %m (model), %t (type), and %i (index number)
    5.16 +-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
    5.17 +                           `out%d.tif' by default depending on --format
    5.18 +    --batch-start=#        page number to start naming files with
    5.19 +    --batch-count=#        how many pages to scan in batch mode
    5.20 +    --batch-increment=#    increase number in filename by an amount of #
    5.21 +    --batch-double         increment page number by two for 2sided originals
    5.22 +                           being scanned in a single sided scanner
    5.23 +    --batch-prompt         ask for pressing a key before scanning a page
    5.24 +    --accept-md5-only      only accept authorization requests using md5
    5.25 +-n, --dont-scan            only set options, don't actually scan
    5.26 +-T, --test                 test backend thoroughly
    5.27 +-h, --help                 display this help message and exit
    5.28 +-v, --verbose              give even more status messages
    5.29 +-V, --version              print version information
    5.30 +
    5.31 +Options specific to device `hpoj:mlc:usb:psc_1200_series':
    5.32 +  Scan mode:
    5.33 +    --mode Lineart|Grayscale|Color [Color]
    5.34 +        Selects the scan mode (e.g., lineart,monochrome, or color).
    5.35 +    --resolution 75..600dpi [75]
    5.36 +        Sets the resolution of the scanned image.
    5.37 +  Advanced:
    5.38 +    --contrast 0..100 [inactive]
    5.39 +        Controls the contrast of the acquired image.
    5.40 +    --compression None|JPEG [None]
    5.41 +        Selects the scanner compression method for faster scans, possibly at
    5.42 +        the expense of image quality.
    5.43 +    --jpeg-compression-factor 0..100 [inactive]
    5.44 +        Sets the scanner JPEG compression factor.  Larger numbers mean better
    5.45 +        compression, and smaller numbers mean better image quality.
    5.46 +    --batch-scan[=(yes|no)] [no]
    5.47 +        Guarantees that a "no documents" condition will be returned after the
    5.48 +        last scanned page, to prevent endless flatbed scans after a batch scan.
    5.49 +         For some models, option changes in the middle of a batch scan don't
    5.50 +        take effect until after the last page.
    5.51 +    --source Flatbed [Flatbed]
    5.52 +        Selects the desired scan source for models with both flatbed and
    5.53 +        automatic document feeder (ADF) capabilities.  The "Auto" setting means
    5.54 +        that the ADF will be used if it's loaded, and the flatbed (if present)
    5.55 +        will be used otherwise.
    5.56 +    --duplex[=(yes|no)] [inactive]
    5.57 +        Enables scanning on both sides of the page for models with
    5.58 +        duplex-capable document feeders.  For pages printed in "book"-style
    5.59 +        duplex mode, one side will be scanned upside-down.  This feature is
    5.60 +        experimental.
    5.61 +  Geometry:
    5.62 +    --length-measurement Unknown|Approximate|Padded [Padded]
    5.63 +        Selects how the scanned image length is measured and reported, which
    5.64 +        is impossible to know in advance for scrollfed scans.
    5.65 +    -l 0..215.9mm [0]
    5.66 +        Top-left x position of scan area.
    5.67 +    -t 0..296.926mm [0]
    5.68 +        Top-left y position of scan area.
    5.69 +    -x 0..215.9mm [215.9]
    5.70 +        Width of scan-area.
    5.71 +    -y 0..296.926mm [296.926]
    5.72 +        Height of scan-area.
    5.73 +
    5.74 +Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
    5.75 +
    5.76 +List of available devices:
    5.77 +    hpoj:mlc:usb:psc_1200_series
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/fake-sane/stuff/fake:hpoj:mlc:usb:psc_1200_series.patched.log	Sat Jul 25 13:58:53 2015 +0200
     6.3 @@ -0,0 +1,74 @@
     6.4 +Usage: scanimage [OPTION]...
     6.5 +
     6.6 +Start image acquisition on a scanner device and write PNM image data to
     6.7 +standard output.
     6.8 +
     6.9 +-d, --device-name=DEVICE   use a given scanner device (e.g. hp:/dev/scanner)
    6.10 +    --format=pnm|tiff      file format of output file
    6.11 +-i, --icc-profile=PROFILE  include this ICC profile into TIFF file
    6.12 +-L, --list-devices         show available scanner devices
    6.13 +-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
    6.14 +                           can be specified: %d (device name), %v (vendor),
    6.15 +                           %m (model), %t (type), and %i (index number)
    6.16 +-b, --batch[=FORMAT]       working in batch mode, FORMAT is `out%d.pnm' or
    6.17 +                           `out%d.tif' by default depending on --format
    6.18 +    --batch-start=#        page number to start naming files with
    6.19 +    --batch-count=#        how many pages to scan in batch mode
    6.20 +    --batch-increment=#    increase number in filename by an amount of #
    6.21 +    --batch-double         increment page number by two for 2sided originals
    6.22 +                           being scanned in a single sided scanner
    6.23 +    --batch-prompt         ask for pressing a key before scanning a page
    6.24 +    --accept-md5-only      only accept authorization requests using md5
    6.25 +-n, --dont-scan            only set options, don't actually scan
    6.26 +-T, --test                 test backend thoroughly
    6.27 +-h, --help                 display this help message and exit
    6.28 +-v, --verbose              give even more status messages
    6.29 +-V, --version              print version information
    6.30 +
    6.31 +Options specific to device `hpoj:mlc:usb:psc_1200_series':
    6.32 +  Scan mode:
    6.33 +    --mode Lineart|Grayscale|Color [Color]
    6.34 +        Selects the scan mode (e.g., lineart,monochrome, or color).
    6.35 +    --resolution 75..600dpi [75]
    6.36 +        Sets the resolution of the scanned image.
    6.37 +  Advanced:
    6.38 +    --contrast 0..100 [0]
    6.39 +        Controls the contrast of the acquired image.
    6.40 +    --compression None|JPEG [None]
    6.41 +        Selects the scanner compression method for faster scans, possibly at
    6.42 +        the expense of image quality.
    6.43 +    --jpeg-compression-factor 0..100 [inactive]
    6.44 +        Sets the scanner JPEG compression factor.  Larger numbers mean better
    6.45 +        compression, and smaller numbers mean better image quality.
    6.46 +    --batch-scan[=(yes|no)] [no]
    6.47 +        Guarantees that a "no documents" condition will be returned after the
    6.48 +        last scanned page, to prevent endless flatbed scans after a batch scan.
    6.49 +         For some models, option changes in the middle of a batch scan don't
    6.50 +        take effect until after the last page.
    6.51 +    --source Flatbed [Flatbed]
    6.52 +        Selects the desired scan source for models with both flatbed and
    6.53 +        automatic document feeder (ADF) capabilities.  The "Auto" setting means
    6.54 +        that the ADF will be used if it's loaded, and the flatbed (if present)
    6.55 +        will be used otherwise.
    6.56 +    --duplex[=(yes|no)] [inactive]
    6.57 +        Enables scanning on both sides of the page for models with
    6.58 +        duplex-capable document feeders.  For pages printed in "book"-style
    6.59 +        duplex mode, one side will be scanned upside-down.  This feature is
    6.60 +        experimental.
    6.61 +  Geometry:
    6.62 +    --length-measurement Unknown|Approximate|Padded [Padded]
    6.63 +        Selects how the scanned image length is measured and reported, which
    6.64 +        is impossible to know in advance for scrollfed scans.
    6.65 +    -l 0..215.9mm [0]
    6.66 +        Top-left x position of scan area.
    6.67 +    -t 0..296.926mm [0]
    6.68 +        Top-left y position of scan area.
    6.69 +    -x 0..215.9mm [215.9]
    6.70 +        Width of scan-area.
    6.71 +    -y 0..296.926mm [296.926]
    6.72 +        Height of scan-area.
    6.73 +
    6.74 +Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
    6.75 +
    6.76 +List of available devices:
    6.77 +    hpoj:mlc:usb:psc_1200_series
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/fake-sane/stuff/sane-fake.log	Sat Jul 25 13:58:53 2015 +0200
     7.3 @@ -0,0 +1,1 @@
     7.4 +fake:brother:bus1;dev2,[fake] Brother MFC-8420|fake:hpoj:mlc:usb:psc_1200_series,[fake] Hewlett-Packard psc 1200 series|fake:hpaio::usb:PSC_1600_series:serial=MY5CJF3044L0,[fake] hp PSC_1600_series|fake:brother:bus1;dev2.patched,[fake+patched] Brother MFC-8420|fake:hpoj:mlc:usb:psc_1200_series.patched,[fake+patched] Hewlett-Packard psc 1200 series|