prince-pdf-script: "JavaScript"
| Initial value |
""
|
|---|---|
| Applies to | @prince-pdf at-rule |
| Inherited |
@prince-pdf {
prince-pdf-script: "this.print();"
}
This property can be used to include JavaScript code that will be executed when the PDF file is opened. A common use case is to activate the "Print" dialog automatically.
