Version 5.9.3

# `PDFOptions`

since version 2.3.39

Set PDF options like number of copies and such

## Child elements

(none)

## Parent elements

`AtPageCreation`, `AtPageShipout`, `Contents`, `Layout`, `Record`, `SavePages`, `Section`

## 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`.
`creator` (text, optional, since version 4.9.2)
  Set the creator application of the document
`displaymode` (optional, since version 4.11.8)
  Select the display mode when opening PDF document (mainly with Acrobat).
  - `attachments`: Display the attachment pane.
  - `bookmarks`: Display the bookmarks pane (only works if the PDF document contains at least one bookmark).
  - `fullscreen`: Open the document in fullscreen mode.
  - `none`: Do not display a special pane.
  - `thumbnails`: Display the thumbnail pane.
`dpi` (number, optional, since version 4.17.10)
  Set the maximum DPI number for PNG/JPEG images.
`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.
  - `PDF/X-3`: Set the output to `PDF/X-3`.
  - `PDF/X-4`: Set the output to `PDF/X-4`.
  - `PDF/A-3`: Set the output to `PDF/A-3`.
  - `PDF/UA`: Set the output to `PDF/UA`.
`hyperlinkbordercolor` (text, optional, since version 4.11.8)
  Set the border color of hyperlinks when showhyperlinks is set. The default is black. (Renamed from hyperlinksbordercolor.)
`hyperlinkborderwidth` (text, optional, since version 4.15.6)
  Set the border width of hyperlinks when showhyperlinks is set. The default is 1pt.
`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.
`pagelayout` (optional, since version 4.15.1)
  Specify the layout of the pages in Adobe Acrobat.
  - `singlepage`: Display one page at a time.
  - `onecolumn`: Display the pages in one column.
  - `twocolumnleft`: Display the pages in two columns, with odd- numbered pages on the left.
  - `twocolumnright`: Display the pages in two columns, with odd- numbered pages on the right.
  - `twopageleft`: Display the pages two at a time, with odd-numbered pages on the left.
  - `twopageright`: Display the pages two at a time, with odd-numbered pages on the right.
`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
`producer` (text, optional, since version 4.19.3)
  Set the producer of the document
`showbookmarks` (yes or no, optional, since version 3.9.8, deprecated)
  Show bookmarks in the PDF viewer when opening the document. Deprecated - use displaymode instead.
`showhyperlinks` (yes or no, optional, since version 4.3.15)
  Show hyperlinks in Adobe Acrobat and perhaps other PDF viewers.
`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"/>

#### On this page