Mercurial > hg > zebra
annotate README @ 9:19a28a953f39
Added tag 0.0.2a for changeset 19fd067db7ca
author | Ben Croston |
---|---|
date | Mon, 15 Aug 2011 00:21:04 +0100 |
parents | 19fd067db7ca |
children | 6a1963ee4aff |
rev | line source |
---|---|
0 | 1 ============ |
8 | 2 Zebra-0.0.2a |
0 | 3 ============ |
4 | |
5 Note: | |
6 | |
6 | 7 - Mac OSX may already be supported but has not been tested |
0 | 8 |
9 Usage: | |
10 | |
11 :: | |
12 | |
13 z = zebra( [printerqueue] ) | |
14 - Constructor with optional printerqueue | |
15 | |
16 z.getqueues() | |
17 - Return a list containing a list of printer queues | |
18 | |
19 z.setqueue( printerqueue ) | |
20 - Set the printer queue | |
21 | |
2
ad9d9bf61243
Change direct transfer to direct thermal
Ben Croston <ben@fuzzyduckbrewery.co.uk>
parents:
1
diff
changeset
|
22 z.setup(direct_thermal=None, label_height=None, label_width=None) |
0 | 23 - Set up the printer |
24 | |
1 | 25 z.store_graphic(name, filename) |
0 | 26 - Store a graphics .PCX file on printer |
27 | |
28 z.output(commands) | |
29 - Output EPL2 commands to the printer |