<?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: Print Action to Documents in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/print-action-to-documents/m-p/229582#M182712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I have a HTML document generated using JavaScript. I want to add a link to print the document or convert it to PDF using javascript in the same code. Is it possible? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried window.print() but the function is not recognized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2014 14:36:59 GMT</pubDate>
    <dc:creator>juilee</dc:creator>
    <dc:date>2014-06-06T14:36:59Z</dc:date>
    <item>
      <title>Print Action to Documents</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/print-action-to-documents/m-p/229580#M182710</link>
      <description>Hi All,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have been using alfresco for the past 6 months, I have defined few workflows as well.&amp;nbsp; Recently i have come across a new requirement, That is giving print options to documents which are attached to the workflow resource list. For example, the user attached somefile to a workflow, a</description>
      <pubDate>Sat, 20 Mar 2010 05:54:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/print-action-to-documents/m-p/229580#M182710</guid>
      <dc:creator>linton</dc:creator>
      <dc:date>2010-03-20T05:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Print Action to Documents</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/print-action-to-documents/m-p/229581#M182711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unless you want to print a document whose content is text (xml, or html for example ) or a browser renderable content (for example a Image) i think it will be quite difficult.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When you exec window.print in the browser you are asking for the browser's print dialog to appear. This dialog renders the currently browsed content applying the corresponding CSS (the print media CSS if present) and prints it. So unless you manage to transform you content to HTML or a image if seems quite difficult to do what you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your really have to do it, I would look into developing a transformation for your content type that transforms it to an image and then shows the image through a freemarker template that calls window.print().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not an easy job I guess, good luck. If you manage to do something about this please share in this thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Apr 2010 15:34:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/print-action-to-documents/m-p/229581#M182711</guid>
      <dc:creator>iblanco</dc:creator>
      <dc:date>2010-04-27T15:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Print Action to Documents</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/print-action-to-documents/m-p/229582#M182712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I have a HTML document generated using JavaScript. I want to add a link to print the document or convert it to PDF using javascript in the same code. Is it possible? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried window.print() but the function is not recognized.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 14:36:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/print-action-to-documents/m-p/229582#M182712</guid>
      <dc:creator>juilee</dc:creator>
      <dc:date>2014-06-06T14:36:59Z</dc:date>
    </item>
  </channel>
</rss>

