check printing margin
Scott Lair
scott at laircpa.com
Fri Nov 21 16:11:06 GMT 2025
On Thu, 20 Nov 2025 17:58:45 -0500
Jack via KMyMoney <kmymoney at kde.org> wrote:
> On 2025.11.20 14:43, Scott Lair via KMyMoney wrote:
> > Hello,
> >
> > I am trying to get my check printing template setup correctly on
> > KMM version 5.2. Currently I am getting about a 25mm margin at the
> > top of the page. I need this to be smaller. I have set my printer
> > to the smallest margin available - about 4mm. If I look at the
> > template in the configuration of the plugin in KMM I see no
> > whitespace above the first line of the check. I would think the
> > hard copy would also have a very small margin at the top. Is there
> > any settings or configuration I can do to shrink the margins -
> > especially the top margin?
>
> It has been a very long time since I tried check printing, so this is
> off the top of my head. You say you set the printing margin as small
> as possible - where did you do this? In CUPS? Somewhere else? I'm
> not aware of KMyMoney doing anything that would add that extra
> margin. Have you tried printing to PDF, just to see if anything is
> different>?
I was going into properties in the print dialog that pops up when I
click on print check and decreasing the margin as much as possible. I
have tried to print to PDF as well and the margins appear the same on
screen. When printing a hard copy of the PDF the margins are the same.
I did some digging and it appears that KMM 5.2 uses qtextdocument.
https://doc.qt.io/qt-6/qtextdocument.html#documentMargin-prop
From what I can tell the default margin is set to 2cm which is about
what I'm getting. Also, by default a page number is printed at the
bottom, which I am also seeing. Assuming I'm on the right track, how
do I set the margins to 1mm and get rid of the page number?
More information about the KMyMoney
mailing list