AirScan/eSCL on MorphOS
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    Quote:

    Primax wrote:
    Just tested it with my Canon G6050: works great! Thanks!! :)


    Great! I'm adding it to the list of supported devices.
  • »18.04.26 - 16:49
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 564 from 2013/5/29
    I can prescan with my Hp envy 5640 but when It finish It freeze de program. The scan is done ok.
    But when trying to scan (real scan) It gang at connecting to scanner.

    This looks promising anyway!
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »18.04.26 - 17:45
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    @tolkien


    Please click Scanner Capabilities and paste here what the program displays.

    [ Edited by tomasz 19.04.2026 - 03:32 ]
  • »19.04.26 - 03:32
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    Quote:

    cyfm wrote:
    Hi,

    Nice progress in the UI! The program now detects my HP Color LJ Pro MFP 3302 properly but it indeed still fails when I try to scan

    "Failure when receiving data from the peer! (56)
    File: AirScanner4.hws [current line: 589 - In function: perform}

    though (and completely quits the program then)

    On a positive note, it indeed starts to get data with PreScan and it gets displayed in the preview area, albeit not from the single sheet feeder.

    Definitely progress, great !




    The feeder isn't programmed yet. I'm trying to gradually introduce options that I can't test myself. Unfortunately, my scanner doesn't have a feeder. Please use Scanner Capabilities and paste the displayed result here.
  • »19.04.26 - 03:46
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 564 from 2013/5/29
    Quote:

    tomasz escribió:
    @tolkien


    Please click Scanner Capabilities and paste here what the program displays.

    [ Edited by tomasz 19.04.2026 - 03:32 ]


    I get this in airscanner debug log:

    Ready. Scan and draw crop rectangle!
    Pobieram /eSCL/ScannerCapabilities ...
    Błąd: brak odpowiedzi z /ScannerCapabilities!
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »19.04.26 - 10:14
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    I see I need to translate some error messages.
    that meant:
    I'm downloading /eSCL/ScannerCapabilities ...
    Error: No response from /ScannerCapabilities!


    [ Edited by tomasz 19.04.2026 - 15:45 ]
  • »19.04.26 - 15:42
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    I've uploaded a new version of the program. Currently, during the first successful connection to the scanner, the program downloads a list of supported resolutions, sends them to the selection window, and saves them in a preferences file along with the IP address and the detected scanner name. Upon restart, the program loads this data into the interface. You won't see resolutions your scanner doesn't support anymore.

    Unfortunately, access to the scanner's properties, which are normally shared with the scanner's address in /eSCL/ScannerCapabilities, is key to this program's logic. The non-standard location of this information prevents the program from working properly in this version. However, I will continue to investigate a solution.
  • »19.04.26 - 16:31
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    Quote:

    tolkien wrote:
    I get this in airscanner debug log:

    Ready. Scan and draw crop rectangle!
    Pobieram /eSCL/ScannerCapabilities ...
    Błąd: brak odpowiedzi z /ScannerCapabilities!


    Try to choose HTTP instead of HTTPS before clicking Scanner capabilities.



    [ Edited by tomasz 19.04.2026 - 17:44 ]
  • »19.04.26 - 17:42
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 564 from 2013/5/29
    With http I get Error: no response from /ScannerCapabilities!
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »20.04.26 - 13:16
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 778 from 2004/2/10
    I tried my Canon MF750.

    Only HTTP saw the scanner, not HTTPS.

    When I hit scan you see the scanner get ready to scan but just stop before it does it.

    Here is the message in the box:
    Scan start failed: HTTP 500
  • »20.04.26 - 17:59
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    Do yu see anything after clicking HTTP and Scanner Capabilities?
  • »20.04.26 - 18:03
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 778 from 2004/2/10
    Quote:

    tomasz wrote:
    Do yu see anything after clicking HTTP and Scanner Capabilities?


    Yes, lots and lots of text. I will PM it to you...
  • »20.04.26 - 18:27
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    Quote:

    tolkien wrote:
    With http I get Error: no response from /ScannerCapabilities!


    Did I understand you correctly that despite these errors, in prescan mode it saves escl_prescan.jpg to RAM:T?
    I'm embarrassed to ask, but in the printer settings (via the website) do you have Network scanning = Enable?
  • »20.04.26 - 18:41
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 564 from 2013/5/29
    Dont worry about asking hehehehe
    But I have something extrange here. My printer/scanner is at 192.168.0.63 but airScanner is pointing to 192.168.0.69 and it can prescan!
    Each time I change it to 0.63 it cant find the scanner but can prescan and when I restart the program it shows 0.69 again and detect the scanner!

    Even I have created airScanner.prefs with 102.168.0.63 but it shows 0.69 and can prescan.

    So...difficult to explain. Will wait for more updates and no bored to you with this madness.
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »21.04.26 - 16:34
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    Indeed, what you're saying is interesting. The address 69 visible at startup is my scanner's address. I can, of course, change it to 0.0.0.0 or 192.168.0.0, but I think it's a minor issue since after the first time I save the correct address, it's already loaded from preferences. Why it works for you with my address and not the actual printer address, I have no idea :). Similarly, I have no idea how it's possible that prescan works for you but scanner capabilities don't. I'm afraid you might lose prescan with subsequent versions, because since the current version 0.58, I've also been relying on capabilities for prescan. I've tried finding more information about your printer online, but only generalities. You've probably implemented an early version of eSCL, from before the Mopria standard was established, and that's why I'm having trouble meeting its requirements. If subsequent versions do not work for you, we will make a simplified version for you based on the working prescan, because as I understand it, prescan worked for you and saves the file in ram:T?
  • »21.04.26 - 17:36
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Posts: 564 from 2013/5/29
    Yes, prescan works and the result is saved to ram, then the program freezes.

    Perhaps the problem is what you say, a no so complete protocol support in my printer/scanner

    I Will try further versions so keep the good work and thanks.
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »21.04.26 - 19:25
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 778 from 2004/2/10
    Tried newest version and when I scan it gives a Hollywood Player error window that says:
    Image file "esci_scan.jpg" is in an unknown/unsupported format! File: airScanner4hws (current line: 866 - In function: Load Brush)

    After you close the error window is closes the app.

    Prescan seems to work fine.

    Quote:

    tomasz wrote:
    Version 0.6 here


    1SyNWkv.jpeg
    s3Ex2bI
  • »22.04.26 - 14:55
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    Try this temporary alpha: https://amiga.icu/download.php?lng=en&pg=10&tconfig=3#z2

    Changes in prescan and scan plus extra in the Advanced tab, an additional scan button that currently scans to a PDF file - it will not display the scanning result but should save the PDF in RAM:
  • »22.04.26 - 17:13
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 778 from 2004/2/10
    Quote:

    tomasz wrote:
    Try this temporary alpha: https://amiga.icu/download.php?lng=en&pg=10&tconfig=3#z2

    Changes in prescan and scan plus extra in the Advanced tab, an additional scan button that currently scans to a PDF file - it will not display the scanning result but should save the PDF in RAM:



    Making progress :)

    It creates a blank PDF in ram.

    The prescan create a jpeg in ram that is readable.
  • »22.04.26 - 21:01
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    Updated to 0.63. Polish, German, French, Italian and Spanish catalogs included. Added support for TIFF format (if supported by the scanner). Increased time limit, which improved scanning at high resolutions.


    airScanner
  • »25.04.26 - 18:33
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Primax
    Posts: 208 from 2021/7/2
    ...ah, and you changed prefs file name!
    At first I was "startled" that my scan prefs have gone... ;)

    At least in my case, saving JPG files in black&white or grey mode is not possible:

    "This functionality requires library "filters"!
    File: airScanner.hws (current line: 632 - In function: BrushToMonochrome)".

    One question regarding usage: if I do a prescan, does this prescan already uses the DPI set in real scanning?
    Or what is the correct usage:
    1.) Prescan
    2.) mark the area I want to save
    and then?
    3.) just save? or
    3.) scan?
    AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon X1650 / AmigaOS 4.1 Final Edition / MorphOS 3.19
    Amiga1200 / Blizzard 1230 IV PiStorm32-lite / 128 MB RAM / AmigaOS 3.9
  • »26.04.26 - 05:59
    Profile Visit Website
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    Thank you for your test!
    I forgot to declare the library "filters" in the compilation for MiniWood. This will be corrected in the new version.

    The program's current logic assumes that pre-scanning only serves as a quick preview of the scanned object. It is performed at the lowest possible frequency. The priority is the speed of obtaining the preview. In practice, depending on the scanner, the resolution is 75, 100, or 150 dpi. Higher resolutions are only available in Real and Advanced modes.

    In Basic mode, scanning is always performed in color. The next step is selecting a section (by default, the entire scanner's workspace, i.e., A4, is selected) and saving it in JPEG or PDF format, with optional color conversion using built-in Hollywood functions to grayscale or black and white.

    In Advanced mode, scanning is performed using the scanner's built-in color modes, as in standard scanning software. There is (yet) no cropping, and the entire scanner's workspace (A4) is saved. In the future, I would like to link the Advanced mode to Prescan in such a way that only the area selected in Preview is scanned and not the entire work area.

    To answer your question directly, if you want to save a fragment of an area, run RealScan with a set dpi, then crop the fragment and save it with an optional color mode change. Prescan is not required, unless the lowest resolution is sufficient, in which case you can process everything in Prescan mode.
  • »26.04.26 - 12:03
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    matt3
    Posts: 778 from 2004/2/10
    The link for the software doesn't work.
  • »27.04.26 - 19:20
    Profile
  • Cocoon
    Cocoon
    tomasz
    Posts: 58 from 2026/2/11
    From: Poland
    That's weird. The link was correct but it didn't work. I replaced it with the same one and it works.
  • »28.04.26 - 13:39
    Profile