PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › scope = "lastpage"? This topic has 1 reply, 2 voices, and was last updated Dec 21, 201018:38:14 by PD4ML. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts dtakamine December 21, 2010 at 18:38 #26500 Is there a way to define a header and/or footer to only print on the last page using the markup? For example I know there is a skiplast, which skips printing on the last page but I have documents that require a footer/header to appear only on the last page (on an unknown lenght document). Thanks, Derek PD4ML December 21, 2010 at 18:58 #28347 There is a conceptual issue to implement that. Let’s say page height is 800px, header is 200px high and the content on the last page takes 700px. Where should it place the header in the situation to? The only technically correct way is to add an extra page to print the header only. But nobody wants to have such trailing blank pages… As a workaround I would recommend the following: header substitution: add an explicit page break before the last page, followed with the header body. [language=xml:20jqbs4i] Last page header remaining content[/language:20jqbs4i] footer substitution: define last page footer as a footnote [language=xml:20jqbs4i]end of the document content Last page footer [/language:20jqbs4i] Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The forum ‘General questions / FAQ’ is closed to new topics and replies.