3 Replies Latest reply: Jun 8, 2017 5:02 AM by Lech Miszkiewicz RSS

    Launch a Nprinting Task by command line on server

    Frédéric Villemin

      Hello,

       

      I have Nprinting 16 Server and a schedule is defined to launch reports every week.

       

      But is it possible to force a Nprinting 16 Task by Command Line instead of built-in schedule ?

       

      Thanks

        • Re: Launch a Nprinting Task by command line on server
          Lech Miszkiewicz

          Hi,

           

          here is how to do it:

          you can create batch file which will copy-paste xml file into trigger location

           

          How to Execute NPrinting Reports by External XML Request

           

          cheers

          Lech

          ---------------------------------------------

          When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others.

            • Re: Launch a Nprinting Task by command line on server
              Frédéric Villemin

              Hello,

              thanks for your answer

               

              I have stopped the service, added the folder watch, created a .request

               

              <?xml version="1.0"?>

              <schedules>

                   <schedule file="C:\Users\Public\Documents\NPrinting\Template\project.nsq" type="task" entityName="Country Review" />

              </schedules>

               

              It has been quickly renamed to .processed but nothing happens and I can't find any .result.

               

              What can I do to debug ?

               

              Thanks

                • Re: Launch a Nprinting Task by command line on server
                  Lech Miszkiewicz

                  Hi,

                   

                  I am not sure - To be honest i have used this option 2 years ago and currently i am not even using NPrinting 16.X so it is hard to test.

                   

                  Make sure you put correct nsq file names and correct task names in XML. Also make sure those nsq file are setup in NPrinitng server.

                   

                  What does your task mean to do? Maybe there is a condition on the task which is not fulfilled when triggered externaly?

                  Troubleshoot it with simple task if possible.

                   

                  cheers

                  Lech

                   

                  If still it does not work - then log a ticket with Qlik support as this should work without issues - it is not a rocket science.