# Elementname: `PDFOptions`

## Description

Set PDF options like number of copies and such

Allowed attributes: author, duplex, keywords, numcopies, picktraybypdfsize, printscaling, subject, title

Child elements: (none)

Parent elements: AtPageCreation, AtPageShipout, Contents, Layout, Record, SavePages

### Attributes

author (text, optional, since version 3.1.18)

  Set the author of the document

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

keywords (text, optional, since version 3.1.24)

  Set the keywords of the document (comma separated list).

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

subject (text, optional, since version 3.1.24)

  Set the subject of the document

title (text, optional, since version 3.1.18)

  Set the title of the document

## Example

    <PDFOptions numcopies="3"/>

# Commands

- A
- Action
- AddSearchpath
- AtPageCreation
- AtPageShipout
- AttachFile
- 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
- Groupcontents
- HSpace
- Hyphenation
- I
- Image
- Include
- Initial
- 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
- SetGrid
- SetVariable
- SortSequence
- Span
- Stylesheet
- Sub
- Sup
- Switch
- Table
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

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