nextcloud-printer icon indicating copy to clipboard operation
nextcloud-printer copied to clipboard

Cannot print from Nextcloud 18

Open ke6yjc opened this issue 4 years ago • 6 comments

not sure if there is any debugging for this plugin? I've got my printer working via cli and can print a pdf, but nothing happens when I try using your plugin. I'm thinking it's a permissions issue maybe but not sure how to troubleshoot it. Any advice?

ke6yjc avatar Apr 22 '20 15:04 ke6yjc

Which distribution do you use? Can you try to print something using your web server user (http or www-data for example) using sudo (likesudo -u www-data lpr testfile.pdf?

e-alfred avatar Apr 24 '20 08:04 e-alfred

I’m using Ubuntu and yes I can do a test print from the webui and I can submit a job via the command line without an issue. The install is a snap install if that helps.

Kind Regards, Ted

Sent from my iPhone, pardon the typ0s!

On Apr 24, 2020, at 1:36 AM, e-alfred [email protected] wrote:

 Which distribution do you use? Can you try to print something using your web server user (http or www-data for example) using sudo (likesudo -u www-data lpr testfile.pdf?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

ke6yjc avatar Apr 24 '20 11:04 ke6yjc

The install is a snap install if that helps.

This is the problem, the app is not tested on Snap installations. Snap has a separate permissions system, so you would have to make the printers available to your Nextcloud installed as a Snap.

e-alfred avatar Apr 24 '20 11:04 e-alfred

Hi. Nextcloud 18. Normal installation. I can print testfile.md, but if i choose Landscape - it prints portrait and if i choose portrait - it prints landscape. But the main problem - i can't print files *.xlsx, *.docx, *.pptx lpr: Unsupported document-format "application/vnd.openxmlformats-officedocument.wordprocessingml.document" Thank you

sebaxakerhtc avatar May 25 '20 13:05 sebaxakerhtc

@sebaxakerhtc These filetypes are not supported by CUPS so they cannot be printed at the moment. It would need some kind of conversion using maybe Libreoffice to make these filetypes work.

As for the portrait/landscape mode, what printer/driver do you use?

e-alfred avatar Jun 08 '20 21:06 e-alfred

I try 3 drivers: From original site, from database of near model and driverless. All variants work perfect from gui, but from Nextcloud it won't work normal

вт, 9 июн. 2020 г. в 00:03, e-alfred [email protected]:

@sebaxakerhtc https://github.com/sebaxakerhtc These filetypes are not supported by CUPS so they cannot be printed at the moment. It would need some kind of conversion using maybe Libreoffice to make these filetypes work.

As for the portrait/landscape mode, what printer/driver do you use?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/e-alfred/nextcloud-printer/issues/4#issuecomment-640885061, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZDR4R3OYME6XECXDCSGGDRVVGYTANCNFSM4MOIZK3Q .

sebaxakerhtc avatar Jun 09 '20 09:06 sebaxakerhtc