I know that it is a heavyweight solution, but it could be useful for some situations with old driver/devices/applications. I have some old hardware that is compatible only with pre-WinNT OS, and I could do something similar to provide a simple solution for the end user.
morpheuskafkatoday at 5:50 PM
If you are using an LLM, wouldn't it have been a lot easier to just have the LLM find the relevant CUPS driver decompile or just capture the USB traffic, and rewrite it in Go or something native? (No need to deal with the system printing framework, the goal was just an app that accepts JPEG input.)
ale42today at 9:02 PM
I'm using an ancient Canon Selphy photo printer... on Windows 11 without any issues. Using the Windows 7 64-bit driver, worked basically out-of-the-box. It's definitely not officially supported, but to date it works totally fine.
Gabrys1today at 7:56 PM
> I must apologise that I haven’t so far open-sourced any part of this that I don’t have to. Mainly that’s because I think this would be an awesomely sticky web property for a printer consumables firm to integrate with their sales site. And I’d much prefer it if they paid me to white-label it for them, rather than just forking a repo and getting it all for free.
They might be interested if they cared at all about the ease of use of their printers
PunchyHamstertoday at 9:09 PM
Doesn't Apple outright uses CUPS in the first place ? Did they just removed old drivers in their version ?
bityardtoday at 6:38 PM
Okay, this is reasonably genius. I have quite a few USB devices lying around that are either old enough or were niche enough that they don't work on modern _anything_, even Linux. One of them is a GameBoy Advance flash cartridge.
juancntoday at 6:23 PM
Thank you, loved this and it made me "duh!".
I have an old-ish Samsung laser printer that works perfectly and a Linux file server at home and the printer no longer supports AirPrint.
I never thought about using the Linux box as an AirPrint server!
This will free me from all the odd print requests from my kids! (probably)
SoftTalkertoday at 6:25 PM
I have an old Epson MX80 dot-matrix printer in the closet, have thought about getting a Raspberry Pi and setting that up so we can wirelessly print to it. But... who would really want that?
simonciontoday at 9:23 PM
Oh neat. v86 is mentioned in the FOSDEM 2025 slides [0] for another wasm port of QEMU. Interesting that what appears to be v86's inability to run x86 executables didn't fuck you.
I wonder why the decision wasn't made to use the network sharing features of SANE and CUPS, instead of requiring one to use Chrome due to the WebUSB dependency. Seems to me that you'd have a way more general solution if you could usefully deploy your VM both in any major web browser and as a standalone program.
Isn't cups a de facto apple project? What's the VM getting you?
DeathArrowtoday at 7:20 PM
I would have asked Claude to write a driver. But this works, too. :)
leptonstoday at 6:44 PM
Too bad Apple is still preventing the WebUSB spec from being standardized. They won't even make suggestions to get it through committee because WebUSB might cut into their native app store.
randusernametoday at 7:54 PM
what the heck we're not in web 1.0 anymore are we
hulitutoday at 5:51 PM
Another AI add.
redeemantoday at 5:45 PM
surely a glorious OS like osx would not be without support for hardware that linux supports? when will it be year of osx desktop?