• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Driverless wifi printing

Scheduled Pinned Locked Moved OS
18 Posts 7 Posters 1.8k Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      stanwood
      last edited by 12 Apr 2020, 18:44

      Hi, I just come back with this request, which is from my opinion maybe the only important missing feature of UT: Wireless printing.
      Indeed, there are several wireless printing protocols, mostly IP, that do not require any driver. Most commun are Airprint, IPP, GCP, etc... https://wiki.debian.org/CUPSDriverlessPrinting My Ubuntu desktop uses a driverless protocol to communicate with my HP printer. By the way, I guess most apps should integrate this feature as well, which would be a hard job for devs. Are there any plans to integrate this kind of printing solution in the future?

      Redmi Note 9S Stable
      If God has a computer, it must be a GNU/Linux

      1 Reply Last reply Reply Quote 1
      • ? Offline
        A Former User
        last edited by A Former User 4 Dec 2020, 19:24 12 Apr 2020, 19:23

        +1

        It was integrated some time ago if I remember right:
        https://github.com/ubports/ubuntu-printing-app

        Maybe @Flohack has more information.

        1 Reply Last reply Reply Quote 1
        • S Offline
          stanwood
          last edited by 12 Apr 2020, 20:34

          Ok thank you. Looks like the project has been started by Canonical but not continued. Strangely they prioritized it as "optional". But it's perhaps not dead anyway as I could find these repo on Github: https://github.com/ubports/ubuntu-printing-app/issues/5 and https://github.com/ubports/system-settings/blob/xenial/plugins/printing/printing.svg Hope we would start again the development, it would be nice to print out a document, mail or picture from UT πŸ˜‰

          Redmi Note 9S Stable
          If God has a computer, it must be a GNU/Linux

          1 Reply Last reply Reply Quote 0
          • D Offline
            dobey
            last edited by 13 Apr 2020, 02:46

            I think there's currently not enough space available to include it in the rootfs.

            1 Reply Last reply Reply Quote 1
            • F Offline
              flohack
              last edited by 13 Apr 2020, 07:23

              Some devices have a very small cache partition which is used to update them. When we would find a way to make updates via the userdata partition this would be possible for most devices. Or find a way how to install additional debs outside of the rootfs image.

              My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

              S 1 Reply Last reply 13 Apr 2020, 09:38 Reply Quote 4
              • S Offline
                stanwood @flohack
                last edited by 13 Apr 2020, 09:38

                @Flohack Thank you Flohack. Ok I understand basically the technical challenge: Allocate a temp memory range in UT image to store print datas during the spooler-service process. Nice to see that although it won’t come in the immediate future, project has not been completely abandoned. πŸ˜‰ Happy Easter 🐣 everyone!

                Redmi Note 9S Stable
                If God has a computer, it must be a GNU/Linux

                F 1 Reply Last reply 13 Apr 2020, 11:39 Reply Quote 0
                • F Offline
                  flohack @stanwood
                  last edited by 13 Apr 2020, 11:39

                  @stanwood Hello, no thats not the issue I am referring to. Once installed the print jobs will be spooled as usual in /tmp or /var/spool.

                  BTW its a CUPS setup, so it will already be working with a lot of printers out of the box.

                  What I am talking about is that during an OTA image upgrade the root file system is copied to the cache partition of the device, and that one is pretty small with Android on some devices. We cannot add new stuff to the roof filesystem without risking to break that limit so it must be done careful. Printing was announced already for end of 2018 if I remember right, but we had to remove it again.

                  My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                  S ? 2 Replies Last reply 13 Apr 2020, 12:27 Reply Quote 1
                  • S Offline
                    stanwood @flohack
                    last edited by 13 Apr 2020, 12:27

                    @Flohack Ok πŸ‘ thank you Flohack. I do better understand technically the challenge now.

                    Redmi Note 9S Stable
                    If God has a computer, it must be a GNU/Linux

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @flohack
                      last edited by A Former User 14 Apr 2020, 05:49

                      @Flohack
                      Could it not be provided in the form of a downloadable app, which could access documents via the content hub?

                      D 1 Reply Last reply 14 Apr 2020, 13:56 Reply Quote 2
                      • D Offline
                        dobey @Guest
                        last edited by 14 Apr 2020, 13:56

                        @3arn0wl said in Driverless wifi printing:

                        @Flohack
                        Could it not be provided in the form of a downloadable app, which could access documents via the content hub?

                        No. The "app" itself is only one small part of the printing stack. The cups packages, PPDs, etc... all need to be in the rootfs, and it runs as a system service. Also, as click packages cannot provide services and such things, trying to shove parts of this into there will only be extremely messy and hard to clean up in the future.

                        ? 1 Reply Last reply 14 Apr 2020, 14:01 Reply Quote 1
                        • ? Offline
                          A Former User @dobey
                          last edited by 14 Apr 2020, 14:01

                          Thanks for that, @dobey.

                          S 1 Reply Last reply 14 Apr 2020, 19:29 Reply Quote 0
                          • S Offline
                            stanwood @Guest
                            last edited by 14 Apr 2020, 19:29

                            @3arn0wl So, in the meantime, we can use some workarounds. Several printers providers do offer remote printing solutions: Ex. Hewlett Packard and it's Smart print application, Canon and Brother with Google Cloud Print, etc... Some of them nevertheless need the installation of an app or software, which can not be executed with UT. Or the other way is to transfer files from UT to any cloud/drive.., than print it from another device.

                            Redmi Note 9S Stable
                            If God has a computer, it must be a GNU/Linux

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              stanwood
                              last edited by 14 Apr 2020, 19:37

                              I was thinking to another way to print: And why not send the file by bluetooth using the native UT app "bluetooth transfer" to a compatible printer? Than no need any spooler service, as printer do all the work. Could that work?

                              Redmi Note 9S Stable
                              If God has a computer, it must be a GNU/Linux

                              D 1 Reply Last reply 14 Apr 2020, 20:46 Reply Quote 0
                              • D Offline
                                dobey @stanwood
                                last edited by 14 Apr 2020, 20:46

                                @stanwood said in Driverless wifi printing:

                                I was thinking to another way to print: And why not send the file by bluetooth using the native UT app "bluetooth transfer" to a compatible printer? Than no need any spooler service, as printer do all the work. Could that work?

                                No. Bluetooth printing does not work by file transfer. Still cups would be required, to provide the print service which talks to the printer. Also, it requires extra integration to enable connecting printers from the Bluetooth settings UI.

                                S 1 Reply Last reply 14 Apr 2020, 21:01 Reply Quote 1
                                • S Offline
                                  stanwood @dobey
                                  last edited by 14 Apr 2020, 21:01

                                  @dobey Ok thank you. I admit my idea was a little naive... πŸ˜‰

                                  Redmi Note 9S Stable
                                  If God has a computer, it must be a GNU/Linux

                                  1 Reply Last reply Reply Quote 0
                                  • arubislanderA Offline
                                    arubislander
                                    last edited by 15 Apr 2020, 06:49

                                    Another workaround to print from your Ubuntu Touch device can be found here

                                    πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                    Happily running Ubuntu Touch
                                    Google Pixel 3a (20.04 DEV)
                                    JingPad (24.04 preview)
                                    Meizu Pro 5 (16.04 DEV)

                                    S 1 Reply Last reply 15 Apr 2020, 08:37 Reply Quote 1
                                    • S Offline
                                      stanwood @arubislander
                                      last edited by 15 Apr 2020, 08:37

                                      @arubislander Thank you very much for this input. So basically create a libertine container and activate softwares (such as libreoffice) to communicate to printer network. As I’m newbie I’m not sure I have the technical knowledge yet to use libertine, but will definitely keep those instructions to do it later on.

                                      Redmi Note 9S Stable
                                      If God has a computer, it must be a GNU/Linux

                                      1 Reply Last reply Reply Quote 1
                                      • A Offline
                                        attah
                                        last edited by 17 Jul 2021, 20:22

                                        Over in the Sailfish universe we have SeaPrint (by me)... so if someone wants to port it, feel free to get in touch.
                                        No CUPS dependencies, strictly speaking no dependencies at all other than Qt, but poppler is needed for working with simpler printers.

                                        1 Reply Last reply Reply Quote 2
                                        • First post
                                          Last post