If you value reliability and have other things to do besides maintaining a Linux machine, I recommend https://www.decisivetactics.com/products/printopia/ for Mac OS (works on Tahoe). I scrapped my Linux box, got a Mac mini for a home server, and use printopia (not the pro version, just the buy it once individual version) for using my 2 10-20 year old printers on my lan. Can even air print to them. I used to do this w…
Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
81–90 of 102 posts
Re: Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
#82Earlier quoted context omitted.
The user gets spammed with a million permissions popups a day and has no idea what they are actually accepting or what the risks are. The same looking permissions popup usually means something incredibly trivial like notifications or camera, while the webusb spec is exposing you to potentially high risks of damage to hardware or data theft.
>The user gets spammed with a million permissions popups a day and has no idea what they are actually accepting or what the risks are. "A million" is quite the hyperbole. So let's just not do anything anymore because it might cause a permission popup? Or because some idiot might trust a scam website? That's your argument? Sorry, it's not a good argument. >while the webusb spec is exposing you to potentially high risk…
The rest can choose a different browser.
Re: Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
#83>Perhaps I could set them up a Raspberry Pi as a print server? But that would make it not so cheap. And anyway, I’m not convinced they’d go for the extra plugs and wires. $35 and it's yours, with tech support and CUPS/SANE development funding included, and all open source: https://printserver.ink Extra plugs could be eliminated with the help of "IEC320 3 pin C14 TO Male C13+2" cable: https://ae-pic-a1.aliexpress-medi…
> 1 GiB LPDDR4 Wouldn't this be a huge problem trying to print anything with images or more than a page or two (most PDFs for example)?
Re: Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
#84Earlier quoted context omitted.
Fair enough! I just don’t think I fully understand what you’re suggesting.
> I just don’t think I fully understand what you’re suggesting. Sure, sure. Like I said, given your commercial (and closed-source) aspirations, I'm happy to consult on your project as a paid contractor. Doing work for free on a closed-source for-profit project is neither interesting nor in my interest.
And if you're not going to spell it out due to your morals, don't comment.
Re: Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
#85So here’s what I did: the agent only spits out a JSON action plan and never executes anything directly. A separate validator checks the plan against a whitelist of allowed USB commands before anything gets sent forward. In short, treat the agent like an untrusted external contributor—that’s exactly what it is.
The SSH/VM approach from the article works well for pure coding. But with hardware-in-the-loop setups, you need that extra barrier between "the agent wants to do X" and "X actually happens."
Re: Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
#86>Perhaps I could set them up a Raspberry Pi as a print server? But that would make it not so cheap. And anyway, I’m not convinced they’d go for the extra plugs and wires. $35 and it's yours, with tech support and CUPS/SANE development funding included, and all open source: https://printserver.ink Extra plugs could be eliminated with the help of "IEC320 3 pin C14 TO Male C13+2" cable: https://ae-pic-a1.aliexpress-medi…
> 1 GiB LPDDR4 Wouldn't this be a huge problem trying to print anything with images or more than a page or two (most PDFs for example)?
Re: Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
#87Earlier quoted context omitted.
>The user gets spammed with a million permissions popups a day and has no idea what they are actually accepting or what the risks are. "A million" is quite the hyperbole. So let's just not do anything anymore because it might cause a permission popup? Or because some idiot might trust a scam website? That's your argument? Sorry, it's not a good argument. >while the webusb spec is exposing you to potentially high risk…
That’s the source of the issue. Apple sells products that are safe for someone’s stupid grandfather. WebUSB is not safe for people who don’t understand the implications. Which is most people. The rest can choose a different browser.
Then then they should be selling it in "grandfather mode". The rest of the non-stupid people that have iPhones (there are non-stupid people with iPhones, aren't there?) should be able to do what they want with their devices. But they can't because Apple puts profit over progress.
>The rest can choose a different browser.
Except on iOS you can't choose a different browser. Apple has blocked all other browsers on their mobile platform, so if you try to install Chrome, you're really just getting a Safari webview with a wrapper around it. It's just another example of abusive business tactics that the DOJ is suing Apple for.
Re: Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
#88> 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…
The hardest part would probably be convincing someone to pay to white label something for which most of the key design choices and implementation came from one unfamiliar dev prompting an £18 Claude Code subscription.
Re: Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
#89Earlier quoted context omitted.
That’s the source of the issue. Apple sells products that are safe for someone’s stupid grandfather. WebUSB is not safe for people who don’t understand the implications. Which is most people. The rest can choose a different browser.
>Apple sells products that are safe for someone’s stupid grandfather. Then then they should be selling it in "grandfather mode". The rest of the non-stupid people that have iPhones (there are non-stupid people with iPhones, aren't there?) should be able to do what they want with their devices. But they can't because Apple puts profit over progress. >The rest can choose a different browser. Except on iOS you can't cho…
Re: Rescuing old printers with an in-browser Linux VM bridged to WebUSB over USB/IP
#90I 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?