New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Printing does not work #1
Comments
Actually, I get a same error with appimage version. But the problem is that I can only see "print to pdf", no printers in flatpak version. |
|
So, in my test, the error "Could not print: no valid printers available" is not caused by flatpak sandbox. In fact, joplin support expose as pdf directly. |
@tinywrkb your pr fix this for me. But I can only test it with a virtual printer. |
@catsout Oh, so that change actually did something, it seems to give access to a local CUPS daemon. |
I think it's ok with electron's, as it's the same behavior as joplin appimage version. |
Right, might be an Electron issue electron/electron#24664 Other than that, after playing with the GTK |
Thanks for fixing this so quickly! (I try not to print, but occasionally it's needed, and it's good to know it's there now.) Also: Huge thanks for packaging Joplin as a flatpak! 💖 I first saw Joplin a few months ago, but didn't install it, as there was no good way to do so on Fedora. (AppImages are horrible security-wise, lack integration, and have no proper way to update... and I try to not compile software I rely on every day from source.) So I was very happy to see Joplin show up in the "new & updated" area of Flathub. I've imported all my existing notes (from Markdown) and even installed the Android app from F-Droid as a result of your efforts. Thanks again! |
I am aware that the topic is closed. A simple solution on Ubuntu solved it for me: Goto "Settings - Applications - Joplin" and permit "print documents". |
When I select File → Print from the menu, nothing happens for a few seconds, and then a small dialog appears saying "Could not print: no valid printers available".
However, I have a network-available printer configured on my system and it is available to other applications, including other flatpaks, such as Firefox. Additionally, even without a printer installed, it should be possible to "print to a file" (basically save it as a PDF), which is in the general printing dialogs of other apps too.
I'm assuming this has to do with flatpak sandboxing.
Right now, I don't see the printing system flag enabled. Even after toggling it with Flatseal, Joplin still doesn't show a print dialog, so fixing this is probably not quite that simple.
The text was updated successfully, but these errors were encountered: