# Elementname: `PDFOptions`

## Description

Set PDF options like number of copies and such

Allowed attributes: duplex, numcopies, picktraybypdfsize, printscaling

Child elements: (none)

Parent elements: Layout

### Attributes

duplex (optional, since version 2.3.47)

  Set viewer preference to one or two page printing. Default: empty.

  simplex: | One page per sheet
  duplexflipshortedge: | Two pages per sheet and flip on short edge
  duplexfliplongedge: | Two pages per sheet and flip on long edge

numcopies (number, optional)

  Set the number of copies. At most 5 are allowed in the PDF specification.

picktraybypdfsize (optional, since version 2.3.46)

  Activate the check box in the PDF viewer for choosing the paper tray based on the page size.

  yes: | Activate checkbox
  no: | Deactivate checkbox

printscaling (optional, since version 2.3.46)

  Should the printer scale the pages?

  appdefault: | Use the default from the PDF viewer
  none: | No page scaling

## Example

    <PDFOptions numcopies="3"/>

# Commands

- A
- Action
- AddToList
- AtPageCreation
- AtPageShipout
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Circle
- Color
- Column
- Columns
- Compatibility
- Contents
- Copy-of
- DefineColor
- DefineFontalias
- DefineFontfamily
- DefineTextformat
- Element
- Fontface
- ForAll
- Frame
- Grid
- Group
- HSpace
- Hyphenation
- I
- Image
- Include
- InsertPages
- Italic
- Layout
- Li
- LoadDataset
- LoadFontfile
- Loop
- Makeindex
- Margin
- Mark
- Message
- NewPage
- NextFrame
- NextRow
- NoBreak
- Ol
- Options
- Otherwise
- Output
- Overlay
- PDFOptions
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- Position
- PositioningArea
- PositioningFrame
- ProcessNode
- Record
- Regular
- Rule
- SaveDataset
- SavePages
- Sequence
- SetGrid
- SetVariable
- SortSequence
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

Version: 2.8.1 | Start page | Command reference | Other language: German