This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Knode - page margins

Tags: None
(comma "," separated)
pinnerite
Registered Member
Posts
17
Karma
0

Knode - page margins

Fri Jul 19, 2013 12:00 pm
Is there a way to set the page margins permanently?

Right now I have to alter them every time I start knode up.

TIA
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Knode - page margins

Fri Jul 19, 2013 12:06 pm
Is this for display or printing purposes?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
pinnerite
Registered Member
Posts
17
Karma
0

Re: Knode - page margins

Wed Jul 24, 2013 12:36 pm
For printing purposes
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Knode - page margins

Sat Jul 27, 2013 7:13 am
Hm - I suspect this may not be possible - KDE reads the default settings from CUPS though, so you could try changing them there instead.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
pinnerite
Registered Member
Posts
17
Karma
0

Re: Knode - page margins

Sun Jul 28, 2013 2:34 pm
I am astonished.

Anyway, CUPS doesn't appear to have its own settings for margins.
Most Qs and As on this subject refer back to lp and its command line options.
Not much help unless printing a file.

Since knode offers default margin settings, where does it store them?

Incidentally both kate and kwrite have configurable defaults in katerc and kwriterc
respectively (although the section heading in the latter refers to kate).
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Knode - page margins

Mon Jul 29, 2013 11:06 am
I've examined the code and as far as I can tell, Qt provides this functionality - and retrieves the margins itself. From what I could tell, the default margins are hardcoded unfortunately.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
pinnerite
Registered Member
Posts
17
Karma
0

Re: Knode - page margins

Fri Aug 02, 2013 8:40 am
Thanks. If I could find the time I would love to hack it.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]