Print to openSUSE CUPS Server from Android Phone

Hello :slight_smile:

I’m trying to print to my Samsung CLP-325 print connected to my openSUSE 13.2 box using a smartphone running Android 5.1.1.
I’ve tried Shared Printing Plugin, CUPS Printing, Samsung Print Service and possibly some others. And I haven’t tried a whole bunch that ask for far too many permissions.
The problem with all of these is that they can’t find my printer, when I manually it I get either an error while doing so, no option to print to it and it magically dissapearing or an error when trying to print to it - depending on the application used. The odd thin is that CUPS Printing itself is working fine frommy windows computers.

I think CUPS Printing is my best bet and would probably work if I could get it to find my printer automatically. I have “Publish printers within the local network” enabled in the Yast2 -> Printers -> Share Printers but this doesn’t seem to work. Anyone who is printing to his or her CUPS Server?
I don’t want to use Google Cloud Print if it can be avoided, having to send documents over the internet even when you’re in the same LAN is ridiculous.

Typically,
You need to have support for the specific printer installed on the client (in this case your Android phone).
This is why you’ll likely find someone selling printer clients in the phone store (Google Play Store).

Match your printer’s make and model with whatever is being offered in the Android printer client application.

TSU

I’ve tried Shared Printing Plugin, CUPS Printing, Samsung Print Service and possibly some others. And I haven’t tried a whole bunch that ask for far too many permissions.
The problem with all of these is that they can’t find my printer, when I manually it I get either an error while doing so, no option to print to it and it magically dissapearing or an error when trying to print to it - depending on the application used. The odd thin is that CUPS Printing itself is working fine frommy windows computers.

I think CUPS Printing is my best bet and would probably work if I could get it to find my printer automatically. I have “Publish printers within the local network” enabled in the Yast2 -> Printers -> Share Printers but this doesn’t seem to work. Anyone who is printing to his or her CUPS Server?

Since you have an openSUSE 13.2 machine acting as a CUPS print server (make sure the printer is shared first), you might want to consider using the ‘Shared printer plugin -CUPS’. YMMV.

https://play.google.com/store/apps/details?id=org.cups.android&hl=en
https://www.androidpit.com/app/org.cups.android

You might want to port scan the server address to verify that it is listening on port 631 first.

[QUOTE=Axeia;2740395]Hello :slight_smile:

I’m trying to print to my Samsung CLP-325 print connected to my openSUSE 13.2 box using a smartphone running Android 5.1.1.
I’ve tried Shared Printing Plugin, CUPS Printing, Samsung Print Service and possibly some others. And I haven’t tried a whole bunch that ask for far too many permissions.
The problem with all of these is that they can’t find my printer, when I manually it I get either an error while doing so, no option to print to it and it magically dissapearing or an error when trying to print to it - depending on the application used. The odd thin is that CUPS Printing itself is working fine frommy windows computers.

I think CUPS Printing is my best bet and would probably work if I could get it to find my printer automatically. I have “Publish printers within the local network” enabled in the Yast2 -> Printers -> Share Printers but this doesn’t seem to work. Anyone who is printing to his or her CUPS Server?
I don’t want to use Google Cloud Print if it can be avoided, having to send documents over the internet even when you’re in the same LAN is ridiculous.[/QUOTE]

I’m still using my own solution for this. It’s no longer maintained but http://mobd.jonbanjo.com/jfcupsprintservice/

At the time of writing the original jfcupsprint, I couldn’t find a free app that met my own needs (eg. Let’s Print Droid worked but wouldn’t let me do things like print to 4x6 glossy on my Epson P50) but things have probably changed a lot since then. I haven’t hade the need to look of antoher app but I am aware of at least one project that ports the CUPS libraries to Android.

Trying to think where you might be having a problem… CUPS went through big changes in I think 1.6. The old CUPS browsing was dropped in favour of mDNS and one System doesn’t always see printers on the other. I think cups-browsed (http://manpages.ubuntu.com/manpages/trusty/man8/cups-browsed.8.html) can help with some of this but I’ve not really gone into it.

Good point. Yes, the ‘cups-browsed’ daemon will allow older CUPS clients (expecting to use the ‘cups’ protocol) to find available printers on a local network.

I installed the cups-browsed daemon but to no avail.

Congratulations to Google I suppose as I caved in and am using cloudprinting now. Not the solution I wanted to use but sadly it’s the only one that works. I have the Chromium browser open at all times for now, iirc there’s a headless service as well so I’ll look into that in the future.