You are not logged in.

#1 2016-05-03 16:47:05

mbrandalero
Member
Registered: 2016-05-03
Posts: 6

Trouble printing in KDE applications - password prompt not shown

Hi,

At work we use a remote printer. Following instructions, I installed cups client and added the following lines to /etc/cups/client.conf

ServerName print.servername.com (with the correct address provided)
Encryption Required

Now, printer is working, but only for some applications.

For instance, I can print this page from Firefox by using the print menu. It asks me for my server password when opening the menu and again when selecting the printer and clicking OK. And the page prints fine.

On the other hand, when using Okular I just click the print menu, select the printer and OK (no password prompt), and nothing is printed.

Digging further, I opened Okular via command line, I noticed that after opening the print menu, a message appears in the command line prompting for my password. After entering it multiple times (like 3 times the same message appears, and I type the password), then printing works fine. The same behaviour also happens with Kate, which makes me believe it has to do with Qt.

I believe there is some way to fix this behaviour by showing this password prompt on the screen, so that I do not need to open the applications through the command line. However, I couldn't find it anywhere.

Any suggestions?

Thanks in advance!

Offline

#2 2016-05-03 17:10:38

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,098

Re: Trouble printing in KDE applications - password prompt not shown

Unfortunately you're out of luck
https://bugreports.qt.io/browse/QTBUG-9135

Offline

#3 2016-05-03 18:26:58

mbrandalero
Member
Registered: 2016-05-03
Posts: 6

Re: Trouble printing in KDE applications - password prompt not shown

arojas wrote:

Unfortunately you're out of luck
https://bugreports.qt.io/browse/QTBUG-9135

uhhh. Damn!

Well, at least I won't be wasting more time trying to fix it. Thanks for the response.

Regards!

Offline

#4 2016-05-12 20:29:13

mbrandalero
Member
Registered: 2016-05-03
Posts: 6

Re: Trouble printing in KDE applications - password prompt not shown

For anyone bumping into this issue, I had found a workaround by installing cups (server) on my side and then adding a remote printer via smb protocol, following instructions in https://wiki.archlinux.org/index.php/CU … ia_Samba_2

The only problem with this approach is that password is stored as plain text inside /etc/cups/printers.conf ..

Offline

Board footer

Powered by FluxBB