Summary: | no notification on printing failure | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | jrollins |
Component: | printing | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | aacid |
Priority: | NOR | Keywords: | triaged |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
jrollins
2015-11-07 19:50:49 UTC
There are Debian bugs about this issue, but their resolution involved making sure that the needed cups-bsd package was included as a package Recommends. They don't solve the overall problem of okular not notifying the user of the problem if the cups-bsd package was never installed for whatever reason: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748533 Which package provides lpr if not cups-bsd? What is the exit status of that lpr command if passed some random crap in the command line (so it gives you that usage output). You can know the exit status by doing lpr somecrap echo $? (In reply to Albert Astals Cid from comment #2) > Which package provides lpr if not cups-bsd? There are two packages in Debian that provide a command called 'lpr': lpr and cups-bsd. I don't quite understand the difference between them. From the description: lpr: BSD lpr/lpd line printer spooling system cups-bsd: Common UNIX Printing System(tm) - BSD commands > What is the exit status of that lpr command if passed some random crap in > the command line (so it gives you that usage output). You can know the exit > status by doing > lpr somecrap > echo $? This command does not produce the output that I see from okular: servo:~ 0$ lpr somecrap lpr: cannot open somecrap: No such file or directory servo:~ 1$ So presumably that's not the command being issued by okular. > So presumably that's not the command being issued by okular.
True, you can find the command line okular uses by running kdebugdialog and enabling all okular debug ouput in there and then trying to print.
For me it'd be something as
lpr -P Deskjet_3050A_J611 -#1 -J entrada_hill_of_freedom.pdf -o media=A4 -o portrait -o sides=one-sided -o outputorder=normal -o Collate=False -o page-left=10 -o page-top=10 -o page-right=10 -o page-bottom=10 -o fit-to-page -o PageSize=A4 -o ColorModel=CMYGray -o OutputMode=FastDraft -r /tmp/kde-tsdgeosDitoDT/okularc11740.ps
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 set the bug status 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! Dear Bug Submitter, 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! |