<?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 batch or macro to print report into pdf and e-mail or store on file server in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188626#M51813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunil for the input, however as written in the initial posting, the customer does not have budget voor the publisher.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Johan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Nov 2010 16:04:57 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-11-30T16:04:57Z</dc:date>
    <item>
      <title>batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188621#M51808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This might be questioned before, but what I've found on the forum was all quite complex. There must be an easy way to do it (I hope).&lt;/P&gt;&lt;P&gt;Our customer does not have the budget for QV-publisher or a lot of consultancy hours. They run QV server 9 SP6 and have 5 clients.&lt;/P&gt;&lt;P&gt;What they want is to send various reports in .pdf format to various groups of people by either e-mail (preferred) or by placing it on a network share.&lt;/P&gt;&lt;P&gt;I'm looking for a QV macro or a script outside QV to do this automatically. Preferably in a windows scheduler.&lt;/P&gt;&lt;P&gt;Hope to hear from you!&lt;/P&gt;&lt;P&gt;Johan Vermeulen&lt;/P&gt;&lt;P&gt;K3 Business Solutions&lt;/P&gt;&lt;P&gt;Netherlands&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 08:53:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188621#M51808</guid>
      <dc:creator />
      <dc:date>2010-11-16T08:53:34Z</dc:date>
    </item>
    <item>
      <title>batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188622#M51809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also need same .. And also the configration to be done on the QlikView for the mailing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 09:09:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188622#M51809</guid>
      <dc:creator />
      <dc:date>2010-11-16T09:09:27Z</dc:date>
    </item>
    <item>
      <title>batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188623#M51810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone have an idea how to manage this?&lt;BR /&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 13:09:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188623#M51810</guid>
      <dc:creator />
      <dc:date>2010-11-30T13:09:59Z</dc:date>
    </item>
    <item>
      <title>batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188624#M51811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to do so far:&lt;/P&gt;&lt;P&gt;1) create a windows batch file to start qlikview with a parameter (vPrintReports)&lt;/P&gt;&lt;P&gt;call "C:\Program Files\QlikView\Qv.exe" /vvPrintReports=1 /NoSecurity "C:\Docs\_docs k3l\software\AddOn\External Addons\Qlikview\K3 Dashboards\K3 Retail v6 NL v3.0 SQL Retail.qvw"&lt;/P&gt;&lt;P&gt;2) When QV client is started the parameter is checked (onOpen Trigger) in a vbs macro. If value = 1 then continue macro&lt;/P&gt;&lt;P&gt;sub ReportCheck&lt;BR /&gt; set var = ActiveDocument.Variables("vPrintReports")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;val = var.GetContent.String&lt;/P&gt;&lt;P&gt;if val = 1 then&lt;BR /&gt; call CreateReports&lt;BR /&gt; var.SetContent 0, true&lt;BR /&gt; 'activedocument.closedoc&lt;BR /&gt; ActiveDocument.ClearAll (false)&lt;BR /&gt; ActiveDocument.GetApplication.Quit&lt;BR /&gt; end if&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;3) CreateReports: I created a table in excel with the report ID's to be printed to .pdf. Please install the latest QVPdf printer. You have to set the right preferences in the printer like the folder and the denial of 'do you want to overwrite' messages.&lt;/P&gt;&lt;P&gt;sub CreateReports&lt;/P&gt;&lt;P&gt;set Reporttable = ActiveDocument.GetSheetObject( "TB01" )&lt;/P&gt;&lt;P&gt;for RowIter = 1 to Reporttable.GetRowCount-1&lt;BR /&gt; ActiveDocument.ClearAll (false)&lt;BR /&gt; reportID = (Reporttable.GetCell(RowIter,0).text)&lt;BR /&gt; tempFolder = (Reporttable.GetCell(RowIter,1).text)&lt;BR /&gt; set rep = ActiveDocument.GetReport(reportID)&lt;BR /&gt; reportName = rep.Name&lt;BR /&gt; 'Create the file name with path&lt;BR /&gt; reportFile = tempFolder &amp;amp; "\" &amp;amp; reportName &amp;amp; " " &amp;amp; Date &amp;amp;" "&amp;amp;hour(Time) &amp;amp;Minute(Time) &amp;amp;second(Time)&amp;amp;".pdf"&lt;BR /&gt; printReportPDF reportID, reportFile&lt;BR /&gt; next&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;4) The file generated is renamed and copied to the correct folder:&lt;/P&gt;&lt;P&gt;function printReportPDF(oReport, pdfOutputFile)&lt;/P&gt;&lt;P&gt;ActiveDocument.PrintReport oReport, "PDF-XChange 3.0",false&lt;BR /&gt; ActiveDocument.GetApplication.Sleep 5000&lt;/P&gt;&lt;P&gt;set WSHShell = nothing&lt;BR /&gt;&lt;BR /&gt; Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt; objFSO.MoveFile "C:\Docs\QlikView Printing.pdf" , pdfOutputFile&lt;BR /&gt; ActiveDocument.GetApplication.Sleep 5000&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;Now what we need to add is to pick up the file and mail it out. I'm waiting for instructions from my customer whether they'll use an Outlook client or direcdtly through the exchange server. Any suggestion from the forum is welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 13:23:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188624#M51811</guid>
      <dc:creator />
      <dc:date>2010-11-30T13:23:26Z</dc:date>
    </item>
    <item>
      <title>batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188625#M51812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you have qlikview publisher then you can distribute reports in pdf to user.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 13:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188625#M51812</guid>
      <dc:creator>suniljain</dc:creator>
      <dc:date>2010-11-30T13:32:07Z</dc:date>
    </item>
    <item>
      <title>batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188626#M51813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunil for the input, however as written in the initial posting, the customer does not have budget voor the publisher.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Johan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Nov 2010 16:04:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188626#M51813</guid>
      <dc:creator />
      <dc:date>2010-11-30T16:04:57Z</dc:date>
    </item>
    <item>
      <title>batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188627#M51814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All&lt;/P&gt;&lt;P&gt;Can you attach the QVW file for this report printing ad mailing the report ... Because i was trying it but unable to do it ...&lt;/P&gt;&lt;P&gt;Please ..&lt;/P&gt;&lt;P&gt;Rishi Beri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Dec 2010 11:11:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188627#M51814</guid>
      <dc:creator />
      <dc:date>2010-12-01T11:11:18Z</dc:date>
    </item>
    <item>
      <title>batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188628#M51815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johan/Gordan/Paul,&lt;BR /&gt;&lt;BR /&gt;Appreciate your efforts regarding the post, please share the sample qvw file for the same.&lt;BR /&gt;My requirement is same where I have to generate pdf and mail the report dealerwise.&lt;BR /&gt;&lt;BR /&gt;I have a common report template for dealers.&lt;BR /&gt;Please find the attached file for the report template.&lt;BR /&gt;How can I generate the same report dealerwise based on their data? seperate report for each dealer.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Dec 2010 11:49:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188628#M51815</guid>
      <dc:creator />
      <dc:date>2010-12-07T11:49:13Z</dc:date>
    </item>
    <item>
      <title>batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188629#M51816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can take a look to DocumentBurster as a lightweight and configurable &lt;A href="http://www.pdfburst.com/" target="_blank"&gt;report bursting and report distribution&lt;/A&gt; alternative.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2010 21:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188629#M51816</guid>
      <dc:creator />
      <dc:date>2010-12-11T21:10:24Z</dc:date>
    </item>
    <item>
      <title>batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188630#M51817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;First o all let me make this thing very clear that we need have publisher license in order to distraibut or to generate reports in pdf format.YOu have got a number of replies and I very much agree to those. I have implemented automated mailing of pdf reports before.The only thing that you require is qlikview pdf setup. I will be mailing you the complete coding which is in visual basic to your mail id.&lt;/P&gt;&lt;P&gt;Kindly drop a test mail on &lt;A href="mailto:gaurav.khare03@gmail.com"&gt;gaurav.khare03@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 11:26:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188630#M51817</guid>
      <dc:creator>gauravkhare</dc:creator>
      <dc:date>2011-04-14T11:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: batch or macro to print report into pdf and e-mail or store on file server</title>
      <link>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188631#M51818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why Run Macro on Post Reload does not work on server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 02:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/batch-or-macro-to-print-report-into-pdf-and-e-mail-or-store-on/m-p/188631#M51818</guid>
      <dc:creator />
      <dc:date>2014-07-17T02:51:05Z</dc:date>
    </item>
  </channel>
</rss>

