<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[problem to generate chart js chart to pdf by nodejs]]></title><description><![CDATA[<p><a href="https://playground.jsreport.net/studio/workspace/SkcQLLOGl/575" rel="nofollow">https://playground.jsreport.net/studio/workspace/SkcQLLOGl/575</a></p>
<p>how can i true &quot;wait for printing trigger:true&quot;</p>
<p>in my nodejs</p>
<pre><code>jsreport.render({
        template: {
            content: fs.readFileSync('./emailtemplate.html').toString('utf8'),
            engine: 'handlebars',
            recipe: 'phantom-pdf',

            phantom: {
                header: '&lt;div style=&quot;float:right&quot;&gt;Page {#pageNum} of {#numPages}&lt;/div&gt;',
                footer: &quot;Rent Dues Report&quot;,
                format: 'A4',
                orientation: 'portrait',
                footerHeight: '0.7cm',
                headerHeight: '0.7cm',
                margin: '0.5cm',
                waitforprintingtrigger:true
            }
        },</code></pre>
]]></description><link>https://forum.jsreport.net/topic/416/problem-to-generate-chart-js-chart-to-pdf-by-nodejs</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 00:43:21 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/416.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 15 Feb 2018 07:36:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to problem to generate chart js chart to pdf by nodejs on Thu, 15 Feb 2018 07:49:11 GMT]]></title><description><![CDATA[<p><a href="https://playground.jsreport.net/studio/workspace/SkcQLLOGl/575" rel="nofollow">https://playground.jsreport.net/studio/workspace/SkcQLLOGl/575</a></p>
<p>how can i true &quot;wait for printing trigger:true&quot;</p>
<p>in my nodejs</p>
<pre><code>jsreport.render({
        template: {
            content: fs.readFileSync('./emailtemplate.html').toString('utf8'),
            engine: 'handlebars',
            recipe: 'phantom-pdf',

            phantom: {
                header: '&lt;div style=&quot;float:right&quot;&gt;Page {#pageNum} of {#numPages}&lt;/div&gt;',
                footer: &quot;Rent Dues Report&quot;,
                format: 'A4',
                orientation: 'portrait',
                footerHeight: '0.7cm',
                headerHeight: '0.7cm',
                margin: '0.5cm',
                waitforprintingtrigger:true
            }
        },</code></pre>
]]></description><link>https://forum.jsreport.net/post/2054</link><guid isPermaLink="true">https://forum.jsreport.net/post/2054</guid><dc:creator><![CDATA[Aparna Bathula]]></dc:creator><pubDate>Thu, 15 Feb 2018 07:49:11 GMT</pubDate></item><item><title><![CDATA[Reply to problem to generate chart js chart to pdf by nodejs on Thu, 15 Feb 2018 07:50:53 GMT]]></title><description><![CDATA[<p>Use <code>waitForJS:true</code> instead of <code>waitforprintingtrigger:true</code>.<br />
When you are not sure, look to <a href="https://jsreport.net/learn/phantom-pdf#basic-settings" rel="nofollow">docs</a> or use F12 tools how the request from studio/playground looks.</p>
]]></description><link>https://forum.jsreport.net/post/2055</link><guid isPermaLink="true">https://forum.jsreport.net/post/2055</guid><dc:creator><![CDATA[jan_blaha]]></dc:creator><pubDate>Thu, 15 Feb 2018 07:50:53 GMT</pubDate></item></channel></rss>