Score:0

Printer works but docs can only print to file

ar flag

I am a total Newbie with Ubuntu 20.04. My printer is printing o.k. from pfs, web pages, etc. But with docs, Libreoffice it will not print at all, and with docs OnlyOffice it will only 'print to file'. Cannot change the print dialog box.

in flag
Looks like a duplicate of [this question](https://askubuntu.com/q/1207281/75166)
Someone avatar
my flag
@MadMike But that question doesn't have a good answer , So this question isn't bad.
in flag
@AkshajSingla yeah, the linked answer doesn't have a accepted answer. But I would still prefer to close this one as duplicate and accept the answer there.
Someone avatar
my flag
@MadMike But I don't think that answer is so helpful
in flag
@AkshajSingla I agree that the answer isn't very good. I've opened a [meta-question](https://meta.askubuntu.com/q/19780/75166) to resolve it.
Someone avatar
my flag
@MadMike Cool , That's nice , I agree to it
br flag
Eight responses about closing the question. Zero responses to help the user. Typical askubuntu.com/. OnlyOffice is irrelevant. It is not shipped with Ubuntu.
user2791054 avatar
ar flag
Well, thanks all for the 'not so useful comments'. I didn't realize that it was the same as another question had I understood that I would have not posted. As I said, I am new to Linux, never used it before and know absolutely nothing about it, but willing to learn. It would be helpful if you had a little more patience. Sorry. @brian_p, thank you, I am just using LibreOffice now and I am saving to pdf then printing from there. This may not be right, but for now......
Score:0
cn flag

The problem is due to the fact that OnlyOffice is usually installed via snap in Ubuntu.

Please refer to lepe's post about Inkscape, which I'm quoting below:

It's not a bug. Snaps run in containers with separate environments which prevent applications to access all the system (as the classic applications do) for security. By default printers are not accessible, but can be enabled with:

sudo snap connect inkscape:cups-control :cups-control

That will allow printers to show in Inkscape. Change inskcape for the name of the application (for example, gimp) if needed. It happened to me with WPS Office: this was my question.

You need to restart the application to take effect.

In my personal opinion, it would be nice if during installation you could specify such permissions or that the applications could decide which permissions requires and let the user know about them (like Android applications).

Pretty much the same solution works for OnlyOffice. And no, the initial question is not a duplicate of the one about printing problems in LibreOffice.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.