Printing from Mobian
#1
What experiences have people here had with printing from Mobian (or any Pinephone
OS)?

I can print once only from Firefox-esr after a re-boot, then no printers show up
in Firefox or any other app. I have a RPi running a cups print server, which
at first allows any of 3 printers to be found, but after one print job, they are
not found.

I'd like to hear of any your ideas, or successes in printing.


John
  Reply
#2
Update:


I had better results by ignoring my CUPS print server and installing cups on

mobian to print directly to my wireless printer.

    sudo apt-get install cups cups-client lpr



Then adding my phone user to lpadmin

    sudo adduser mobian lpadmin

   

Then run CUPS from the browser

    http://localhost:631



Log in as mobian with phone passcode.



Go to Administration, Add Printer, and for me, choose ldp://<PrinterAddress>

To get this to work, I used the PrinterAddress from my other cups server, which

happens to be BrotherHL270-W/BINARY-P1.



This has allowed reliable printing from firefox-esr, Text Editor (gedit),

Image Viewer (eog) and Document Viewer (evince) but not Evolution or the command

line.
  Reply
#3
(05-13-2021, 12:00 AM)johnd Wrote: ... installing cups on mobian to print directly to my wireless printer.

    sudo apt-get install cups cups-client lpr

Then adding my phone user to lpadmin

    sudo adduser mobian lpadmin

    Then run CUPS from the browser    http://localhost:631

Log in as mobian with phone passcode.

Go to Administration, Add Printer, and for me, choose ldp://<PrinterAddress>
...
Is how I do it. Yes have noticed evolution has a mind of its own.
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, Tow-boot with pmOS/SXMO on eMMC
  • PinePhone pmOS Community Edition 2/16Gb driving my picture frame, Tow-boot with pmOS/SXMO on eMMC
  • PinePhone Pro Explorer Edition, Tow-boot on SPI, Arch/SXMO on eMMC
  • ROCKPro64 v2.1 2GB, 16Gb eMMC retired in favour of a fruity upgrade
  Reply
#4
Late to this, but in case it helps anyone landing here from search: the "printers disappear after the first job" pattern is usually cups-browsed/Avahi rather than the phone itself. The remote queues get discovered over mDNS, then dropped when the phone's Wi-Fi power saving makes it miss the next announcement.

What has worked for me on Mobian / Debian-based phones:

1. Use a permanent local queue instead of relying on discovered ones. With CUPS installed locally (as johnd described), add the printer once with a fixed URI, e.g.
sudo lpadmin -p office -E -v ipp://192.168.1.50/ipp/print -m everywhere
-m everywhere uses driverless IPP Everywhere, so no vendor driver is needed if the printer is AirPrint/IPP capable.
2. Make it the default, so command-line tools know where to send jobs:
lpoptions -d office and test with lp -d office /usr/share/cups/data/testprint (or any PDF).
3. If you still want the Pi print server, point the phone straight at it instead of browsing: ipp://<pi-address>:631/printers/<queue-name>, again with a fixed queue.
4. Give the printer a DHCP reservation on the router. Many home printers change address after sleep, which looks exactly like "found once, then gone". If it is a Canon and it keeps dropping off, the router-side steps in this guide on a Canon printer keeps going offline apply to Linux clients too.
5. If Wi-Fi power saving is the culprit, sudo iw dev wlan0 set power_save off (temporary) is a quick way to confirm it.

Evolution prints through GTK like the other apps, so once a fixed default queue exists it usually starts working as well.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mobian MMS/SMS text problem bcnaz 16 41,360 06-23-2026, 06:53 AM
Last Post: mehdy
  Mobian image for the PinePhone Korfou 2 2,208 04-27-2026, 09:57 AM
Last Post: Korfou
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 80 73,187 12-24-2025, 12:11 AM
Last Post: Kevin Kofler
  cryptocurrency on mobian/pinephone biketool 33 75,923 10-08-2025, 06:21 AM
Last Post: biketool
  XLibre for Mobian Hiraghm 0 3,698 06-29-2025, 12:38 PM
Last Post: Hiraghm
  Axolotl on PinePhone / Mobian arno_nuehm 223 362,070 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 3,381 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 4,667 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 5,395 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 5,096 04-29-2025, 02:10 PM
Last Post: mdk

Forum Jump:


Users browsing this thread: 1 Guest(s)