Note: This documentation is for Prince version 10. The latest documentation is available here.
prince-pdf-script: "JavaScript"
""
@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.