Making Labels from python

U

Ulrich Goebel

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
 
I

Irmen de Jong

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


If generating PDF is too heavy for your liking, you could generate some simple HTML
instead and use appropriate CSS (page-break etc) to make it suitable for correct
printing (which you can do from your web browser). I've used this technique rather
successfully myself and generating the HTML for address labels should be fairly trivial.
Getting the css right can be a bit of trial and error depending on the browser you're using.


Irmen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top