AirScan/eSCL on MorphOS
  • Caterpillar
    Caterpillar
    tomasz
    Posts: 39 from 2026/2/11
    From: Poland
    My Epson XP-322 wouldn't communicate with Scandal so I wrote a program like this :)

    762ywcQ.png
    impqw43.png
  • »04.04.26 - 04:28
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 559 from 2013/5/29
    Great!
    Can we test that?
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »05.04.26 - 04:23
    Profile
  • Caterpillar
    Caterpillar
    tomasz
    Posts: 39 from 2026/2/11
    From: Poland
    give me a few days to refine the gui :)
  • »05.04.26 - 06:27
    Profile
  • MorphOS Developer
    cyfm
    Posts: 591 from 2003/4/11
    From: Germany
    Congrats! Something like that is planned for MorphOS 3.22 in fact but optional choices are always nice to have ;)
  • »05.04.26 - 14:35
    Profile Visit Website
  • Caterpillar
    Caterpillar
    tomasz
    Posts: 39 from 2026/2/11
    From: Poland
    The alpha test version is available here: LINK
    The Prescan is automatically saved in RAM, and you can then save the scan to a specified location as a JPG or PDF. For now, it scans and saves the entire canvas, and only in color.
    I hope it will also work on a machine other than my Epson, so let me know.

    [ Edited by tomasz 07.04.2026 - 17:12 ]
  • »07.04.26 - 14:53
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 468 from 2003/2/24
    From: Berlin
    How can I download the archive?
    Where do I have to click?
    I can only expand the description

    [ Edited by igracki 07.04.2026 - 18:19 ]
  • »07.04.26 - 16:56
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 468 from 2003/2/24
    From: Berlin
    Thx, now it works!
  • »07.04.26 - 17:19
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 468 from 2003/2/24
    From: Berlin
    Does it only work with an Epson?
    I have a Canon MX510 and I get a requester saying:
    Couldn't connect to server! (7)
    File: airscanner.hws (current line: 320 - in function: perform)
  • »07.04.26 - 17:26
    Profile Visit Website
  • Caterpillar
    Caterpillar
    tomasz
    Posts: 39 from 2026/2/11
    From: Poland
    I hope scanning will work too... What scanner model do you have?
  • »07.04.26 - 17:26
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 468 from 2003/2/24
    From: Berlin
    Its an old multifunction printer/scanner/fax thing
  • »07.04.26 - 17:31
    Profile Visit Website
  • Caterpillar
    Caterpillar
    tomasz
    Posts: 39 from 2026/2/11
    From: Poland
    This is a program that uses the eSCL (airScan) protocol. It only works with scanners that support eSCL.
  • »07.04.26 - 19:02
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 772 from 2004/2/10
    I tried it and it doesn't work on my Canon MF753cdw, get HTTP 404 error. Suppose to support airscan.
  • »07.04.26 - 19:06
    Profile
  • Caterpillar
    Caterpillar
    tomasz
    Posts: 39 from 2026/2/11
    From: Poland
    @igracki, @matt3

    The test version works on port 413 (https), because that's what my Epson required. It's possible that the Canon uses regular http (port 80). I'll prepare a version with port selection today.

    edit: One more thing: the program doesn't currently detect the scanner's IP address. You need to determine it, for example, in a phone app like Net Scan or a printing/scanning application, and then enter it in the program window. After clicking "Scan," the address is saved in the configuration file and read from it upon restarting the program. However, if the scanner is assigned a dynamic address, you must check this address before each use and, if necessary, correct it in the Scanner IP field.

    [ Edited by tomasz 08.04.2026 - 05:14 ]
  • »08.04.26 - 02:39
    Profile
  • MorphOS Developer
    cyfm
    Posts: 591 from 2003/4/11
    From: Germany
    I tried on my HP Color LJpro MFP3302sdwg by setting the correct IP but I only get some requester

    ---
    Failure when receiving data from the peer! (56)
    File: airScanner.hws (current line: 320 - In function: perform)

    OK
    ---
  • »08.04.26 - 08:22
    Profile Visit Website
  • Caterpillar
    Caterpillar
    tomasz
    Posts: 39 from 2026/2/11
    From: Poland
    Quote:

    igracki wrote:
    Does it only work with an Epson?
    I have a Canon MX510 and I get a requester saying:
    Couldn't connect to server! (7)
    File: airscanner.hws (current line: 320 - in function: perform)


    Gemini claims that "The Canon PIXMA MX510 printer is not directly compatible with the eSCL protocol (also known as AirScan or "driverless scanning")."
    I spent a few hours today with the Canon Pixma MX925 and unfortunately failed. Later, I asked Gemini and they said it's unfortunately not compatible either, and its network scanning features rely on older, proprietary Canon solutions.
  • »08.04.26 - 11:40
    Profile
  • Caterpillar
    Caterpillar
    tomasz
    Posts: 39 from 2026/2/11
    From: Poland
    Quote:

    matt3 wrote:
    I tried it and it doesn't work on my Canon MF753cdw, get HTTP 404 error. Suppose to support airscan.


    Have you checked if the escl/airscan service is enabled? Your hardware is compatible, but it's possible you don't have the service enabled. Error 404 means the program connected to the scanner but can't find the /eSCL/ScanJobs directory. So it's not a port issue. In any case, I'll upload a hardware test version this evening.

    edit:

    I've updated the archive at the same link. I've added the ability to select the connection type (http/https) as well as grayscale and black and white. It's also possible to crop the scan by dragging the bottom and right edges of the rectangle.

    I know that these improvements (aside from http) don't help anyone who can't connect to the scanner, so I'm considering a diagnostic program that would check the availability of the eSCL service in the scanner and help me increase the versatility of airScanner. I intended to include this tool in this program, but I've messed up the code terribly, so I'm going back to the version that works with the Epson XP322. For increased compatibility, I've only added an unencrypted connection as an option.

    [ Edited by tomasz 08.04.2026 - 14:28 ]
  • »08.04.26 - 11:48
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    igracki
    Posts: 468 from 2003/2/24
    From: Berlin
    Quote:

    tomasz wrote:
    Quote:

    igracki wrote:
    Does it only work with an Epson?
    I have a Canon MX510 and I get a requester saying:
    Couldn't connect to server! (7)
    File: airscanner.hws (current line: 320 - in function: perform)


    Gemini claims that "The Canon PIXMA MX510 printer is not directly compatible with the eSCL protocol (also known as AirScan or "driverless scanning")."



    Yeah, I also googled and found out that my printer doesn't support AirScan but it supports AirPrint.

    [ Edited by igracki 08.04.2026 - 17:14 ]
  • »08.04.26 - 16:13
    Profile Visit Website
  • Caterpillar
    Caterpillar
    tomasz
    Posts: 39 from 2026/2/11
    From: Poland
    Works fine with EPSON ET L3160 (series) :)

    k7TJaEz


    and this is last version with cropping the image:


    1MaOPP8

    [ Edited by tomasz 08.04.2026 - 16:25 ]
  • »08.04.26 - 16:22
    Profile
  • Caterpillar
    Caterpillar
    tomasz
    Posts: 39 from 2026/2/11
    From: Poland
    gz7divM.jpeg

    Unfortunately not yet compatible with eSCL 2.9 devices

    using Scanner Capabilities you could examine if your scanner supports escl and what version of this protocol is implemented

    [ Edited by tomasz 13.04.2026 - 17:27 ]
  • »13.04.26 - 17:21
    Profile