{ "html": "<html><h1>Hello World!</h1></html>", "styleContent": "h1 {color: red}", "emulateMediaType": "print", "outputFormat": "pdf", "outputFileName": "html-coverted-to-pdf", "outputDetail": { "scale": 1, "displayHeaderFooter": false, "headerTemplate": null, "footerTemplate": null, "printBackground": false, "landscape": false, "pageRanges": "", "format": "Letter", "width": 800, "height": 600, "margin": null, "preferCSSPageSize": false, "omitBackground": false }, "htmlLoadOptions": { "timeout": 0, "waitUntil": [ "load" ] } }