Popular Python recipes tagged "meta:requires=reportlab.platypus"http://code.activestate.com/recipes/langs/python/tags/meta:requires=reportlab.platypus/2011-07-17T19:49:58-07:00ActiveState Code Recipesjpg2pdf (Python) 2011-07-17T19:49:58-07:00Sundar Srinivasanhttp://code.activestate.com/recipes/users/4177884/http://code.activestate.com/recipes/577798-jpg2pdf/ <p style="color: grey"> Python recipe 577798 by <a href="/recipes/users/4177884/">Sundar Srinivasan</a> (<a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/jpeg/">jpeg</a>, <a href="/recipes/tags/pdf/">pdf</a>, <a href="/recipes/tags/reportlab/">reportlab</a>). </p> <p>Program to convert JPEG to PDF. Technically it just embeds the JPEG in a landscape US letter size PDF page. When you might need it?: When you have to scan a document and do not have scanner handy, you can take a photograph of the document with webcam, and embed the JPEG into PDF - effectively works as a scanner.</p> Improved ReportLab recipe for "page x of y" (Python) 2009-07-06T10:03:28-07:00Vinay Sajiphttp://code.activestate.com/recipes/users/4034162/http://code.activestate.com/recipes/576832-improved-reportlab-recipe-for-page-x-of-y/ <p style="color: grey"> Python recipe 576832 by <a href="/recipes/users/4034162/">Vinay Sajip</a> (<a href="/recipes/tags/pdf/">pdf</a>, <a href="/recipes/tags/reportlab/">reportlab</a>). Revision 2. </p> <p>This recipe is based on <a href="http://code.activestate.com/recipes/546511/"><a href="http://code.activestate.com/recipes/546511/">Recipe 546511</a></a> which does not work reliably if there are images in the content.</p> BaseDocTemplate with 2 PageTemplate (Python) 2002-04-27T12:10:02-07:00dode williamhttp://code.activestate.com/recipes/users/385276/http://code.activestate.com/recipes/123612-basedoctemplate-with-2-pagetemplate/ <p style="color: grey"> Python recipe 123612 by <a href="/recipes/users/385276/">dode william</a> . </p> <p>Very simple example using BaseDocTemplate with 2 PageTemplate, somes Frame.</p>