On Thu, 21 May 2020 at 22:35, Thierry HUCAHRD <thie...@ordissimo.com> wrote:

> Can you tell me your OS and its version!
> can you provide me with the log:
> SANE_DEBUG_ESCL=999 scanimage -A
>
> Hi,

>From http://www.sane-project.org/sane-supported-devices.html, I have seen
that the Pixma G7000 scanners are not listed for the current version
(1.0.30), but they are listed for the next version with the pixma backends.

So maybe it's just a matter of wrong default backend? Or is escl supposed
to work anyway?

I am using an up to date Arch Linux with sane 1.0.30 (package 1.0.30-1).

I have attached to this email the output of the command and the content
from https://<scanner_ip>:443/eSCL/ScannerCapabilities

Cheers

Benjamin
 SANE_DEBUG_ESCL=999 scanimage -A -d escl:https://<ip>:443                      
                                                                                
                                                                     8.2s  
jeu. 21 mai 2020 20:38:19
Output format is not set, using pnm as a default.
[22:38:20.442115] [sanei_debug] Setting debug level of escl to 999.
[22:38:20.442222] [escl] escl sane_init
[22:38:20.445241] [escl] escl sane_open
[22:38:20.445351] [escl] Get Status : https://<ip>:443/eSCL/ScannerStatus.
[22:38:20.445374] [escl] Ignoring safety certificates, use https
[22:38:20.802728] [escl] Get Capabilities : 
https://<ip>:443/eSCL/ScannerCapabilities
[22:38:20.802782] [escl] Ignoring safety certificates, use https
Capability : [image/jpeg]
Capability : [image/jpeg]
Capability : [image/jpeg]
Capability : [image/jpeg]
[22:38:21.191276] [escl] escl init_options
[22:38:21.191315] [escl] escl sane_get_parameters
[22:38:21.191335] [escl] escl sane_get_option_descriptor
[22:38:21.191351] [escl] escl sane_control_option
[22:38:21.191414] [escl] escl sane_get_option_descriptor
[22:38:21.191441] [escl] escl sane_control_option
[22:38:21.191462] [escl] escl sane_get_option_descriptor
[22:38:21.191480] [escl] escl sane_get_option_descriptor
[22:38:21.191494] [escl] escl sane_get_option_descriptor
[22:38:21.191512] [escl] escl sane_get_option_descriptor
[22:38:21.191529] [escl] escl sane_get_option_descriptor
[22:38:21.191547] [escl] escl sane_get_option_descriptor
[22:38:21.191566] [escl] escl sane_get_option_descriptor
[22:38:21.191586] [escl] escl sane_get_option_descriptor
[22:38:21.191607] [escl] escl sane_get_option_descriptor
[22:38:21.191625] [escl] escl sane_get_option_descriptor
[22:38:21.191641] [escl] escl sane_control_option
[22:38:21.191659] [escl] escl sane_control_option
[22:38:21.191673] [escl] escl sane_control_option
[22:38:21.191690] [escl] escl sane_control_option
[22:38:21.191715] [escl] escl sane_control_option
[22:38:21.191733] [escl] escl sane_get_option_descriptor
[22:38:21.191752] [escl] escl sane_control_option
[22:38:21.191770] [escl] escl sane_control_option
[22:38:21.191787] [escl] escl sane_get_option_descriptor
[22:38:21.191805] [escl] escl sane_control_option

