<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPrintOperation/PageOrder-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSPrintingPageOrder"
  },
  "title" : "NSPrintOperation.PageOrder"
}
-->

# NSPrintOperation.PageOrder

Constants that specify the page order.

```
enum PageOrder
```

## Overview

These constants are used by [`pageOrder`](/documentation/AppKit/NSPrintOperation/pageOrder-swift.property) and [`pageOrder`](/documentation/AppKit/NSPrintOperation/pageOrder-swift.property).

## Topics

### Constants

[`NSAscendingPageOrder`](/documentation/AppKit/NSPrintOperation/PageOrder-swift.enum/ascendingPageOrder)

Ascending (back to front) page order.

[`NSDescendingPageOrder`](/documentation/AppKit/NSPrintOperation/PageOrder-swift.enum/descendingPageOrder)

Descending (front to back) page order.

[`NSSpecialPageOrder`](/documentation/AppKit/NSPrintOperation/PageOrder-swift.enum/specialPageOrder)

The spooler does not rearrange pages—they are printed in the order received by the spooler.

[`NSUnknownPageOrder`](/documentation/AppKit/NSPrintOperation/PageOrder-swift.enum/unknownPageOrder)

No page order specified.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)