<?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[Single executable not working as shown in the documentation]]></title><description><![CDATA[<p>On this page: <a href="https://jsreport.net/learn/windows-single-executable" rel="nofollow">https://jsreport.net/learn/windows-single-executable</a></p>
<p>It says that the following command should work:</p>
<blockquote>
<p>jsreport.exe --render request.json --output file.pdf</p>
</blockquote>
<p>but I get</p>
<p>&quot;Unknown arguments: render, output&quot; when I run it.</p>
]]></description><link>https://forum.jsreport.net/topic/61/single-executable-not-working-as-shown-in-the-documentation</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 11:34:08 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/61.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Apr 2017 13:32:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Single executable not working as shown in the documentation on Invalid Date]]></title><description><![CDATA[<p>On this page: <a href="https://jsreport.net/learn/windows-single-executable" rel="nofollow">https://jsreport.net/learn/windows-single-executable</a></p>
<p>It says that the following command should work:</p>
<blockquote>
<p>jsreport.exe --render request.json --output file.pdf</p>
</blockquote>
<p>but I get</p>
<p>&quot;Unknown arguments: render, output&quot; when I run it.</p>
]]></description><link>https://forum.jsreport.net/post/236</link><guid isPermaLink="true">https://forum.jsreport.net/post/236</guid><dc:creator><![CDATA[j-sutton]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Single executable not working as shown in the documentation on Invalid Date]]></title><description><![CDATA[<p>hi! you're right, that page shows an incorrect usage of the executable, the correct command is <code>jsreport.exe render --request request.json --output file.pdf</code></p>
<p>i will update that page to show the correct way, thnks for let us know.</p>
]]></description><link>https://forum.jsreport.net/post/237</link><guid isPermaLink="true">https://forum.jsreport.net/post/237</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Single executable not working as shown in the documentation on Invalid Date]]></title><description><![CDATA[<p>also just FYI that page seems like it has been deprecated (we don't show a link to it anymore) the updated page for the executable documentation is <a href="https://jsreport.net/learn/single-file-executable" rel="nofollow">https://jsreport.net/learn/single-file-executable</a></p>
]]></description><link>https://forum.jsreport.net/post/238</link><guid isPermaLink="true">https://forum.jsreport.net/post/238</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Single executable not working as shown in the documentation on Invalid Date]]></title><description><![CDATA[<p>Ahh, thank you, one correction though is that it's</p>
<blockquote>
<p>jsreport.exe render --request request.json --out file.pdf</p>
</blockquote>
]]></description><link>https://forum.jsreport.net/post/239</link><guid isPermaLink="true">https://forum.jsreport.net/post/239</guid><dc:creator><![CDATA[j-sutton]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Single executable not working as shown in the documentation on Invalid Date]]></title><description><![CDATA[<p>ups, you are right! thnks 👍</p>
]]></description><link>https://forum.jsreport.net/post/240</link><guid isPermaLink="true">https://forum.jsreport.net/post/240</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Single executable not working as shown in the documentation on Invalid Date]]></title><description><![CDATA[<p>One final question, is it possible to specify in the request.json the name of a template and data file in the directory that the executable is run in. For example I have a report.json data file that should bind to test.html file and I would to put that information in a single request.</p>
]]></description><link>https://forum.jsreport.net/post/241</link><guid isPermaLink="true">https://forum.jsreport.net/post/241</guid><dc:creator><![CDATA[j-sutton]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Single executable not working as shown in the documentation on Invalid Date]]></title><description><![CDATA[<p>it is not possible when using only the <code>--request</code> option because it would be somehow difficult to difference between real string content and file paths inside the file, but you can use <code>jsreport.exe render --template.content test.html --template.engine handlebars --template.recipe phantom-pdf --data report.json --out file.pdf</code> to do what you want.</p>
<p>also just FYI you can run <code>jsreport.exe render -h</code> to see some examples about the usage of the command, and descriptions about the options 😃</p>
]]></description><link>https://forum.jsreport.net/post/242</link><guid isPermaLink="true">https://forum.jsreport.net/post/242</guid><dc:creator><![CDATA[bjrmatos]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>