https://wiki.partkeepr.org/index.php?title=Printing_Basic_Installation&feed=atom&action=historyPrinting Basic Installation - Revision history2024-03-28T23:08:14ZRevision history for this page on the wikiMediaWiki 1.31.0https://wiki.partkeepr.org/index.php?title=Printing_Basic_Installation&diff=260&oldid=prevBoldie at 19:31, 10 June 20132013-06-10T19:31:33Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 19:31, 10 June 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l12" >Line 12:</td>
<td colspan="2" class="diff-lineno">Line 12:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Installing tcpdf ==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== Installing tcpdf ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The PDFDefaultRenderer uses the tcpdf library to create a pdf file. First of all get tcpdf from the Homepage http://www.tcpdf.org/ or install it from your distribution. If you are installing it on your own, you have to ensure the include_path of your php installation is pointing to the directory where your tcpdf is installed to.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The PDFDefaultRenderer uses the tcpdf library to create a pdf file. First of all get tcpdf from the Homepage http://www.tcpdf.org/ or install it from your distribution. If you are installing it on your own, you have to ensure the include_path of your php installation is pointing to the directory where your tcpdf is installed to<ins class="diffchange diffchange-inline">. to install it, just download the zipped package from http://www.tcpdf.org/download.php and unzip the archive.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">Where to unzip, is rather dependent on your installation, on my Ubuntu 12.04 system, I unzipped it to "/usr/share/php". Using the standard installation package, you should consider disabling the K_TCPDF_CALLS_IN_HTML option by changing the following file: tcpdf/config/tcpdf_config.php ensure the following line</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline"> define('K_TCPDF_CALLS_IN_HTML', false);</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">is set (search for the K_TCPDF_CALLS_IN_HTML and replace the true by false)</ins>.</div></td></tr>
</table>Boldiehttps://wiki.partkeepr.org/index.php?title=Printing_Basic_Installation&diff=259&oldid=prevBoldie: Created page with "Category:Printing == First steps to activate printing / renderer == Due to some despondencies to external libraries the renderer are deactivated by default, so no distur..."2013-06-10T19:20:13Z<p>Created page with "<a href="/wiki/Category:Printing" title="Category:Printing">Category:Printing</a> == First steps to activate printing / renderer == Due to some despondencies to external libraries the renderer are deactivated by default, so no distur..."</p>
<p><b>New page</b></p><div>[[Category:Printing]]<br />
<br />
== First steps to activate printing / renderer ==<br />
<br />
Due to some despondencies to external libraries the renderer are deactivated by default, so no disturbance with the main application will happen. To activate a desired renderer you have to set a symlink to the renderer or you have to copy the directory over.<br />
<br />
The available renderer are located in "backend/Plugins/PrintingRenderer/" directory of your PartKeepr installation. The active renderer are located in the "backend/PartKeppr/Printing/Renderer" directory. To activate a renderer you have to set a symlink to the directory which contains your desired renderer. Every renderer has its own directory. For e.g. to activate the PDFDefaultRenderer after you have installed tcpdf do the following:<br />
<br />
cd src/backend/PartKeepr/Printing/Renderer<br />
ln -s ../../../Plugins/PrintingRenderer/PDFDefaultRenderer PDFDefaultRenderer<br />
<br />
== Installing tcpdf ==<br />
<br />
The PDFDefaultRenderer uses the tcpdf library to create a pdf file. First of all get tcpdf from the Homepage http://www.tcpdf.org/ or install it from your distribution. If you are installing it on your own, you have to ensure the include_path of your php installation is pointing to the directory where your tcpdf is installed to.</div>Boldie