I think it would be nice if my guests could easily print and scan when they are visiting.

Printing should be relatively easy nowadays with the printer on the same network. Scanning is another story. I found this nice project which works very nicely.

However, I would love to have the same but for printing, that way I would not have to do device specific troubleshooting/helping when trying to print something from guests’ devices.

There is this project, which has a screenshot of what seems to be exactly what I’m looking for, but the issues are unanswered, there is no release, the building of the project is lacking.

Dockerfiles are incomplete, they are lacking copy yarn.lock and api lacks db initialization. The ports seem to be hardcoded. And once built, it doesn’t work or at least I didn’t manage yet. I got the frontend finally up but can’t login. My knowledge is very limited so I’m checking with you if there is anything similar in the landscape or anyone willing to help on that project. Unfortunately I am locked out of github.

CUPS didn’t work for me as I can’t see an upload option on the web UI.

  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    21 minutes ago

    CUPS didn’t work for me as I can’t see an upload option on the web UI.

    And you won’t. For the purpose of printing, CUPS is a print server, not a web front-end. It facilitates communication between client devices and downstream printers through a unified open protocol that isn’t manufacturer-dependent.

    Printing is implemented through IPP, which is an HTTP-based protocol. You have to add the URL of the printer as it appears on the web UI (e.g. https://print.mydomain.net/printers/PRINTER_NAME) as a printer in the client device’s printer manager. It’s plug-and-play on Linux and Mac, and needs a driver (even if it’s the generic PostScript driver) on Windows.

  • cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    8
    ·
    6 hours ago

    The CUPS web UI is just for configuration. As long as the printer is shared, it should automatically show up in the printers list for any Linux PC on the same network.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      So, I’d just use Samba or whatever to share it too. It’ll do a number of things better, like letting software render for an appropriate page size in the printer automatically.

      However, OP is specifically trying to avoid using this route, because he’s concerned about people having trouble with setting it up on their client devices, so he just wants to bypass all that and to have a Web UI where one uploads the document after it’s been rendered to a PDF or similar.

    • excess0680@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      5 hours ago

      The CUPS server should just work out of the box (not including printer setup) for Windows and Android as well. If the server you use is based on a recent-ish version from OpenPrinting (as it was on Debian 12, so about three years old), it should also work out of the box for iOS.

  • Reannlegge@lemmy.ca
    link
    fedilink
    English
    arrow-up
    4
    ·
    6 hours ago

    I have always used cups and never had problems with what you are talking about, however using the web ui is relatively new to me. SANE I have always had issues with no matter the UI I use.

    • Shimitar@downonthestreet.eu
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 hours ago

      Op want to upload a file to a web GUI and print it from there, not share printers with other computer/ devices.

      Also, scanservejs is the the sane web GUI to actually do the same with scanner.

      For scanning it make sense as there are no shared scanning solutions across platforms. For printing, it’s of little use as other pointed out you can print to cups from anything basically.

      But o get the need for a web printing page, as uploading a file and hit print button is a zero setup, and while simple even remote cups printing is not 0% extra setup, you have at the very least to select a printer or hit “share as” and select a print service (android). YMMV

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    6 hours ago

    CUPS didn’t work for me as I can’t see an upload option on the web UI.

    CUPS is really intended as the backend. Whatever software you run will talk to CUPS.

    I’ve never used it, but Savapage appears to be such a frontend.

    EDIT: It may be more elaborate than what you want. It looks like this thing is capable of being set up to run a commercial printing service. It can probably also do what you want, but it’s going to have a lot of functionality that you wouldn’t use if you’re just running an unauthenticated, anyone-can-use-it system.

  • vegetaaaaaaa@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 hours ago

    I use SANE for scanning.

    • install sane-utils
    • configure /etc/sane.d/saned.conf, list the IP adresses or network allowed to connect
    • start saned.socket

    on your client (linux desktop)

    • add the SANE server IP to to the config echo "192.168.xx.xx" > /etc/sane.d/net.conf
    • list the scanners scanimage -L

    The scanner is also automatically listed in scanning utilities like simple-scan etc. Don’t know about phones or other devices, I assume there are scanner auto-discovery utilities; phones also have cameras so thy can scan on their own. I don’t know about Web UIs, why not just use native printing/scanning features of guest devices?

    • Shimitar@downonthestreet.eu
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 hours ago

      This won’t work for Android windows and such devices. And it’s a pain to setup, won’t work 100% and some scanners are ven worse .

      Scanservejs is the final solution for all platforms.

      • Alfredolin@sopuli.xyzOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 hour ago

        This. The goal is to have guests and family able to scan from whatever device, not from my huge linux gaming rig 😂. This one works already. And as said, point is covered, now I need the same for printing.

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    3
    ·
    6 hours ago

    No cups does not print from web UI, it’s only for management. Cups is used to install a d manage the printer, all your computers can then print over the network using cups, but they still need to configure the (remote cups) printer locally.