<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Run nprinting report from task scheduler in Qlik NPrinting</title>
    <link>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108348#M39773</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Sorry, I am new to this.&amp;nbsp; I created a dos bat file with the command:&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\NPrinting\Client\NPrinting.exe" /NprintingFile "D:\Nprinting Reporting\Connection\systeemperformance.nsq" /Job "&lt;SPAN&gt;Report X&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;In the windows Task scheduler I created a task to run this. It runs fine when I use the option that it is only run when the user is logged on. But I choose for to run it also when the user is not, I get above error in the logging.&amp;nbsp; Perhaps it has something to do with nprinting.exe&amp;nbsp; needs a console or something.&lt;/P&gt;
&lt;P&gt;I hope this is the info you need.&lt;/P&gt;
&lt;P&gt;bye.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2023 10:10:01 GMT</pubDate>
    <dc:creator>frits</dc:creator>
    <dc:date>2023-08-22T10:10:01Z</dc:date>
    <item>
      <title>Run nprinting report from task scheduler</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108319#M39771</link>
      <description>&lt;P&gt;I want to run a nprinting job from the windows task scheduler. This does not work when I select "Run whether user is logged on or not"&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The username and password are correct.&amp;nbsp; In the error log I read:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Message Run Job: Report X&lt;BR /&gt;Application 8/22/2023 9:31:14 AM Message Run Task:&amp;nbsp;Report X&lt;BR /&gt;Application 8/22/2023 9:33:14 AM Error Connection error to D:\qlikviewserver\03. Productie\qv_acceptatie\Report X; Server execution failed&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 09:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108319#M39771</guid>
      <dc:creator>frits</dc:creator>
      <dc:date>2023-08-22T09:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Run nprinting report from task scheduler</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108324#M39772</link>
      <description>&lt;P&gt;Hi. This is obviously custom setup you are using and not officially supported solution. So what is that solution? What code are you using or have written?&lt;/P&gt;
&lt;P&gt;we dont know what you do there other than it is not working for you.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Ball is back in your corner to give us information required - cheers&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 09:33:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108324#M39772</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-08-22T09:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Run nprinting report from task scheduler</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108348#M39773</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Sorry, I am new to this.&amp;nbsp; I created a dos bat file with the command:&lt;/P&gt;
&lt;P&gt;C:\Program Files (x86)\NPrinting\Client\NPrinting.exe" /NprintingFile "D:\Nprinting Reporting\Connection\systeemperformance.nsq" /Job "&lt;SPAN&gt;Report X&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;In the windows Task scheduler I created a task to run this. It runs fine when I use the option that it is only run when the user is logged on. But I choose for to run it also when the user is not, I get above error in the logging.&amp;nbsp; Perhaps it has something to do with nprinting.exe&amp;nbsp; needs a console or something.&lt;/P&gt;
&lt;P&gt;I hope this is the info you need.&lt;/P&gt;
&lt;P&gt;bye.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 10:10:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108348#M39773</guid>
      <dc:creator>frits</dc:creator>
      <dc:date>2023-08-22T10:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Run nprinting report from task scheduler</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108421#M39774</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You are still using QlikView NPrinting 16.* or earlier version. It is no more supported starting from March 2020. So plan a migration to a supported version as soon as possible. Details are in the help site at&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/Migrate/Migrating.htm" target="_blank"&gt;https://help.qlik.com/en-US/nprinting/May2023/Content/NPrinting/Migrate/Migrating.htm&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Ruggero&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 12:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108421#M39774</guid>
      <dc:creator>Ruggero_Piccoli</dc:creator>
      <dc:date>2023-08-22T12:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: Run nprinting report from task scheduler</title>
      <link>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108424#M39775</link>
      <description>&lt;P&gt;Ok, I see what you are trying to do and....&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Your approach applies only to archaic NPrinting 16.x version which is no longer supported nor it supports any of supported QlikView versions - that means your solution is not supported and likely will not work.&lt;/LI&gt;
&lt;LI&gt;Even if it would work and you would be able to isolate your environment so no software gets installed then it would still be unsupported. For it to be somehow sustainable you would need to run it on server without windows updates, without office updates, without QlikVIew updates, without&amp;nbsp; any patches etc...so it would be in state when NPrinting 16 was developed and tested. Obviously you would not run such configuration as PRODUCTION environment, right?&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;What you are referring to was also quite unusual approach of running NPrinting report by running it using NPrinting exe and opening nsq file in hard client - not elegant method, but possible - I have seen it being triggered from Publisher.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Even if you would insist of using NPrinting 16 then more elegant version would be use of QlikView server with OnDemand trigger - like this:&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-XML-task-does-not-run/td-p/1124055" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/Qlik-NPrinting/Nprinting-XML-task-does-not-run/td-p/1124055&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Lastly - I would abandon this approach all together and first thing I would do would be plan to migrate to new/supported version of NPrinting.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 12:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-NPrinting/Run-nprinting-report-from-task-scheduler/m-p/2108424#M39775</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2023-08-22T12:23:43Z</dc:date>
    </item>
  </channel>
</rss>

