Page Margins

's Avatar

seanmpuckett

15 Dec, 2011 08:03 PM

How do I adjust page margins for PDF and print? I can fudge left and right with body margins, but there's no obvious way to set page-top and page-bottom margins. (body margin-top just applies to the first page).

This is pretty important for pdf/print formatting.

Thanks.

  1. Support Staff 1 Posted by Brett on 15 Dec, 2011 08:15 PM

    Brett's Avatar

    I'm working on an entirely new print system, but it's slow progress. Webkit (what the preview runs on) offers no such options. See the conversation here for more details:

    http://support.markedapp.com/discussions/problems/46-text-cut-at-bottom-of-page-when-printing

    Thanks,
    Brett

  2. 2 Posted by Sean on 16 Dec, 2011 05:48 PM

    Sean's Avatar

    I discovered the css 2.1 pseudo-tag @page which allows margin-setting for physical media. This works and prints quite nicely -- but only in Chrome. Safari ignores it on print. There are also page-break- attributes which work in Chrome. So I can produce usable printed output, although having to go through a browser first is irritating.

    Good luck on your quest.

  3. 3 Posted by cc on 05 Feb, 2013 09:54 PM

    cc's Avatar

    I'm still having trouble adjusting margins on the top and bottom of a page when I print directly from Marked to pdf or the printer. The left/right margins are ok, but the top/bottom ones can't seem to be adjusted. Is there a fix or workaround?

  4. Support Staff 4 Posted by Brett on 05 Feb, 2013 09:58 PM

    Brett's Avatar

    Not presently, no. There are some additional adjustments in the next
    version, but nothing additional can be done in 1.4. Sorry.

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

Generic

? 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