<?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: How do I integrate alfresco-pdf-renderer in the Community Edition 201707GA? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-do-i-integrate-alfresco-pdf-renderer-in-the-community/m-p/16431#M7257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For those of us who run non-standard OS (eg: FreeBSD) which doesn't have PDFium available, I've coded up a python wrapper for image magick (which in turn uses ghostscript (I believe from docs) - both still available on FreeBSD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alpha code but it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here for details:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/BambooVolt/alfresco-pdf-renderer-in-python" title="https://github.com/BambooVolt/alfresco-pdf-renderer-in-python" rel="nofollow noopener noreferrer"&gt;GitHub - BambooVolt/alfresco-pdf-renderer-in-python: Provides a wrapper for using ImageMagick(/GhostScript) to auto-crea…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply drop into the same folder - typically ${alfresco_home}/common/alfresco-pdf-renderer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then update alfresco-global.properties as below:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;alfresco-pdf-renderer.root=/opt/alfresco-community/common/alfresco-pdf-renderer&lt;BR /&gt;alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer.py&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Remember to enable access by the alfresco user (chown alfresco ....) enable execution on unix (chmod 0500 ...) and update the filename appropriately - note the .py extension here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Options currently Unimplemented:&lt;/P&gt;&lt;P&gt;--allow-enlargement - to do when time permits&lt;/P&gt;&lt;P&gt;--maintain-aspect-ratio - this appears to "Just Work" at this time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Oct 2017 01:21:56 GMT</pubDate>
    <dc:creator>briant</dc:creator>
    <dc:date>2017-10-30T01:21:56Z</dc:date>
    <item>
      <title>How do I integrate alfresco-pdf-renderer in the Community Edition 201707GA?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-do-i-integrate-alfresco-pdf-renderer-in-the-community/m-p/16429#M7255</link>
      <description>Hi all,the release notes for 201707GA of the community edition mention the carve-out of GhostScript and introduction of alfresco-pdf-renderer as a wrapper for PDFium. Installing the new packages as an update on my Tomcat installation on Linux I receive the following error in my log:&amp;nbsp;ERROR [org.alfre</description>
      <pubDate>Tue, 18 Jul 2017 10:34:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-do-i-integrate-alfresco-pdf-renderer-in-the-community/m-p/16429#M7255</guid>
      <dc:creator>j_engel</dc:creator>
      <dc:date>2017-07-18T10:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I integrate alfresco-pdf-renderer in the Community Edition 201707GA?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-do-i-integrate-alfresco-pdf-renderer-in-the-community/m-p/16430#M7256</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;I just installed the linux bundle and I can see the alfresco-pdf-renderer in common directory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;STRONG&gt;&lt;A href="mailto:cesar@lemmy" rel="nofollow noopener noreferrer"&gt;cesar@lemmy&lt;/A&gt; $ /opt/alfresco52g/common/alfresco-pdf-renderer/alfresco-pdf-renderer -h&lt;/STRONG&gt;&lt;BR /&gt;Usage: alfresco_pdfium_convert [OPTION] [PDF-FILE] [PNG-FILE]&lt;BR /&gt; --width=&amp;lt;width&amp;gt; - override page width in pixels&lt;BR /&gt; --height=&amp;lt;height&amp;gt; - override page height in pixels&lt;BR /&gt; --maintain-aspect-ratio - Maintain aspect ratio when resizing the page&lt;BR /&gt; --allow-enlargement - When maintaining the aspect ratio, allow one parameter to exceed the given height/width&lt;BR /&gt; --page=&amp;lt;number&amp;gt; - 0-based page number to be converted (default 0)&lt;BR /&gt; --version - Display version information and exit immediately&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And&amp;nbsp;in alfresco-global.properties you should have something like the following (this is the default config):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;alfresco-pdf-renderer.root=/opt/alfresco52g/common/alfresco-pdf-renderer&lt;BR /&gt;alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 12:48:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-do-i-integrate-alfresco-pdf-renderer-in-the-community/m-p/16430#M7256</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-07-18T12:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I integrate alfresco-pdf-renderer in the Community Edition 201707GA?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-do-i-integrate-alfresco-pdf-renderer-in-the-community/m-p/16431#M7257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For those of us who run non-standard OS (eg: FreeBSD) which doesn't have PDFium available, I've coded up a python wrapper for image magick (which in turn uses ghostscript (I believe from docs) - both still available on FreeBSD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alpha code but it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here for details:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/BambooVolt/alfresco-pdf-renderer-in-python" title="https://github.com/BambooVolt/alfresco-pdf-renderer-in-python" rel="nofollow noopener noreferrer"&gt;GitHub - BambooVolt/alfresco-pdf-renderer-in-python: Provides a wrapper for using ImageMagick(/GhostScript) to auto-crea…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply drop into the same folder - typically ${alfresco_home}/common/alfresco-pdf-renderer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then update alfresco-global.properties as below:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;alfresco-pdf-renderer.root=/opt/alfresco-community/common/alfresco-pdf-renderer&lt;BR /&gt;alfresco-pdf-renderer.exe=${alfresco-pdf-renderer.root}/alfresco-pdf-renderer.py&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Remember to enable access by the alfresco user (chown alfresco ....) enable execution on unix (chmod 0500 ...) and update the filename appropriately - note the .py extension here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Options currently Unimplemented:&lt;/P&gt;&lt;P&gt;--allow-enlargement - to do when time permits&lt;/P&gt;&lt;P&gt;--maintain-aspect-ratio - this appears to "Just Work" at this time&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 01:21:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-do-i-integrate-alfresco-pdf-renderer-in-the-community/m-p/16431#M7257</guid>
      <dc:creator>briant</dc:creator>
      <dc:date>2017-10-30T01:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I integrate alfresco-pdf-renderer in the Community Edition 201707GA?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-do-i-integrate-alfresco-pdf-renderer-in-the-community/m-p/16432#M7258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The latest packaging of the docker images will describe the software that is&amp;nbsp;&lt;EM&gt;needed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;A class="link-titled" href="https://github.com/Alfresco/acs-community-packaging/blob/master/docker-alfresco/Dockerfile" title="https://github.com/Alfresco/acs-community-packaging/blob/master/docker-alfresco/Dockerfile" rel="nofollow noopener noreferrer"&gt;acs-community-packaging/Dockerfile at master · Alfresco/acs-community-packaging · GitHub&lt;/A&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 13:48:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-do-i-integrate-alfresco-pdf-renderer-in-the-community/m-p/16432#M7258</guid>
      <dc:creator>derek</dc:creator>
      <dc:date>2018-05-21T13:48:39Z</dc:date>
    </item>
  </channel>
</rss>

