# Page Numbers on PDF export?

#### Dan Sturm

16 Jul, 2012 10:06 PM

What would I need to do to get a page number in the upper right corner of a PDF created using the Print/PDF export function?

And then what would it take for the page numbers to start on page 2 (skipping the cover page)?

1. Support Staff Posted by Brett on 16 Jul, 2012 10:12 PM

Because the Webkit printing system doesn't recognize @page directives, this is currently not possible.

2. Posted by Jason Hu on 08 Aug, 2012 07:34 AM

I also run into this @page issue when I try to specify print page size in css. If webkit doesn't support it. Could you make a print options dialog to specify print page size/orientation, etc. ?

3. Support Staff Posted by Brett on 08 Aug, 2012 01:45 PM

4. Posted by Jason Hu on 09 Aug, 2012 03:04 AM

That's great. Hopefully I will be able to use Marked to generate PDF based slides...

Looking forward to the release in MAS.

5. Posted by Kent Georgeson on 19 Feb, 2013 06:52 PM

When is 1.5 due out?

6. Support Staff Posted by Brett on 19 Feb, 2013 07:18 PM

Sorry, don't have a firm answer for that yet, but it's close.

-Brett (on iPhone)

7. Posted by Tim A. on 02 Jul, 2013 01:08 AM

How close? It's been over 4 months since your comment...

8. Support Staff Posted by Brett on 02 Jul, 2013 05:50 AM

Hard to say, really. It's a big release and I have a day job.

9. Posted by Geoffrey Odhner on 09 Oct, 2017 09:34 PM

This was supposed to be done for version 1.5, and we're at 2.5 now, with no answers that I can find as to how to do this. I've searched help, the knowledgebase, and the discussions, but come up empty. This sucks. Will this feature ever be realized?

10. Support Staff Posted by Brett on 09 Oct, 2017 10:48 PM

Have you looked at the export preferences?

- Brett

11. Posted by GG on 20 Jun, 2019 11:04 AM

Hey Brett,
My apologize that I am re-asking this question with inserting the page number in the pdf-export. I repeatedly tried using the print option, but no page-number had been inserted in the resulting pdf-file. In the export preference section (please see the screenshot attached) I can't see an option referring to page numbers (except for "page numbering offset"). Could you please point me in the right direction?

System settings/info: I am using the trial version of marked2: Version 2.5.33 (974), OS: OSX 10.14.5

Thanks a lot, GG

12. Support Staff Posted by Brett on 20 Jun, 2019 11:33 AM

Add %page in one of the fields under headers/footers. The other variables available are listed in the help (click the question mark).

- Brett

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

### »

#### 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 Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 11 Nov, 2019 10:16 AM Add org mode support 06 Nov, 2019 04:09 PM Marked 2 is asking me to reregister after catalina upgrade 05 Nov, 2019 12:40 AM Pre-formatted text blocks rendering as italic 04 Nov, 2019 08:26 PM Marked 2 - Bear Preview 02 Nov, 2019 09:12 PM Crashes too often when editing MathJax

## Recent Articles

 Using JavaScript in Marked Custom CSS: Writing custom CSS for Marked License code has already been utilized Highlight sentences longer than a certain number of words How do I retrieve a lost license (direct version)