softwaresea.com

pypostscript Free Download

pypostscript Ranking & Summary

Ranking: Click at the star to rank
User Review: 0 ( times ) Download now
File Size: -
OS: -
License: MIT/X Consortium Lic...
Price: FREE
Downloads:
Publisher: Mark Henwood
Homepage: http://mcbh.co.uk

pypostscript Tags

pypostscript Description

pypostscript is a Python module to create A4 portrait PostScript output with Python objects.UsageExample of usage:from pypostscript.barcode import Code39Barcode, Code93Barcodefrom pypostscript.shapes import Circle, Rectanglefrom pypostscript.text import HelveticaBoldFont, TextLine, TimesPlainFontfrom pypostscript.page import Pagedef sample_page(): page = Page() page.extend(TextLine(x_pts=40, y_pts=740, font=HelveticaBoldFont(size_pts=22), text='A Test Portrait Page')) page.extend(TextLine(x_pts=40, y_pts=650, font=TimesPlainFont(size_pts=12), text='PostScript library, test portrait page.')) page.extend(Code39Barcode(x_pts=40, y_pts=500, chars='ABC123')) page.extend(Code93Barcode(x_pts=40, y_pts=400, chars='ABC987')) page.extend(Rectangle(x_pts=30, y_pts=390, width_pts=170, height_pts=185, line_width_pts=2)) page.extend(Circle(centre_x_pts=80, centre_y_pts=150, radius_pts=72, line_width_pts=1)) return pageif __name__ == '__main__': page = sample_page() print page.render()Product's homepage

pypostscript Related Software

pypostscript Company

Mark Henwood

WebSite:http://mcbh.co.uk
Company Information:

pypostscript Reviews