# Elementname: `PDFOptions`

## Description

Set PDF options like number of copies and such

Allowed attributes: author, colorprofile, duplex, format, 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

colorprofile (optional, since version 3.5.7)

  Set the name of the color profile. Has to be defined with DefineColorprofile.

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

format (optional, since version 3.5.7)

  Set the output format. Currently limited to `PDF/X-3`, `PDF/X-4` and `PDF/UA`.

  PDF/X-3: | Set the output to `PDF/X-3`.
  PDF/X-4: | Set the output to `PDF/X-4`.
  PDF/UA: | Set the output to `PDF/UA`.

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
- DefineColorprofile
- DefineFontalias
- DefineFontfamily
- DefineTextformat
- Element
- Fallback
- 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
- TableNewPage
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

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