Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #68103
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Making Labels from python |
| Date | 2014-03-09 18:53 -0400 |
| References | <531CDD47.8020304@fam-goebel.de> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.7969.1394405654.18130.python-list@python.org> (permalink) |
On 3/9/2014 5: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? Get a label printing program that you can call from python with subprocess. Or look at the following https://pypi.python.org/pypi?%3Aaction=search&term=label+printing&submit=search The top hit is pylabels, which uses ReportLab. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Making Labels from python Terry Reedy <tjreedy@udel.edu> - 2014-03-09 18:53 -0400
csiph-web