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


Groups > comp.lang.python > #68097

Re: Making Labels from python

Date 2014-03-09 15:01 -0700
From Gary Herron <gary.herron@islandtraining.com>
Subject Re: Making Labels from python
References <531CDD47.8020304@fam-goebel.de>
Newsgroups comp.lang.python
Message-ID <mailman.7966.1394402799.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 03/09/2014 02:29 PM, Ulrich Goebel wrote:
> Hallo,
>
> has anybody an idea how to make small formated documents redy to print 
> with python?
>
> I would like to print address labels as
>
>    firstname lastname
>    street and number
>    cip and city
>
> The best should be to form a PDF and send it to the label printer. So 
> the PDF could be given the pagesize (labelsize) and a minimum format 
> (boldface). But may be there is another light-weight-format besides PDF?
>
> Any idea?
>
> Ulrich
>
>

The usual python library for generating PDFs is reportlab.  It has some  
formating capabilities that my be useful for you.

Gary Herron

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Making Labels from python Gary Herron <gary.herron@islandtraining.com> - 2014-03-09 15:01 -0700

csiph-web