Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68099 > unrolled thread

Re: Making Labels from python

Started byBen Finney <ben+python@benfinney.id.au>
First post2014-03-10 09:21 +1100
Last post2014-03-10 00:31 +0200
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Making Labels from python Ben Finney <ben+python@benfinney.id.au> - 2014-03-10 09:21 +1100
    Re: Making Labels from python Marko Rauhamaa <marko@pacujo.net> - 2014-03-10 00:31 +0200

#68099 — Re: Making Labels from python

FromBen Finney <ben+python@benfinney.id.au>
Date2014-03-10 09:21 +1100
SubjectRe: Making Labels from python
Message-ID<mailman.7968.1394403697.18130.python-list@python.org>
Ulrich Goebel <ml@fam-goebel.de> writes:

> has anybody an idea how to make small formated documents redy to print
> with python?

The most reliable “ready to print” document formats are:

* plain text
* PDF

All others, AFAIK, are significantly less reliable for that purpose.

The “ReportLab PDF library” is a comprehensive library for this
<URL:https://pypi.python.org/pypi/reportlab/> for general page layout
and PDF generation.

-- 
 \       “The optimist thinks this is the best of all possible worlds. |
  `\           The pessimist fears it is true.” —J. Robert Oppenheimer |
_o__)                                                                  |
Ben Finney

[toc] | [next] | [standalone]


#68102

FromMarko Rauhamaa <marko@pacujo.net>
Date2014-03-10 00:31 +0200
Message-ID<87vbvnqa0q.fsf@elektro.pacujo.net>
In reply to#68099
Ben Finney <ben+python@benfinney.id.au>:

> The most reliable “ready to print” document formats are:
>
> * plain text
> * PDF

You might also consider PostScript. It can be emitted from any
programming language without any special support (and any special
support would probably only get in the way).

A possibility is also the xlwt module, which allows you to generate
Excel documents. I have used to great success, but the results may not
be ready to print.


Marko

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web