attachment

<div dir="ltr"><div><font face="arial, sans-serif">I am trying to make an embedded app for a small portable sheetfeed scanner that I want eSCL/AirScan compatibility from.</font></div><font face="arial, sans-serif"><div><font face="arial, sans-serif"><br></font></div>I have some questions about eSCL scanning communication that I can not seem to find the answers to. I was just looking at more docs but  there are so many , they all make my head spin. The only eSCL scanner I have access to is in another city and will not be there for months. I hoped to have this done long before that. </font><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Of course some wireshark traces would go a long way if anyone has some, or can make some.</font><div><br></div><div><font face="arial, sans-serif">question 1, but first some background</font></div><div><font face="arial, sans-serif">eSCL scan job looks something like this, first from Mopria, but just discovered OSX Mojave behaves the same as Mopria</font></div><div><div><b><u><span class="m_3763590693545074297gmail-il"><font face="arial, sans-serif">-------------------------------------------------------------------------------</font></span></u></b></div><div><b><u><font face="arial, sans-serif"><span class="m_3763590693545074297gmail-il">Mopria (OSX Mojave is similar) </span>                   Scanner</font></u></b></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">GET  /eSCL/ScannerCapabilities  ></font></div><div><font face="arial, sans-serif">                                                           <ScannerCapabilities XML</font></div><div><div><font face="arial, sans-serif">GET /eSCL/ScannerStatus ></font></div><div><font face="arial, sans-serif">                                                            <ScannerStatus *Idle" in xml</font></div></div><div><font face="arial, sans-serif">POST /eSCL/ScanJobs >          </font></div><div><font face="arial, sans-serif">                                                            < 201 Created, Location: /eSCL/path</font></div><div><font face="arial, sans-serif">Processing takes a few seconds here</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">GET /eSCL/ScannerStatus ></font></div><div><font face="arial, sans-serif">                                                            <ScannerStatus *Processing" in xml</font></div><div><div><font face="arial, sans-serif">GET /eSCL/ScannerStatus ></font></div><div><font face="arial, sans-serif">                                                            <ScannerStatus *Processing" in xml</font></div></div><div><div><font face="arial, sans-serif">GET /eSCL/ScannerStatus >          </font></div><div><font face="arial, sans-serif">                                                           (should there be a new status here that document is ready? If so what is it?)</font></div><div><font face="arial, sans-serif">                                                            <ScannerStatus *Idle" in xml</font></div></div><div><font face="arial, sans-serif"><br></font></div><div><b><font face="arial, sans-serif">At some point the <span class="m_3763590693545074297gmail-il">Mopria</span> client reports "Scan Failed" </font></b></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">===============================================================================</font></div><div><font face="arial, sans-serif"><br></font></div><div><div><b><u><font face="arial, sans-serif">VueScan                                                    Scanner</font></u></b></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">GET  /eSCL/ScannerCapabilities  ></font></div><div><font face="arial, sans-serif">                                                           <ScannerCapabilities XML</font></div><div><div><font face="arial, sans-serif">GET /eSCL/ScannerStatus ></font></div><div><font face="arial, sans-serif">                                                           < ScannerStatus *Idle" in xml</font></div></div><div><font face="arial, sans-serif">POST /eSCL/ScanJobs  >        </font></div><div><font face="arial, sans-serif">                                                            < 201 Created , Location: /eSCL/path</font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Seems to just wait a few seconds and no further quieres until </font></div><font face="arial, sans-serif"><br class="m_3763590693545074297gmail-m_-1420955588134323371gmail-Apple-interchange-newline"></font></div></div><div><font face="arial, sans-serif">GET  /eSCL/path/NextDocument</font></div><div><font face="arial, sans-serif">                                                              <Document delivery</font></div><div><font face="arial, sans-serif"><br></font></div><div><b><font face="arial, sans-serif">SUCCESS the image is loaded in VueScan</font></b></div><div><font face="arial, sans-serif">-------------------------------------------------------------------------------------------------------------------- </font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I suspect as VueScan is reverse engineered, it is not looking at /eSCL/ScannerStatus before GETing the image as Mopria and OSX Mojave do. </font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I need to know what "<span class="m_3763590693545074297gmail-html-tag" style="white-space:pre-wrap"><pwg:State><font color="#000000">XXX</font></span><span class="m_3763590693545074297gmail-html-tag" style="white-space:pre-wrap"></pwg:State>" condition is required to tell the client that the document is ready. </span></font></div><div><span class="m_3763590693545074297gmail-html-tag" style="white-space:pre-wrap"><font face="arial, sans-serif">The only Status fileds I hae seen are;  Idle, Processing, and Stopped. There has to be another status for pwg:State that says that the document is ready.</font></span></div><div><span class="m_3763590693545074297gmail-html-tag" style="white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><span class="m_3763590693545074297gmail-html-tag" style="white-space:pre-wrap"><font face="arial, sans-serif">2nd question</font></span></div><div><span class="m_3763590693545074297gmail-html-tag" style="white-space:pre-wrap"><font face="arial, sans-serif">in the PWG standard I have seen the following sources in a eSCL/ScannerCapabilities files (some may have been <scan</font></span><span style="font-family:arial,sans-serif;white-space:pre-wrap">:XXX</span><span style="font-family:arial,sans-serif;white-space:pre-wrap">> and not <pwg:XXX>  </span></div><div><font face="arial, sans-serif">Platen</font></div><div><font face="arial, sans-serif">Feeder (this is an ADF???)</font></div><div><font face="arial, sans-serif">ADFOption</font></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif">Is there an option, for a single Sheet feed scanner? I know that while looking at the many of these files I have seen "Feeder" and something like "ADFOption". I can not seem to locate all of the files particularly the one that I saw "feeder" in so I may have seen it on the Internet.</font></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif"> </font></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif"><br></font></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif">3rd question</font></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif" style="">Is there a standardized method to tell the client that there is no flatbed preview? I know probably in eSCL/ScannerCapabilities.  OSX Mojave just seems to work from an actual Scan from what I saw . If a client requires a preview I prefer to send a generic image that says somehing like "No Preview Available, Click scan to start." OSX Mojave seems to start a Preview on selection of the scanner. I later discovered however I do not have "Preview" in the ScanIntent option. Had this option been there perhaps OSX would have sent "preview" in place of "300"????</font></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif" style=""><br></font></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif" style="">Thanks, I could really use some advice and figure perhaps someone here knows and be kind enough to share a little.</font></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif" style=""><br></font></span></div><div><span style="color:rgb(0,0,0);white-space:pre-wrap"><font face="arial, sans-serif" style="">Mark de Leon</font></span></div></div></div>