Bug 313041 - Cannot print using distant cups server
Summary: Cannot print using distant cups server
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: printing (show other bugs)
Version: 0.15.97
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-10 20:45 UTC by Guillaume DE BURE
Modified: 2023-02-01 05:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume DE BURE 2013-01-10 20:45:32 UTC
In my setup, my laptop does not have a cups server installed, but only libcups, as explained in https://wiki.archlinux.org/index.php/Cups#Installing_the_client_package

Whenever I try to print from okular, I get the error :
Could not print the document. Detailed error is "Could not find a suitable binary for printing. Make sure CUPS lpr binary is available". Please report to bugs.kde.org

This is using KDE SC 4.9.97

Reproducible: Always
Comment 1 Albert Astals Cid 2013-01-10 21:38:03 UTC
Have you actually read the detailed error? And if you have could you say if you have lpr installed? Because to me that seems kind of important if i read that detailed error.
Comment 2 Guillaume DE BURE 2013-01-10 22:24:09 UTC
Yes, I did read the message, of course, but I should have been more explicit :)

lpr is not installed on my machine because it is part of the cups daemon (at least in archlinux packages), which should not be mandatory for printing, since the printer is attached to a distant cups server. 

Digging a bit more, I realize that this is not specific to okular, but to all KDapps have a dependency onE apps. On the other hand, printing from libreoffice *does* work without lpr installed.

So I guess there are three options:
1. lpr should be packaged with libcups and not with cupsdaemon, in which case this would be an archlinux packaging issue
2. Or  libcups in not sufficient for KDE and cupsdaemon is required, in which case this would also be an archlinux packaging issue
3. Or relying on lpr for printing in KDE is wrong and shall be changed

I didn't have this issue in 4.9.x series, where this setup worked perfectly. Oh, and this is using libcups 1.6.1.

Is this a bit clearer, or do you need anything else ? Meanwhile, I'll be investigating on possible packaging issues.

Guillaume
Comment 3 Albert Astals Cid 2013-01-10 23:11:04 UTC
Okular does not work like most of KDE apps for printing, Okular has [almost] always needed lpr or lp to be installed for printing to work. 

I have no clue if lpr can be used to print on a distant server or not. If it can, well it's archs fault for not allowing you to install lpr without the cupsdaemon, if it can not, you are welcome to make Okular print without lpr.
Comment 4 Andrew Crouthamel 2018-11-11 04:22:28 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-11-21 04:20:51 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Justin Zobel 2023-01-02 07:43:33 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 7 Bug Janitor Service 2023-01-17 05:15:13 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2023-02-01 05:04:46 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!