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.
      • ? Offline
        A Former User
        last edited by A Former User

        +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
        • stanwoodS Offline
          stanwood
          last edited by

          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
          • dobeyD Offline
            dobey
            last edited by

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

            1 Reply Last reply Reply Quote 1
            • flohackF Offline
              flohack
              last edited by

              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: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

              stanwoodS 1 Reply Last reply Reply Quote 4
              • stanwoodS Offline
                stanwood @flohack
                last edited by

                @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

                flohackF 1 Reply Last reply Reply Quote 0
                • flohackF Offline
                  flohack @stanwood
                  last edited by

                  @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: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                  stanwoodS ? 2 Replies Last reply Reply Quote 1
                  • stanwoodS Offline
                    stanwood @flohack
                    last edited by

                    @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

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

                      dobeyD 1 Reply Last reply Reply Quote 2
                      • dobeyD Offline
                        dobey @Guest
                        last edited by

                        @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 Reply Quote 1
                        • ? Offline
                          A Former User @dobey
                          last edited by

                          Thanks for that, @dobey.

                          stanwoodS 1 Reply Last reply Reply Quote 0
                          • stanwoodS Offline
                            stanwood @Guest
                            last edited by

                            @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
                            • stanwoodS Offline
                              stanwood
                              last edited by

                              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

                              dobeyD 1 Reply Last reply Reply Quote 0
                              • dobeyD Offline
                                dobey @stanwood
                                last edited by

                                @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.

                                stanwoodS 1 Reply Last reply Reply Quote 1
                                • stanwoodS Offline
                                  stanwood @dobey
                                  last edited by

                                  @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

                                    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)

                                    stanwoodS 1 Reply Last reply Reply Quote 1
                                    • stanwoodS Offline
                                      stanwood @arubislander
                                      last edited by

                                      @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

                                        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