Document remembers page settings Printing Preferences

Steffan's Avatar


20 May, 2014 09:25 AM

It would be great if metadata could be used on a per document level to define the Printing Preferences for that document (margins, header/footer settings etc).

If they are set, they would override what is defined in Preferences.

At the moment I have to manually change them depending on the type of document I need to print (CV, report etc).

Great software by the way! I use nvALT and Marked for all my print writing when given the choice.



  1. Support Staff 1 Posted by Brett on 20 May, 2014 11:41 AM

    Brett's Avatar

    I'd consider this. I'm already planning to make custom processor
    arguments changeable through metadata, so adding at least margins and
    headers/footers would be handy.

  2. 2 Posted by Steffan on 09 Jul, 2015 06:58 PM

    Steffan's Avatar

    Hi Brent,

    Since I made this suggestion, header/footer settings can now be controlled nicely on a per document basis. Thanks!

    The other part of my request - to be able to do the same with document margins - has not been implemented yet.

    It surfaced again today when I wanted to match the width of my printed text column to an image included in the document.

    Currently changing it for this document, changes it for all.

    So, if it's not considered rude to do so, I'd like to +1 my own change request :^.

    Best wishes,


  3. Support Staff 3 Posted by Brett on 09 Jul, 2015 08:22 PM

    Brett's Avatar

    Duly noted, but in most cases margin settings are app-wide, not document
    specific, unless you're dealing with a word processor. That will require
    revisions to the print preference storage method, and because Marked
    doesn't actually create its own document, associating them without using
    metadata will be unstable. I can, however, allow MMD metadata in the
    document such as:

    margin top: 12
    margin left: 20

    or a single metadata key like

    margin: 20 70 20 100

    (top right bottom left)

    Would that be useful?

  4. 4 Posted by Steffan on 09 Jul, 2015 09:48 PM

    Steffan's Avatar

    Hi Brett,

    MMD metadata in the document is exactly what I was thinking!

    My current template header is:

    Author: Steffan Stringer
    Date: 09-Jul-2015
    Copyright: ©2015
    Affiliation: AHPPI
    Marked Style: GitHub
    Print Header Right: %title
    Print Footer Left: %date
    Print Footer Right: Page %page of %total

    (populated via TextExpander).

    My new header would include your margin line....

    Author: Steffan Stringer
    Date: 09-Jul-2015
    Copyright: ©2015
    Affiliation: AHPPI
    Marked Style: GitHub
    Print Header Right: %title
    Print Footer Left: %date
    Print Footer Right: Page %page of %total
    Margin: 20 70 20 100

    I prefer the idea of doing it in one line as it makes the header shorter. But I guess supporting both methods would give a choice.

    Document settings would override app settings. If there were no document settings the app settings apply.

    That would be the perfect way of doing it for me.

    I hope to see it in a future release.

    Thanks again!


  5. Support Staff 5 Posted by Brett on 09 Jul, 2015 10:18 PM

    Brett's Avatar

    I'll take it under consideration, thanks for the suggestion.

  6. 6 Posted by Dave C. on 16 Jun, 2016 10:32 PM

    Dave C.'s Avatar

    Hi Brett,

    I'm curious if this was integrated. I'd like to do something similar: remove the margins so I can use CSS counters for fancier page/section numbering.

    The counters work, but I can't "leave the box". It keeps driving that counter text to the next page in export. Dont really want to zero my margins setting for all documents or constantly play the "settings reset" game (I will if I have to… just don't want to. ;) ).


    -Dave C.

  7. Support Staff 7 Posted by Brett on 17 Jun, 2016 01:33 PM

    Brett's Avatar

    It hasn't been implemented yet, still on the list. However, I should note that because of the way the OS X print system works, counters would not be implementable. It would be nearly impossible to position something on every page using CSS.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac