On 2024-07-24 11:09, Rick Thomas wrote:
What's the best way to install (and configure) the CUPS printer software on a machine that doesn't have any GUI software?Specifically, the Marvell OpenRD machines that I have ("client" and "ultimate") only have 500 MB of RAM. So I'm reluctant to install a GUI (though I realize they have a VGA port so it *is* possible to do so) for fear of running out of available RAM. I'd like to install CUPS to interface the OpenRDs to my HP laser printer, but I haven't found any way to configure CUPS with only a CLI text console. The recommended way in the CUPS docs is to point a web browser at "localhost:631" but that doesn't work if you don't have a web browser on the machine. The way I've done it before involved using the "lynx" browser but that is very difficult and absolutely crazy-making. The really best thing would be to connect from some some other, larger machine on the LAN that *does* have a GUI and web browser (for example, my desktop Mac) to the port that appears on the OpenRD as "http://localhost:631". Some of my duck-duck-go-ing has produced things that hint this is possible, but didn't give any details. But if there's a pure-CLI way to do it, I'd be happy with that, too. Can you point me to some documentation that might help? Thanks! Rick
without any desktop it can be set up with lpadmin. I found the hard bit was finding out what cups thought the printer was called.
mick

