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

    Print table ?

    Scheduled Pinned Locked Moved App Development
    printerprint
    6 Posts 2 Posters 52 Views 1 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.
    • D Offline
      dl8aax
      last edited by

      Hi,

      I'm currently developing an app for managing a beekeeping operation.

      On the home screen, I have a task list (tasks to be done today).

      The data is stored in an SQLite file.

      How can I print the data?

      Regards Dirk

      Vlad NirkyV 1 Reply Last reply Reply Quote 0
      • Vlad NirkyV Offline
        Vlad Nirky @dl8aax
        last edited by

        @dl8aax
        Hello.
        I’m a beekeeper too. πŸ™‚

        I’m not sure if I’d want to take my phone with me when I visit my hives (propolis).

        The 24.04-2.x version supports printing – I know that much.

        Isn’t it easier to export to PDF?

        1 Reply Last reply Reply Quote 0
        • D Offline
          dl8aax
          last edited by

          Hi,

          Propolis is good for your hands, not so good for your phone/tablet πŸ˜‰

          But the goal is to later scan a QR code and immediately access the stock card.

          I'm not sure how to create a PDF either.

          volk1.png volker2.png

          Without a print function, everything's useless.

          Printing QR codes and tables is a must-have feature of the app if you want to work with it properly.

          Regards, Dirk

          Vlad NirkyV 3 Replies Last reply Reply Quote 0
          • Vlad NirkyV Offline
            Vlad Nirky @dl8aax
            last edited by Vlad Nirky

            @dl8aax
            Perhaps should you ask here
            https://t.me/UbuntuAppDevEN
            Or look into some app that print files

            1 Reply Last reply Reply Quote 0
            • Vlad NirkyV Offline
              Vlad Nirky @dl8aax
              last edited by Vlad Nirky

              @dl8aax
              I'm on 24.04-2.x with avahi working and cups and hplip installed via snap.
              In file explorer, I can choose a pdf file and choose print as destination.
              Export to pdf should be easy I think.
              I'll take a look and let you know.

              1 Reply Last reply Reply Quote 0
              • Vlad NirkyV Offline
                Vlad Nirky @dl8aax
                last edited by

                @dl8aax
                This should be possible through python with fpdf and use this python inside your qml app.

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better πŸ’—

                Register Login
                • First post
                  Last post