[Bug 1054374] New: okular does not offer all printer options
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374 Bug ID: 1054374 Summary: okular does not offer all printer options Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: x86-64 OS: openSUSE 42.3 Status: NEW Severity: Normal Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: ulrich.deiters@uni-koeln.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Under Leap 42.3, the printer dialogue does not let the user view and set all configurable printer parameters. For instance, it is not possible any longer to select the paper feed tray, the printing resolution, or the printing quality (e.g., draft mode, photography mode). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c1
Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c2
Per Jessen
The tab that lists all available printer properties did not survive Qt5 and got dropped upstream. There's not much we can do there.
Except abandon Okular, I guess. Not being able to chose the paper tray is a show-stopper. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c3
Luca Beltrame
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c4
--- Comment #4 from Per Jessen
Actually a proper fix has been submitted to Qt, and we have incorporated it in our Qt packages. Not sure if *all* options will be there now, but there's an "advanced" tab in the printer properties in TW.
That's great, thanks! Will this be hitting Leap423 as well? Speaking for myself, the following options are important: duplexing media source watermark (needed after a power off/on) media type media size output bin (rarely). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c5
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c7
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c9
Antonio Larrosa
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c10
--- Comment #10 from Fabian Vogt
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c11
Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c12
Antonio Larrosa
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c13
--- Comment #13 from Dave Plater
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c14
--- Comment #14 from Per Jessen
Can someone please test libqt5-qtbase: https://download.opensuse.org/repositories/home:/jirislaby:/kotatko/ openSUSE_Leap_42.3
You'll have to perform a zypper dup from the repo and see if you get the advanced printer dialogue. I may have to build okular against it, not sure yet.
I'll try that out and get back to you. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c15
--- Comment #15 from Per Jessen
(In reply to Dave Plater from comment #7)
Can someone please test libqt5-qtbase: https://download.opensuse.org/repositories/home:/jirislaby:/kotatko/ openSUSE_Leap_42.3
You'll have to perform a zypper dup from the repo and see if you get the advanced printer dialogue. I may have to build okular against it, not sure yet.
I'll try that out and get back to you.
I can confirm, the printer dialogue now has an "Advanced" tab. However, despite selecting media size A4, type = labels and source = cassette1 it wanted to print on A5 from the multi form feeder. I tried it twice. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c16
--- Comment #16 from Per Jessen
What we can do is to add a new repo just with those patches for use at your own risk (somewhere in the KDE: namespace, outside of home:). What do you think about that?
That would work for me, but unless the scaling issue has been fixed (bug#1015478), there is really no need to fix the printer options issue. I haven't been able to test okular printing on A4 yet. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c17
--- Comment #17 from Dave Plater
I can confirm, the printer dialogue now has an "Advanced" tab. However, despite selecting media size A4, type = labels and source = cassette1 it wanted to print on A5 from the multi form feeder. I tried it twice. Must be related to reading the PPD. Look for another qt5 bug.
I looked through the patches and there's a few qt5 printing related functions that may cause problems. I'll add okular to my test repo. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c18
--- Comment #18 from Antonio Larrosa
I can confirm, the printer dialogue now has an "Advanced" tab. However, despite selecting media size A4, type = labels and source = cassette1 it wanted to print on A5 from the multi form feeder. I tried it twice.
I asked the okular maintainer and he told me if you enable the okular debugging that might give an idea on what is failing. Could you run: "QT_LOGGING_RULES=org.kde.okular.core=true okular" from a konsole window, try to print using the cassette1 as source and send us the output? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c19
--- Comment #19 from Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c20
--- Comment #20 from Antonio Larrosa
org.kde.okular.core: Executing "lpr" with arguments ("-P", "Kyocera", "-#1", "-J", "Anmeldung_Streicherlager2017_JMP.pdf", "-o", "media=A5", "-o", "portrait", "-o", "sides=one-sided", "-o", "outputorder=normal", "-o", "Collate=True", "-o", "page-left=12", "-o", "page-top=10", "-o", "page-right=11", "-o", "page-bottom=12", "-o", "fit-to-page", "-o", "number-up=1", "-o", "number-up-layout=lrtb", "-o", "job-billing", "-o", "job-priority=50", "-o", "job-sheets=none,none", "-o", "InputSlot=Internal", "-r", "/tmp/okular_AD2563.ps")
Does it make sense that it's passing "InputSlot=Internal" to lpr? Shouldn't that be InputSlot=Cassette1 (or similar)? I don't know the options you have for InputSlot on your printer. Can you attach your ppd file or tell us your printer model and what options do you have in that option? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c21
--- Comment #21 from Per Jessen
(In reply to Per Jessen from comment #19)
org.kde.okular.core: Executing "lpr" with arguments ("-P", "Kyocera", "-#1", "-J", "Anmeldung_Streicherlager2017_JMP.pdf", "-o", "media=A5", "-o", "portrait", "-o", "sides=one-sided", "-o", "outputorder=normal", "-o", "Collate=True", "-o", "page-left=12", "-o", "page-top=10", "-o", "page-right=11", "-o", "page-bottom=12", "-o", "fit-to-page", "-o", "number-up=1", "-o", "number-up-layout=lrtb", "-o", "job-billing", "-o", "job-priority=50", "-o", "job-sheets=none,none", "-o", "InputSlot=Internal", "-r", "/tmp/okular_AD2563.ps")
Does it make sense that it's passing "InputSlot=Internal" to lpr? Shouldn't that be InputSlot=Cassette1 (or similar)?
I would have thought so too.
I don't know the options you have for InputSlot on your printer. Can you attach your ppd file or tell us your printer model and what options do you have in that option?
It is a Kyocera FS-C5015N with an extra paper tray. For the media source option, I have "Cassette 1", "Cassette 2", and "Multi Purpose Feeder". Cassette 1 is indeed the built-in cassette, cassette 2 is the extra one. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c22
--- Comment #22 from Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c23
--- Comment #23 from Antonio Larrosa
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c24
--- Comment #24 from Per Jessen
Great. Since it seems okular is showing the available options correctly and sending the right choices to cups, this seems to be a cups issue.
media=A5 seems to be an issue? Besides, printing from okular works from earlier versions, e.g. on openSUSE 13.1.
Btw, thanks for all the information and the quick replies.
Same to you, it is always easier when we can have a fast dialogue going. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c25
--- Comment #25 from Antonio Larrosa
(In reply to Antonio Larrosa from comment #23)
Great. Since it seems okular is showing the available options correctly and sending the right choices to cups, this seems to be a cups issue.
media=A5 seems to be an issue? Besides, printing from okular works from earlier versions, e.g. on openSUSE 13.1.
Ah, very good point. I misread your previous comment on the paper size you wanted to print on. Indeed, if you selected A4, "media=A5" is wrong. Btw, where did you select the A4 media size? on the "regular" print dialog? or the advanced tab? (or both) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c26
Wolfgang Bauer
Great. Since it seems okular is showing the available options correctly and sending the right choices to cups, this seems to be a cups issue. Could you open a new bugzilla entry, explain the problem (mentioning in particular what you said in comments 19, 21 and 22) and assign that bug to the "Printing" component?
There already was/is bug#1015478 about this issue. The "Printing" maintainer bailed out stating he has no time for such problems and assigned it to "KDE Applications"... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c27
--- Comment #27 from Per Jessen
(In reply to Per Jessen from comment #24)
(In reply to Antonio Larrosa from comment #23)
Great. Since it seems okular is showing the available options correctly and sending the right choices to cups, this seems to be a cups issue.
media=A5 seems to be an issue? Besides, printing from okular works from earlier versions, e.g. on openSUSE 13.1.
Ah, very good point. I misread your previous comment on the paper size you wanted to print on. Indeed, if you selected A4, "media=A5" is wrong.
Btw, where did you select the A4 media size? on the "regular" print dialog? or the advanced tab? (or both)
On the regular page, I don't think media size was even available on the advanced page. Wolfgang Bauer wrote:
There already was/is bug#1015478 about this issue. The "Printing" maintainer bailed out stating he has no time for such problems and assigned it to "KDE Applications"...
Yeah, that was a pity. I had hoped the inability to print would have had a higher priority. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c28
--- Comment #28 from Antonio Larrosa
On the regular page, I don't think media size was even available on the advanced page.
Could you try to run the following command? lpr -P Kyocera -#1 -J test.pdf -o media=A4 -o portrait -o sides=one-sided -o outputorder=normal -o Collate=True -o page-left=12 -o page-top=10 -o page-right=11 -o page-bottom=12 -o fit-to-page -o number-up=1 -o number-up-layout=lrtb -o job-billing -o job-priority=50 -o job-sheets=none,none -o InputSlot=Internal /home/perjessen/file.pdf You can use any file as the last parameter, of course, just be sure to use the full path to the file. That way we can be sure that using the right parameters to lpr would select the A4 tray as expected. You can also try changing Internal to PF60A or MF1. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c29
--- Comment #29 from Per Jessen
(In reply to Per Jessen from comment #27)
On the regular page, I don't think media size was even available on the advanced page.
Could you try to run the following command?
lpr -P Kyocera -#1 -J test.pdf -o media=A4 -o portrait -o sides=one-sided -o outputorder=normal -o Collate=True -o page-left=12 -o page-top=10 -o page-right=11 -o page-bottom=12 -o fit-to-page -o number-up=1 -o number-up-layout=lrtb -o job-billing -o job-priority=50 -o job-sheets=none,none -o InputSlot=Internal /home/perjessen/file.pdf
Hi Antonio that worked fine, except the page was turned upside down? It had the correct scale/size though. I should also mention - I have just now tried printing the same document from Leap15 from Okular, it worked fine. (okular 17.12.2). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c30
--- Comment #30 from Antonio Larrosa
that worked fine, except the page was turned upside down? It had the correct scale/size though.
Good.
I should also mention - I have just now tried printing the same document from Leap15 from Okular, it worked fine. (okular 17.12.2).
That's interesting. Can you check the debug output and see if okular uses the right parameters to lpr in Leap15 ? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c34
--- Comment #34 from Per Jessen
(In reply to Per Jessen from comment #29)
that worked fine, except the page was turned upside down? It had the correct scale/size though.
Good.
I should also mention - I have just now tried printing the same document from Leap15 from Okular, it worked fine. (okular 17.12.2).
That's interesting. Can you check the debug output and see if okular uses the right parameters to lpr in Leap15 ?
Sorry about being so late - on leap15 I started okular with QT_LOGGING_RULES=org.kde.okular.core=true - I opened a document, ctrl-P, chose "Kyocera", changed from inches to millimeters, it was already saying "A4". Checked the advanced options, changed to input source Cassette 1 = Internal. org.kde.okular.core: Executing "lpr" with arguments ("-P", "Kyocera", "-#1", "-J", "Microsoft Word - Notfallblatt_Medizinische_Angaben_Teiln_2.doc", "-o", "media=A4", "-o", "portrait", "-o", "sides=one-sided", "-o", "outputorder=normal", "-o", "Collate=True", "-o", "page-left=12", "-o", "page-top=10", "-o", "page-right=12", "-o", "page-bottom=10", "-o", "fit-to-page", "-o", "number-up=1", "-o", "number-up-layout=lrtb", "-o", "job-billing", "-o", "job-priority=50", "-o", "job-sheets=none,none", "-o", "InputSlot=Internal", "-r", "/tmp/okular_n30466.ps") Looks good to me and the printout is also fine. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c35
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c36
--- Comment #36 from Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c37
--- Comment #37 from Wolfgang Bauer
In the office we were just about to adopt Leap15, when someone needed to print some stamps on C5 envelopes.
And what does that mean? Leap 15.0 does contain the patches to show the "Advanced" tab in the printer dialog, i.e. what this bug report was about originally. And your previous comments state that your paper size problem (which is actually bug#1015478 AIUI) would be fixed in Leap 15.0. I'm confused... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c38
--- Comment #38 from Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c39
--- Comment #39 from Per Jessen
Sorry if I wasn't being clear. The problem remains the original - okular does not show/offer all printer options. Specifically I am missing paper size. I can set it in the normal place (to e.g. C5 Envelope), but that is ignored and the printer sees "A4 Standard".
Topday we managed to print envelopes using okular on an old openSUSE 13.1. I can compare the options offered if that helps.
Okay, the option I was looking for is "Media Size". I guess that is excluded because it is (supposedly) set under the normal options? Except it doesn't work. I chose C5 envelope, the printer says "A4 Plain". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c40
--- Comment #40 from Wolfgang Bauer
Okay, the option I was looking for is "Media Size". I guess that is excluded because it is (supposedly) set under the normal options?
Yes, I think that is indeed the case.
I chose C5 envelope, the printer says "A4 Plain".
Ok, recalling the previous debugging session, the previous problem apparently was that the wrong paper tray was selected/used. Re-reading comment#34, you state that you actually selected another tray on the "Advanced" tab and it worked then. Did you try this now as well? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c41
--- Comment #41 from Per Jessen
(In reply to Per Jessen from comment #39)
Okay, the option I was looking for is "Media Size". I guess that is excluded because it is (supposedly) set under the normal options?
Yes, I think that is indeed the case.
I chose C5 envelope, the printer says "A4 Plain".
Ok, recalling the previous debugging session, the previous problem apparently was that the wrong paper tray was selected/used.
Re-reading comment#34, you state that you actually selected another tray on the "Advanced" tab and it worked then. Did you try this now as well?
Yes, I had to - I'm printing on envelopes that are fed from the MPF (multi purpose feeder). To print these stamps (a PDF generated by Swisspost), I bring up the document in Okular, Ctrl-P, pick the right printer, "Properties", change to millimetres, change "Page Size" to Envelope C5, then Advanced:, change Media Source to MPF and Media Type to Envelope. The printer now asks for "A4 Envelope". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c42
--- Comment #42 from Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c43
--- Comment #43 from Per Jessen
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374
http://bugzilla.opensuse.org/show_bug.cgi?id=1054374#c44
--- Comment #44 from Per Jessen
participants (1)
-
bugzilla_noreply@novell.com