<?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: Printing PDF's with a loop in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479430#M179111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you looked into using NPrinting ? It is considerably cheaper than Publisher. It has the functionality to enable you to loop and reduce data and send it out in a number of different formats (.pdf, excel, word, ppt etc) to multiple destinations. The scheduling function will allow you to do this automatically sending the files to email addresses, folders or google drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at &lt;A class="loading" href="http://www.quickintelligence.co.uk/nprinting/"&gt;http://www.quickintelligence.co.uk/nprinting/&lt;/A&gt; for an intro. You can download a free trial version from . You can also request a trial licence that lasts 35 days which would give you full functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Aug 2013 16:00:56 GMT</pubDate>
    <dc:creator>ngulliver</dc:creator>
    <dc:date>2013-08-12T16:00:56Z</dc:date>
    <item>
      <title>Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479423#M179104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have the publisher server therefore i need to be able to print pdf's but i have a loop set up in my reports and really would like to be able to create a pdf for each loop. So i have a list of doctors and i need a PDF printout for each and an added bonus would to save the pdf's according to a specified naming convention.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 21:48:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479423#M179104</guid>
      <dc:creator>kpatelacmm</dc:creator>
      <dc:date>2013-08-08T21:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479424#M179105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a report that contains what you want to show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then export based on the Doctors name using Banding, so it will create a report for each Doctors name as that field has been selected as Banding&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a video link from youtube, Banding is explained at the end, this could work for you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading active_link" href="http://youtu.be/AqU0FanTmag" title="http://youtu.be/AqU0FanTmag"&gt;http://youtu.be/AqU0FanTmag&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this link about the video will also help&amp;nbsp; &lt;A class="loading" href="http://www.quickintelligence.co.uk/qlikview-reports/"&gt;http://www.quickintelligence.co.uk/qlikview-reports/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 22:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479424#M179105</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-08-08T22:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479425#M179106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes thank very helpful. It works however it creates one huge PDF. Is there a way to save each PDF separately automatically so instead of 500 doctor reports on one PDF it will create 500 individual PDFs and automatically save each PDF with the doctors name in the naming convention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 22:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479425#M179106</guid>
      <dc:creator>kpatelacmm</dc:creator>
      <dc:date>2013-08-08T22:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479426#M179107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, that's as much as I know about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will ask some friends if it can be done and I will get back to you, but you may still get an answer on this community, good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 22:21:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479426#M179107</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-08-08T22:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479427#M179108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 22:24:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479427#M179108</guid>
      <dc:creator>kpatelacmm</dc:creator>
      <dc:date>2013-08-08T22:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479428#M179109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this blog post from Stephen Redmond&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small loading" href="http://qliktips.blogspot.com/2012/02/printing-reports-to-pdf-using.html" style="background-color: #ffffff; color: #007fc0; font-family: Arial;"&gt;http://qliktips.blogspot.com/2012/02/printing-reports-to-pdf-using.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure if this will, I hope it does&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 22:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479428#M179109</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2013-08-08T22:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479429#M179110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did all of that in vba script.&lt;/P&gt;&lt;P&gt;Loop through and print to bullzip or similar pdf.&lt;/P&gt;&lt;P&gt;Then you can save them as that, email them, whatever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here are the vb macros i used:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub ProdPrint()&lt;/P&gt;&lt;P&gt;ActiveDocument.ClearAll True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Prods = ActiveDocument.Fields("ProdTour_id").GetPossibleValues&lt;/P&gt;&lt;P&gt;For i = 0 to Prods.count -1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Fields("ProdTour_id").Select Prods.item(i).Text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DagRapport()&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ClearAll True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'//////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub Dagrapport()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v=ActiveDocument.Fields("ProdTour_id").GetSelectedValues&lt;/P&gt;&lt;P&gt;set vPrint=ActiveDocument.Fields("Print").GetPossibleValues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(v.Count = 1 and vPrint.item(0).Text = "Print") Then &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vReport = "RP01" 'Set report&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vName = v(i).Text 'Name of output pdf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.PrintReport(vReport), "Bullzip PDF Printer", false 'Printreport&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; reportFile = "H:\" &amp;amp; vName &amp;amp;".pdf" 'Setting outputname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'HAS TO HAVE FULL PATH!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyPrintPDFWithBullZip(reportFile) 'Call pdf printer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.GetApplication.Sleep 2000&lt;/P&gt;&lt;P&gt;'&amp;nbsp;&amp;nbsp;&amp;nbsp; SendGMail() 'SENDING MAIL&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'//////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION MyPrintPDFWithBullZip (pdfOutputFile)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set obj_printer_util = CreateObject("Bullzip.PDFUtil")&lt;/P&gt;&lt;P&gt;&amp;nbsp; printername = obj_printer_util.defaultprintername&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set obj = CreateObject("Bullzip.PdfSettings")&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.printername = obj_printer_util.defaultprintername&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.SetValue "Output" , pdfOutputFile&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.SetValue "ConfirmOverwrite", "no"&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.SetValue "ShowSaveAS", "no"&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.SetValue "ShowSettings", "never"&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.SetValue "ShowPDF", "no"&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.SetValue "RememberLastFileName", "no"&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.SetValue "RememberLastFolderName", "no"&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.SetValue "ShowProgressFinished", "no"&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.SetValue "ShowProgress", "no"&lt;/P&gt;&lt;P&gt;&amp;nbsp; obj.WriteSettings True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END FUNCTION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'//////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub SendGMail() 'send gmail with attachment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Error Resume Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Object creation &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objMsg = CreateObject("CDO.Message") &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set msgConf = CreateObject("CDO.Configuration") &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Server Configuration &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusing"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;&lt;SPAN&gt;") = 2 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserver"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;&lt;SPAN&gt;") = "smtp.gmail.com" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserverport"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;&lt;SPAN&gt;") = 465 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusername"&gt;http://schemas.microsoft.com/cdo/configuration/sendusername&lt;/A&gt;&lt;SPAN&gt;") = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Something@gmail.com"&gt;Something@gmail.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendpassword"&gt;http://schemas.microsoft.com/cdo/configuration/sendpassword&lt;/A&gt;&lt;SPAN&gt;") = "Password" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgConf.Fields.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpusessl"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;&lt;SPAN&gt;") = 1 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; msgConf.Fields.Update &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Variables for email&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set vDateObject = ActiveDocument.Fields("TourDate").GetPossibleValues&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vDate=vDateObject(i).Text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set v=ActiveDocument.Fields("ProdTour_id").GetSelectedValues ' FINDING WHAT FILE TO SEND&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vName = v(i).Text 'Name of output pdf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reportFile = "H:\" &amp;amp; vName &amp;amp;".pdf" 'Setting outputname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'HAS TO HAVE FULL PATH!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Email &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'objMsg.To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Anders.Moller@domain.com"&gt;Anders.Moller@domain.com&lt;/A&gt;&lt;SPAN&gt;" ' - TEST MAIL ME&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objMsg.From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:Random@domain.com"&gt;Random@domain.com&lt;/A&gt;&lt;SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objMsg.Subject = "Liability Waiver " &amp;amp; vName &amp;amp; " " &amp;amp; vDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objMsg.HTMLBody = "Here is the liability waiver for prod: " &amp;amp; vName &amp;amp; " departing on the " &amp;amp; vDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objMsg.Sender = "Anders Moller" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objMsg.AddAttachment reportFile ' Attachement&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set objMsg.Configuration = msgConf &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If err = 0 then&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Send &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; objMsg.Send &lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Clear &lt;/P&gt;&lt;P&gt;Set objMsg = nothing &lt;/P&gt;&lt;P&gt;Set msgConf = nothing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'//////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub TestPrint()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v=ActiveDocument.Fields("ProdTour_id").GetSelectedValues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(v.Count = 1) Then &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vReport = "RP01" 'Set report&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; vName = v(i).Text 'Name of output pdf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.PrintReport(vReport), "Bullzip PDF Printer", false 'Printreport&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; reportFile = "H:\" &amp;amp; vName &amp;amp;".pdf" 'Setting outputname&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'HAS TO HAVE FULL PATH!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyPrintPDFWithBullZip(reportFile) 'Call pdf printer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.GetApplication.Sleep 2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 23:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479429#M179110</guid>
      <dc:creator>calvindk</dc:creator>
      <dc:date>2013-08-08T23:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479430#M179111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have you looked into using NPrinting ? It is considerably cheaper than Publisher. It has the functionality to enable you to loop and reduce data and send it out in a number of different formats (.pdf, excel, word, ppt etc) to multiple destinations. The scheduling function will allow you to do this automatically sending the files to email addresses, folders or google drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at &lt;A class="loading" href="http://www.quickintelligence.co.uk/nprinting/"&gt;http://www.quickintelligence.co.uk/nprinting/&lt;/A&gt; for an intro. You can download a free trial version from . You can also request a trial licence that lasts 35 days which would give you full functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 16:00:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479430#M179111</guid>
      <dc:creator>ngulliver</dc:creator>
      <dc:date>2013-08-12T16:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479431#M179112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The vba script might work but if you are open to purchasing an add-on nprinting will do all of that and more.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="loading" href="http://www.vizubi.com/nprinting/" title="http://www.vizubi.com/nprinting/"&gt;http://www.vizubi.com/nprinting/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview's default report editor is lack luster, probably because if they let you distribute easily people would'nt need to buy more licenses.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 16:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479431#M179112</guid>
      <dc:creator>jpapador</dc:creator>
      <dc:date>2013-08-12T16:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479432#M179113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For some reason i cannot access the webpage? How much does it cost?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2013 17:28:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479432#M179113</guid>
      <dc:creator>kpatelacmm</dc:creator>
      <dc:date>2013-08-12T17:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479433#M179114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Typically, NPrinting costs around a third the price of Publisher for the full NPrinting Enterprise addition which includes all the editing functionality and scheduling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the Vizubi link is unavailable, have a look at &lt;A class="loading" href="http://www.quickintelligence.co.uk/nprinting/"&gt;&lt;/A&gt;&lt;A class="loading" href="http://www.quickintelligence.co.uk/nprinting/"&gt;http://www.quickintelligence.co.uk/nprinting/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2013 08:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479433#M179114</guid>
      <dc:creator>ngulliver</dc:creator>
      <dc:date>2013-08-13T08:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479434#M179115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks, this is exactly what I am looking for&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 18:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479434#M179115</guid>
      <dc:creator>bumin</dc:creator>
      <dc:date>2013-12-30T18:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479435#M179116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anders,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to do something similiar using the cute PDF Writer. Basically I have 2 list boxes. I firstly select a value from List box x. This displays another list box, call it y. In list box y there is list of 40 values. I want to select a value then print to the cute PDF writer, saving it with a specified field value and saved in a specified location, then selecting the next value, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been trying to modify your code but not having much luck. I've put your code into notepad, saved it as .vba file. Then used the execute command in qlikview to bring the file in. Is this the correct way of doing this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to be able to click on a button on the dashboard and the pdf's get printed and saved one at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 12:08:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479435#M179116</guid>
      <dc:creator />
      <dc:date>2015-05-20T12:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Printing PDF's with a loop</title>
      <link>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479436#M179117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adrian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It helps if you go through the macros one at a time and get them to work individually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can open the macros in qlikview by using CTRL+M to see which macros are there and run them one at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above pasted is 4 different VB macros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The looping part you are asking about is the easiest part, as that is only this part:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub YPrint()&lt;/P&gt;&lt;P&gt;ActiveDocument.ClearAll True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set Y = ActiveDocument.Fields("Y").GetPossibleValues&lt;/P&gt;&lt;P&gt;For i = 0 to Y.count -1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Fields("Y").Select Y.item(i).Text&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //-- once you get it working then add the printing part here&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ActiveDocument.ClearAll True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 20:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Printing-PDF-s-with-a-loop/m-p/479436#M179117</guid>
      <dc:creator>calvindk</dc:creator>
      <dc:date>2015-07-13T20:01:30Z</dc:date>
    </item>
  </channel>
</rss>

