e-alfred / nextcloud-printer

App to allow direct printing from Nextcloud through LPR/CUPS-connected printers
GNU General Public License v3.0
23 stars 9 forks source link

Cannot print from Nextcloud 18 #4

Open ke6yjc opened 4 years ago

ke6yjc commented 4 years ago

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?

e-alfred commented 4 years ago

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?

ke6yjc commented 4 years ago

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 notifications@github.com 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.

e-alfred commented 4 years ago

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.

sebaxakerhtc commented 4 years ago

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

e-alfred commented 4 years ago

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

sebaxakerhtc commented 4 years ago

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 notifications@github.com:

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