Summary: | Incorrect Default Printer Margins | ||
---|---|---|---|
Product: | [Applications] kdeprint | Reporter: | Dik Takken <kde> |
Component: | general | Assignee: | Michael Goffioul <kdeprint_bugs> |
Status: | CLOSED WORKSFORME | ||
Severity: | normal | CC: | jlayt |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Dik Takken
2003-05-12 14:08:33 UTC
Subject: Re: New: Incorrect Default Printer Margins
> The default printing margin is set to zero, such that applications can use the whole paper area while most printers cannot. The result is that some applications (KWrite, Kate, KEdit) print too close to the edge of the paper.
>
> Since KDE should print correctly right out of the box, I would suggest to make the margins default to 10mm on all sides or something.
To be exactly correct, it's not KDEPrint that sets print margins to
zero, it's the printer installation that tells KDEPrint that the
printer can print with zero margins, which is of course not true.
So IMO, the original cause of the problem lies in printer configuration,
of to be precise, in the printer driver (PPD file).
KDEPrint extracts print margins from the driver. If it doesn't
find anything, it uses default values that are "large enough" for
most modern printers. Otherwise, it extracts values from the driver.
Checking that those values actually match printer capabilities it
a little bit out of scope of KDEPrint. Of course, you could impose
minimum values, but on one hand you need to use large enough values
to match most of printer capabilities, and on the other hand you'll
make many people unhappy because they cannot use the full "power"
of their own printer.
I don't think that I should restrict KDEPrint behavior because some
driver on some systems might tell KDEPrint stupid things. I'd prefer
to fix the driver.
Michael.
Ok, I will close this bug and look at the driver. I just fixed this in kdelibs/kdeprint HEAD M +27 -30 kpmarginpage.cpp 1.11 M +18 -5 kprinter.cpp 1.82 Closing old Resolved status bug. |