<table><tr><td style="">aacid added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D7949" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D7949#148405" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">D7949#148405</a>, <a href="https://phabricator.kde.org/p/sander/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;" rel="noreferrer">@sander</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Using QPrinter may be "official Qt", but that doens't mean better.</p></blockquote>
<p>That depends on how you look at it. The patch gives you fast printing without conversion to postscript. It is completely platform-agnostic, so there is no fiddling with lpr parameters anymore, and you get printing on Windows for free. Implementing standard scale modes that people have been asking about becomes very easy: see my follow-up patch at <a href="https://phabricator.kde.org/D7962" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/D7962</a> .</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>you and me know Arthur backend sucks, so i don't see this being of any use to the users.</p></blockquote>
<p>Yes, the problems with Arthur are known to me: I wouldn't say that it 'sucks' (that probably depends on the type of documents you are wont to use), but it definitely needs more work. But improving Arthur is easy: you have seen me do it. The alternative is to keep fighting with CUPS, which means lots of bugs that only happen in certain hardware/driver configurations, which nobody else can reproduce. Then, lpr doesn't seem to have the level of control that stuff like <a href="https://phabricator.kde.org/D7962" class="remarkup-link" target="_blank" rel="noreferrer">https://phabricator.kde.org/D7962</a> requires. Finally, how will you deal with printing on Windows? Do you really want to insert Windows-specific printing code into okular? Who's going to maintain that?</p>
<p>That being said, I understand that you don't want to expose Arthur to end-users today. Then please tell me (honest question!): what specific issues to you want to see fixed in Arthur to make it not suck anymore?</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Why not simply finish the pdfprintpdf branch as i've suggested a few times already?</p></blockquote>
<p>Because I don't see how you can get the flexibility that the QPrinter approach gives you with the approach taken in that branch.</p></div>
</blockquote>
<p>But at least it'll work 😄</p>
<p>Anyhow, it's your time, printing is not something I'm interesting in volunteering my time, people made abundant abuse to me to make clear they didn't appreciate me working on it.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D7949" rel="noreferrer">https://phabricator.kde.org/D7949</a></div></div><br /><div><strong>To: </strong>sander, Okular<br /><strong>Cc: </strong>aacid<br /></div>