All options specific to device `escl:https://<ip>:443':
[22:38:21.191842] [escl] escl sane_get_option_descriptor
  Scan mode:
[22:38:21.191894] [escl] escl sane_get_option_descriptor
[22:38:21.191933] [escl] escl sane_control_option
    --mode Gray|Color [Gray]
        Selects the scan mode (e.g., lineart, monochrome, or color).
[22:38:21.191979] [escl] escl sane_get_option_descriptor
[22:38:21.192003] [escl] escl sane_control_option
    --resolution 75|100|150|200|300|600|1200dpi [75]
        Sets the resolution of the scanned image.
[22:38:21.192039] [escl] escl sane_get_option_descriptor
[22:38:21.192058] [escl] escl sane_control_option
    --preview[=(yes|no)] [no]
        Request a preview-quality scan.
[22:38:21.192091] [escl] escl sane_get_option_descriptor
[22:38:21.192111] [escl] escl sane_control_option
    --preview-in-gray[=(yes|no)] [no]
        Request that all previews are done in monochrome mode.  On a
        three-pass scanner this cuts down the number of passes to one and on a
        one-pass scanner, it reduces the memory requirements and scan-time of
        the preview.
[22:38:21.192178] [escl] escl sane_get_option_descriptor
  Geometry:
[22:38:21.192215] [escl] escl sane_control_option
    -l 0..0.0388947pel (in steps of 1.52588e-05) [0]
        Top-left x position of scan area.
[22:38:21.192260] [escl] escl sane_control_option
    -t 0..0.0535126pel (in steps of 1.52588e-05) [0]
        Top-left y position of scan area.
[22:38:21.192299] [escl] escl sane_control_option
    -x 0..0.0388947pel (in steps of 1.52588e-05) [0.0389099]
        Width of scan-area.
[22:38:21.192339] [escl] escl sane_control_option
    -y 0..0.0535126pel (in steps of 1.52588e-05) [0.0535278]
        Height of scan-area.

[22:38:21.192382] [escl] escl sane_close
[22:38:21.192407] [escl] escl sane_exit
<?xml version="1.0" encoding="UTF-8"?><!---->
<scan:ScannerCapabilities xsi:schemaLocation="http://schemas.hp.com/imaging/escl/2011/05/03 eSCL.xsd" 
    xmlns:scan="http://schemas.hp.com/imaging/escl/2011/05/03"; 
    xmlns:pwg="http://www.pwg.org/schemas/2010/12/sm"; 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <pwg:Version>2.63</pwg:Version>
    <pwg:MakeAndModel>Canon G7000 series</pwg:MakeAndModel>
    <pwg:SerialNumber>000000000000</pwg:SerialNumber>
    <scan:UUID>00000000-0000-1000-8000-000000000000</scan:UUID>
    <scan:AdminURI>http://000000000000.local./index.html?page=PAGE_AAP</scan:AdminURI>
    <scan:IconURI>http://000000000000.local./icon/printer_icon.png</scan:IconURI>
    <scan:Platen>        <!-- FB start -->
        <scan:PlatenInputCaps>
            <scan:MinWidth>1</scan:MinWidth>
            <scan:MaxWidth>2550</scan:MaxWidth>
            <scan:MinHeight>1</scan:MinHeight>
            <scan:MaxHeight>3508</scan:MaxHeight>
            <scan:MaxScanRegions>1</scan:MaxScanRegions>
            <scan:SettingProfiles>
                <scan:SettingProfile>
                    <scan:ColorModes>
                        <scan:ColorMode>Grayscale8</scan:ColorMode>
                        <scan:ColorMode scan:default="true">RGB24</scan:ColorMode>
                    </scan:ColorModes>
                    <scan:ContentTypes>
                        <pwg:ContentType>Photo</pwg:ContentType>
                        <pwg:ContentType>Text</pwg:ContentType>
                        <pwg:ContentType>TextAndPhoto</pwg:ContentType>
                        <pwg:ContentType>Halftone</pwg:ContentType>
                        <pwg:ContentType>Thru</pwg:ContentType>
                        <pwg:ContentType>Auto</pwg:ContentType>
                    </scan:ContentTypes>
                    <scan:DocumentFormats>
                        <pwg:DocumentFormat>image/jpeg</pwg:DocumentFormat>
                        <pwg:DocumentFormat>application/pdf</pwg:DocumentFormat>
                        <scan:DocumentFormatExt scan:default="true">image/jpeg</scan:DocumentFormatExt>
                        <scan:DocumentFormatExt>application/pdf</scan:DocumentFormatExt>
                    </scan:DocumentFormats>
                    <scan:SupportedResolutions>
                        <scan:DiscreteResolutions>
                            <scan:DiscreteResolution>
                                <scan:XResolution>75</scan:XResolution>
                                <scan:YResolution>75</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution>100</scan:XResolution>
                                <scan:YResolution>100</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution>150</scan:XResolution>
                                <scan:YResolution>150</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution>200</scan:XResolution>
                                <scan:YResolution>200</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution scan:default="true">300</scan:XResolution>
                                <scan:YResolution scan:default="true">300</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution>600</scan:XResolution>
                                <scan:YResolution>600</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution>1200</scan:XResolution>
                                <scan:YResolution>1200</scan:YResolution>
                            </scan:DiscreteResolution>
                        </scan:DiscreteResolutions>
                    </scan:SupportedResolutions>
                    <scan:ColorSpaces>
                        <scan:ColorSpace>sRGB</scan:ColorSpace>
                    </scan:ColorSpaces>
                    <scan:CcdChannels>
                        <scan:CcdChannel>NTSC</scan:CcdChannel>
                    </scan:CcdChannels>
                </scan:SettingProfile>
            </scan:SettingProfiles>
            <scan:SupportedIntents>
                <scan:Intent>Document</scan:Intent>
                <scan:Intent>Photo</scan:Intent>
                <scan:Intent>Preview</scan:Intent>
                <scan:Intent>TextAndGraphic</scan:Intent>
                <scan:Intent>Auto</scan:Intent>
            </scan:SupportedIntents>
            <scan:MaxOpticalXResolution>1200</scan:MaxOpticalXResolution>
            <scan:MaxOpticalYResolution>1200</scan:MaxOpticalYResolution>
            <scan:RiskyLeftMargin>0</scan:RiskyLeftMargin>
            <scan:RiskyRightMargin>0</scan:RiskyRightMargin>
            <scan:RiskyTopMargin>0</scan:RiskyTopMargin>
            <scan:RiskyBottomMargin>0</scan:RiskyBottomMargin>
        </scan:PlatenInputCaps>
    </scan:Platen>    <!-- FB end -->
    <scan:Adf>        <!-- ADF start -->
        <scan:AdfSimplexInputCaps>
            <scan:MinWidth>1</scan:MinWidth>
            <scan:MaxWidth>2550</scan:MaxWidth>
            <scan:MinHeight>1</scan:MinHeight>
            <scan:MaxHeight>4200</scan:MaxHeight>
            <scan:MaxScanRegions>1</scan:MaxScanRegions>
            <scan:SettingProfiles>
                <scan:SettingProfile>
                    <scan:ColorModes>
                        <scan:ColorMode>Grayscale8</scan:ColorMode>
                        <scan:ColorMode scan:default="true">RGB24</scan:ColorMode>
                    </scan:ColorModes>
                    <scan:ContentTypes>
                        <pwg:ContentType>Photo</pwg:ContentType>
                        <pwg:ContentType>Text</pwg:ContentType>
                        <pwg:ContentType>TextAndPhoto</pwg:ContentType>
                        <pwg:ContentType>Halftone</pwg:ContentType>
                        <pwg:ContentType>Thru</pwg:ContentType>
                        <pwg:ContentType>Auto</pwg:ContentType>
                    </scan:ContentTypes>
                    <scan:DocumentFormats>
                        <pwg:DocumentFormat>image/jpeg</pwg:DocumentFormat>
                        <pwg:DocumentFormat>application/pdf</pwg:DocumentFormat>
                        <scan:DocumentFormatExt scan:default="true">image/jpeg</scan:DocumentFormatExt>
                        <scan:DocumentFormatExt>application/pdf</scan:DocumentFormatExt>
                    </scan:DocumentFormats>
                    <scan:SupportedResolutions>
                        <scan:DiscreteResolutions>
                            <scan:DiscreteResolution>
                                <scan:XResolution>75</scan:XResolution>
                                <scan:YResolution>75</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution>100</scan:XResolution>
                                <scan:YResolution>100</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution>150</scan:XResolution>
                                <scan:YResolution>150</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution>200</scan:XResolution>
                                <scan:YResolution>200</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution scan:default="true">300</scan:XResolution>
                                <scan:YResolution scan:default="true">300</scan:YResolution>
                            </scan:DiscreteResolution>
                            <scan:DiscreteResolution>
                                <scan:XResolution>600</scan:XResolution>
                                <scan:YResolution>600</scan:YResolution>
                            </scan:DiscreteResolution>
                        </scan:DiscreteResolutions>
                    </scan:SupportedResolutions>
                    <scan:ColorSpaces>
                        <scan:ColorSpace>sRGB</scan:ColorSpace>
                    </scan:ColorSpaces>
                </scan:SettingProfile>
            </scan:SettingProfiles>
            <scan:SupportedIntents>
                <scan:Intent>Document</scan:Intent>
                <scan:Intent>Photo</scan:Intent>
                <scan:Intent>Preview</scan:Intent>
                <scan:Intent>TextAndGraphic</scan:Intent>
                <scan:Intent>Auto</scan:Intent>
            </scan:SupportedIntents>
            <scan:MaxOpticalXResolution>600</scan:MaxOpticalXResolution>
            <scan:MaxOpticalYResolution>600</scan:MaxOpticalYResolution>
            <scan:RiskyLeftMargin>0</scan:RiskyLeftMargin>
            <scan:RiskyRightMargin>0</scan:RiskyRightMargin>
            <scan:RiskyTopMargin>0</scan:RiskyTopMargin>
            <scan:RiskyBottomMargin>0</scan:RiskyBottomMargin>
        </scan:AdfSimplexInputCaps>
        <scan:FeederCapacity>35</scan:FeederCapacity>
        <scan:AdfOptions>
            <scan:AdfOption>DetectPaperLoaded</scan:AdfOption>
        </scan:AdfOptions>
    </scan:Adf>    <!-- ADF end -->
    <scan:CompressionFactorSupport>
        <scan:Min>0</scan:Min>
        <scan:Max>1</scan:Max>
        <scan:Normal>1</scan:Normal>
        <scan:Step>1</scan:Step>
    </scan:CompressionFactorSupport>
    <scan:SupportedMediaTypes>
        <scan:MediaType>BackgroundReduction</scan:MediaType>
    </scan:SupportedMediaTypes>
    <scan:SharpenSupport>
        <scan:Min>0</scan:Min>
        <scan:Max>1</scan:Max>
        <scan:Normal>0</scan:Normal>
        <scan:Step>1</scan:Step>
    </scan:SharpenSupport>
</scan:ScannerCapabilities>

Reply via email to