---
title: pageFooter
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsview/pagefooter
---

# pageFooter

A default footer string that includes the current page number and page count.

## Declaration

```swift
@NSCopying var pageFooter: NSAttributedString { get }
```

## Discussion

Discussion A printable view class can override this property to substitute its own content in place of the default value. You should not need to access the value of this property directly. The printing system accesses it once per page during printing. Footers are generated only if the user defaults contain the key NSPrintHeaderAndFooter with the value true.

## See Also

### Printing the View’s Content

- [printView(_:)](appkit/nsview/printview(_:).md)
- [beginPage(in:atPlacement:)](appkit/nsview/beginpage(in:atplacement:).md)
- [dataWithEPS(inside:)](appkit/nsview/datawitheps(inside:).md)
- [dataWithPDF(inside:)](appkit/nsview/datawithpdf(inside:).md)
- [printJobTitle](appkit/nsview/printjobtitle.md)
- [pageHeader](appkit/nsview/pageheader.md)
- [writeEPS(inside:to:)](appkit/nsview/writeeps(inside:to:).md)
- [writePDF(inside:to:)](appkit/nsview/writepdf(inside:to:).md)
- [drawPageBorder(with:)](appkit/nsview/drawpageborder(with:).md)
- [drawSheetBorder(with:)](appkit/nsview/drawsheetborder(with:).md)
