Attached is a patch for bug 36874. It also patches bugs 34271, 35104, 35272 and 41755 which IMHO
are duplicates.
The old calculaton of page size during the creation of a new document was incorrect, leading to
misalignment when printing.
I have replaced it with a better (I think) calculation and tested it with all the labels mentioned
in the above bugs plus some more.
There is one thing that may be a further improvement ...
After further thinking I now believe that the best way solve possible further problem with page
size and labels is to add page height
and width to the label definitions
(/core/officecfg/registry/data/org/openoffice/Office/Labels.xcu). The present definitions can only
be used for symmetrical label forms (both vertically and horizontally) and there is no margin for
rounding errors (e.g. a page width
or height which is some tenths of a milimeter wrong is possible, which in turn can cause problems
with some printers).
Changing the label definitions is too much of an effort for me (code as well as UI needs to be
changed), so I'll stick to my current patch.
Winfried
Context
- Re: [Libreoffice] [PATCH] bug 36874 Label PRINTING misplaced on paper sheet · Winfried Donkers
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.