Bug 117560 - Print dialogue does not have a "scale to fit" option
Summary: Print dialogue does not have a "scale to fit" option
Status: CLOSED DUPLICATE of bug 77624
Alias: None
Product: kdeprint
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-03 06:19 UTC by peter_s_d
Modified: 2008-12-31 19:23 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 peter_s_d 2005-12-03 06:19:33 UTC
Version:            (using KDE 3.4.2, Mandrake Linux Cooker i586 - Cooker)
Compiler:          Target: i586-mandriva-linux-gnu
OS:                Linux (i686) release 2.6.12-12mdk

When printing pdf files of the "wrong" shape or size for the local printer it would be desirable to have a "shrink to fit" option.  Acroread has such an option, as well as a "stretch to fit" option and a general scaling function.
Comment 1 Michael Goffioul 2005-12-05 10:19:14 UTC
IMO, this should be implemented at application-level.

Michael.
Comment 2 peter_s_d 2005-12-07 06:05:08 UTC
You are suggesting a duplication of code, with subsequent bloat and maintenance problems.  

It is not possible to "fit to page" until the (paper) page size has been determined.  In KDE programs (Kwrite, Konqueror, KMail, Ksnapshot, etc.) this is not determined until the printer dialogue is entered - so it must belong to to printer code.  

Page orientation and number of pages per sheet (more scaling) is already controlled via the printer dialogue.  

Also, some applications like Konqueror do not have a concept of "paper space".  Printed font sizes, sheet size and any general scaling have to be handled in the printer dialogue.  

(I am extending my wish item to be a general write-in scaling option which defaults to 100% but has radio button options "expand to fit page" and "shrink to fit page".)  
Comment 3 Michael Goffioul 2005-12-07 09:07:58 UTC
What kdeprint provides to the application is a drawing area corresponding to the page size selected by the user in the print dialog. It's up to the application to *make use* of this drawing area and, if required, scale its content to fit the page. The aplication is responsible for the print content (scaling, font size, ...), kdeprint is responsible for the paper size and backpropagates it to the application, which it does.
Comment 4 peter_s_d 2005-12-16 01:15:00 UTC
It is not obvious to me as a user where the boundary between an application and the print manager is.  

After selecting "print..." from any KDE application the user is presented with a dialogue box that I assume relies on common KDE code, or at least common KDE libraries, because it is so similar across all of the KDE applications.  I was assuming that the "print..." dialogue is under the control of the KDEprint team.  It is not really duplicated in every KDE application, is it?  

I have just noted that the "print..." dialogue from Kuickshow has a "Shrink image to fit, if necessary" option.  (Under options -> Image settings.)  

Should this feature request be a "Do what Kuickshow does" sent individually to each of the other application development teams?  
Comment 5 Roger Larsson 2006-02-03 09:42:24 UTC

*** This bug has been marked as a duplicate of 77624 ***
Comment 6 John Layt 2008-12-31 19:23:28 UTC
Closing old Resolved status bug.