KDE4 printing: results of IRC meeting

Alex Merry huntedhacker at tiscali.co.uk
Fri Sep 14 12:44:57 BST 2007


On Friday 14 Sep 2007, Thiago Macieira wrote:
> On Friday 14 September 2007 11:26:36 Kurt Pfeifle wrote:
> > > Printing arbitrary page ranges/selections:  
> > > ==========================================
> > > The ability in the KPrintDialog to select to print only certain
> > > pages in a non-continuous range, e.g. 1, 4, 6-10.  This option is
> > > only available under CUPS and not under any other Printing
> > > Systems or Qt.  Nice to keep, but not fatal, can wait for 4.1.
> >
> > The support for this feature by CUPS is simply achieved by passing
> > "-o page-ranges=1,4,6-10" to CUPS. CUPS receives *all* the pages,
> > and extracts the desired ranges from the received jobfile.
>

> If you select one page only in a 10-page printout in KDE 3 and then
> check to see the print preview, you see all 10 pages. I know from
> experience it'll print only the pages I asked for, but I think it
> should be displaying only the pages that will be printed.
>
> In other words, the preview should happen after the page extraction.
> Which in turn means that it's probably a client-side feature. Since I
> know that KGhostView shows pages when I select Print Preview, I know
> it's still somewhere in KDE code.

This is how Qt4 treats the issue - it's entirely client-side.  KPrinter 
allows the application to either volunteer to do the page selection 
itself or get the print system (only works with CUPS) to do it.

This isn't really an issue - I think it's entirely reasonable to expect 
the client to do the page selection.  However, Qt4 doesn't allow you to 
select arbitrary page lists in the print dialog.  They must be selected 
in the application before hand, and the user has to choose "selection" 
in the print dialog box.

Alex



-- 
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070914/01653747/attachment.sig>


More information about the kde-core-devel mailing list