AirScan / eSCL 协议输入源从 Platen 更改为 ADF for Xerox WorkCentre 3345

AirScan / eSCL protocol input source change from Platen to ADF for Xerox WorkCentre 3345

我有一台 Xerox WorkCentre 3345 多功能 printer/scanner。我声称它支持用于无人驾驶扫描的 eSCL 协议。 我可以用它扫描到名为 'Platen' 的输入源。 问题是无论我如何尝试 它都不会从 'ADF' 扫描输入源.

我需要发送什么 XML 才能从 ADF 扫描?

ScannerCapabilities 文件如下:

<?xml version="1.0" encoding="UTF-8"?>
<scan:ScannerCapabilities xmlns:pwg="http://www.pwg.org/schemas/2010/12/sm" xmlns:scan="http://schemas.hp.com/imaging/escl/2011/05/03">
<pwg:Version>2.5</pwg:Version>
<pwg:MakeAndModel>WorkCentre 3345</pwg:MakeAndModel>
<pwg:SerialNumber>3387495346</pwg:SerialNumber>
<scan:Platen>
    <scan:PlatenInputCaps>
        <scan:MinWidth>1</scan:MinWidth>
        <scan:MaxWidth>2560</scan:MaxWidth>
        <scan:MinHeight>1</scan:MinHeight>
        <scan:MaxHeight>3507</scan:MaxHeight>
        <scan:SettingProfiles>
            <scan:SettingProfile>
                <scan:ColorModes>
                    <scan:ColorMode>BlackAndWhite1</scan:ColorMode>
                    <scan:ColorMode>Grayscale8</scan:ColorMode>
                    <scan:ColorMode>RGB24</scan:ColorMode>
</scan:ColorModes>
                <scan:DocumentFormats>
                    <pwg:DocumentFormat>application/pdf</pwg:DocumentFormat>
                    <scan:DocumentFormatExt>application/pdf</scan:DocumentFormatExt>
                    <pwg:DocumentFormat>image/jpeg</pwg:DocumentFormat>
                    <scan:DocumentFormatExt>image/jpeg</scan:DocumentFormatExt>
</scan:DocumentFormats>
                <scan:SupportedResolutions>
                    <scan:DiscreteResolutions>
                        <scan:DiscreteResolution>
                            <scan:XResolution>100</scan:XResolution>
                            <scan:YResolution>100</scan:YResolution>
</scan:DiscreteResolution>
                        <scan:DiscreteResolution>
                            <scan:XResolution>200</scan:XResolution>
                            <scan:YResolution>200</scan:YResolution>
</scan:DiscreteResolution>
                        <scan:DiscreteResolution>
                            <scan:XResolution>300</scan:XResolution>
                            <scan:YResolution>300</scan:YResolution>
</scan:DiscreteResolution>
                        <scan:DiscreteResolution>
                            <scan:XResolution>600</scan:XResolution>
                            <scan:YResolution>600</scan:YResolution>
</scan:DiscreteResolution>
</scan:DiscreteResolutions>
</scan:SupportedResolutions>
</scan:SettingProfile>
</scan:SettingProfiles>
        <scan:SupportedIntents>
            <scan:Intent>Document</scan:Intent>
            <scan:Intent>TextAndGraphic</scan:Intent>
            <scan:Intent>Photo</scan:Intent>
</scan:SupportedIntents>
        <scan:MaxOpticalXResolution>600</scan:MaxOpticalXResolution>
        <scan:MaxOpticalYResolution>600</scan:MaxOpticalYResolution>
</scan:PlatenInputCaps>
</scan:Platen>
<scan:Adf>
    <scan:AdfSimplexInputCaps>
        <scan:MinWidth>1</scan:MinWidth>
        <scan:MaxWidth>5120</scan:MaxWidth>
        <scan:MinHeight>1</scan:MinHeight>
        <scan:MaxHeight>4200</scan:MaxHeight>
        <scan:SettingProfiles>
            <scan:SettingProfile>
                <scan:ColorModes>
                    <scan:ColorMode>BlackAndWhite1</scan:ColorMode>
                    <scan:ColorMode>Grayscale8</scan:ColorMode>
                    <scan:ColorMode>RGB24</scan:ColorMode>
</scan:ColorModes>
                <scan:DocumentFormats>
                    <pwg:DocumentFormat>application/pdf</pwg:DocumentFormat>
                    <scan:DocumentFormatExt>application/pdf</scan:DocumentFormatExt>
                    <pwg:DocumentFormat>image/jpeg</pwg:DocumentFormat>
                    <scan:DocumentFormatExt>image/jpeg</scan:DocumentFormatExt>
</scan:DocumentFormats>
                <scan:SupportedResolutions>
                    <scan:DiscreteResolutions>
                        <scan:DiscreteResolution>
                            <scan:XResolution>100</scan:XResolution>
                            <scan:YResolution>100</scan:YResolution>
</scan:DiscreteResolution>
                        <scan:DiscreteResolution>
                            <scan:XResolution>200</scan:XResolution>
                            <scan:YResolution>200</scan:YResolution>
</scan:DiscreteResolution>
                        <scan:DiscreteResolution>
                            <scan:XResolution>300</scan:XResolution>
                            <scan:YResolution>300</scan:YResolution>
</scan:DiscreteResolution>
                        <scan:DiscreteResolution>
                            <scan:XResolution>600</scan:XResolution>
                            <scan:YResolution>600</scan:YResolution>
</scan:DiscreteResolution>
</scan:DiscreteResolutions>
</scan:SupportedResolutions>
</scan:SettingProfile>
</scan:SettingProfiles>
        <scan:SupportedIntents>
            <scan:Intent>Document</scan:Intent>
            <scan:Intent>TextAndGraphic</scan:Intent>
            <scan:Intent>Photo</scan:Intent>
</scan:SupportedIntents>
        <scan:MaxOpticalXResolution>600</scan:MaxOpticalXResolution>
        <scan:MaxOpticalYResolution>600</scan:MaxOpticalYResolution>
</scan:AdfSimplexInputCaps>
    <scan:FeederCapacity>100</scan:FeederCapacity>
    <scan:AdfOptions>
        <scan:AdfOption>DetectPaperLoaded</scan:AdfOption>
</scan:AdfOptions>
</scan:Adf>
</scan:ScannerCapabilities>

我可以使用以下 XML 扫描到 Platen:

<?xml version="1.0" encoding="UTF-8"?>
<scan:ScanSettings xmlns:pwg="http://www.pwg.org/schemas/2010/12/sm"
                   xmlns:scan="http://schemas.hp.com/imaging/escl/2011/05/03">
  <pwg:Version>2.5</pwg:Version>
  <pwg:ScanRegions>
    <pwg:ScanRegion>
      <pwg:Height>3507</pwg:Height>
      <pwg:Width>2560</pwg:Width>
      <pwg:XOffset>0</pwg:XOffset>
      <pwg:YOffset>0</pwg:YOffset>
    </pwg:ScanRegion>
  </pwg:ScanRegions>
  <pwg:InputSource>Platen</pwg:InputSource> <!-- Changing this line to Adf or AdfSimplex does not help!-->
  <scan:ColorMode>Grayscale8</scan:ColorMode>
  <scan:XResolution>600</scan:XResolution>
  <scan:YResolution>600</scan:YResolution>
  <pwg:DocumentFormat>application/pdf</pwg:DocumentFormat>
  <scan:Intent>Document</scan:Intent>
</scan:ScanSettings>

尝试以下行:

<pwg:InputSource>Feeder</pwg:InputSource>