<?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 Printing from a PDF in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Printing-from-a-PDF/m-p/85864#M36804</link>
    <description>Good morning all,&lt;BR /&gt;&lt;BR /&gt;We've run into an issue when printing a PDF. Currently, this is our approach:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23807.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23940iFD2A04C0AEB50578/image-size/large?v=v2&amp;amp;px=999" role="button" title="23807.png" alt="23807.png" /&gt;&lt;/span&gt;&lt;BR /&gt;We then have a global wait (currently 15 seconds) for this process to run before killing Acrobat. However, we're not getting any confirmation that the print has actually completed in this timeframe, and files are as a result intermittently not appearing on the printer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there another approach that I'm unable to think of currently? We need to reliably know that Acrobat has opened and sent the file to the printer, and that the print controller has registered that an item is to be added to the print queue before terminating the process.&lt;BR /&gt;&lt;BR /&gt;Open to any and all suggestions!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 29 Oct 2021 10:54:00 GMT</pubDate>
    <dc:creator>john.hammond</dc:creator>
    <dc:date>2021-10-29T10:54:00Z</dc:date>
    <item>
      <title>Printing from a PDF</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Printing-from-a-PDF/m-p/85864#M36804</link>
      <description>Good morning all,&lt;BR /&gt;&lt;BR /&gt;We've run into an issue when printing a PDF. Currently, this is our approach:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23807.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23940iFD2A04C0AEB50578/image-size/large?v=v2&amp;amp;px=999" role="button" title="23807.png" alt="23807.png" /&gt;&lt;/span&gt;&lt;BR /&gt;We then have a global wait (currently 15 seconds) for this process to run before killing Acrobat. However, we're not getting any confirmation that the print has actually completed in this timeframe, and files are as a result intermittently not appearing on the printer.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there another approach that I'm unable to think of currently? We need to reliably know that Acrobat has opened and sent the file to the printer, and that the print controller has registered that an item is to be added to the print queue before terminating the process.&lt;BR /&gt;&lt;BR /&gt;Open to any and all suggestions!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Oct 2021 10:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Printing-from-a-PDF/m-p/85864#M36804</guid>
      <dc:creator>john.hammond</dc:creator>
      <dc:date>2021-10-29T10:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Printing from a PDF</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Printing-from-a-PDF/m-p/85865#M36805</link>
      <description>I've never used it, but it looks like .Net offers functionality in the System.Printing namespace, for example the &lt;A href="https://docs.microsoft.com/en-us/dotnet/api/system.printing.printqueue.getprintjobinfocollection?view=windowsdesktop-5.0#System_Printing_PrintQueue_GetPrintJobInfoCollection" target="_blank" rel="noopener"&gt;GetPrintJobInfoCollection&lt;/A&gt; method. Maybe you could employ that in a code stage and create the looping 'has it worked?' check you describe?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Oct 2021 11:15:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Printing-from-a-PDF/m-p/85865#M36805</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2021-10-29T11:15:00Z</dc:date>
    </item>
    <item>
      <title>RE: Printing from a PDF</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Printing-from-a-PDF/m-p/85866#M36806</link>
      <description>Hi John, thanks for getting back to me.&lt;BR /&gt;&lt;BR /&gt;Would that be reliable on a network printer? I'm not knowledgeable myself on .NET myself. It looks like our print queue doesn't consistently contain the file name, which might put up another hurdle?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Hammond&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Oct 2021 12:04:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Printing-from-a-PDF/m-p/85866#M36806</guid>
      <dc:creator>john.hammond</dc:creator>
      <dc:date>2021-10-29T12:04:00Z</dc:date>
    </item>
    <item>
      <title>RE: Printing from a PDF</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Printing-from-a-PDF/m-p/85867#M36807</link>
      <description>You can do something like this by extending the code stage:&lt;BR /&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;
&lt;/P&gt;&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Dim pdf = GetDocument(Handle, Document Name)&lt;BR /&gt;pdf.PrintOut(Background:=False)&lt;BR /&gt;pdf = Nothing&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;Vipul Tiwari&lt;BR /&gt;Senior Process Simplification Developer&lt;BR /&gt;Amazon&lt;BR /&gt;------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Sat, 30 Oct 2021 05:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Printing-from-a-PDF/m-p/85867#M36807</guid>
      <dc:creator>EVIPUTI</dc:creator>
      <dc:date>2021-10-30T05:28:00Z</dc:date>
    </item>
  </channel>
</rss>

