[cups] Scanning question (OT?)
Till Kamppeter
till.kamppeter at gmail.com
Thu Jul 15 02:23:30 PDT 2021
Mark, I am putting Alexander Pevzner, author of the eSCL/WSD SANE
backend sane-airscan, into the loop.
Alex, could you help Mark to solve this problem? Thanks.
Till
On 15/07/2021 10:55, Mark Dm wrote:
> This may be off topic for this group but I thought after weeks I might now
> give it a try Please forgive me if it is the wrong place but I have no
> idea where lines between CUPS and OpenPrinting and PWG begin and endi
>
> Some time ago I put together a scanning app that employed the eSCL /
> Airscan protocol. I never did have great compatibility with some clients
> like escl/Airscan for Linux. It seemed to never work with Apple or Mopria
> Scan for Android
>
> Recently I found a tool that made it easy for me to modify that same code
> to share a Windows scanner over the eSCL protocol. To my delight I also
> discovered that Mopria has published a document with details of the eSCL
> protocol, finally. No more reverse engineering, or so I thought.
>
> That Mopria doc is here
> Spec Download (mopria.org) <https://mopria.org/spec-download>
>
> After cleaning up, updating and refining code to take to from Linux to
> Windows, PHP 6 to PHP 8, and referencing the Mopria Document, sure enough
> in exactly the same place in the scanning transaction where I had issues
> before;
>
> That Mopria document seems to lack details to actually get the scan into
> the Mopria Android client.
>
> So, I now come to the point where I must ask...
>
> At the point that Mopria Android makes the GET request for the scanned
> image, it seems to be looking for a "Chunked" reply. Now I have spent
> nearly two weeks trying to formulate a chunked reply that will satisfy the
> Mopria Android Client from Apache / PHP8. I have made occasional tests from
> OSX 10.14 as well with the same results. The response from my Apache/PHP8
> configuration seems to be ignored, no matter what I have tried. Of course
> the Mopria doc seems to be somewhat vague in this regard.
>
> Does anyone have any info on formulating a proper delivery of the
> chunked payload of PDF or JPG that works with macOS and Mopria Android?
>
> Note:
> It seems that at least one (possibly both) of the Linux backends do not
> care if the data is not chunked or not so they are not valid for testing as
> they are too easy to satisfy and work even when the image is not chunked.
>
>
> Thanks
>
> Mark
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> Virus-free.
> www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://lists.cups.org/mailman/listinfo/cups
>
More information about the cups
mailing list