Mercurial > hg > zebra
annotate README @ 11:588c08f2d7b8 0.0.2a
Removed tag 0.0.2a
author | Ben Croston <ben@fuzzyduckbrewery.co.uk> |
---|---|
date | Mon, 15 Aug 2011 01:02:14 +0100 |
parents | 6a1963ee4aff |
children | 3cad40fda053 |
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 | |
10 | 13 from zebra import zebra |
14 | |
0 | 15 z = zebra( [printerqueue] ) |
16 - Constructor with optional printerqueue | |
17 | |
18 z.getqueues() | |
19 - Return a list containing a list of printer queues | |
20 | |
21 z.setqueue( printerqueue ) | |
22 - Set the printer queue | |
23 | |
2
ad9d9bf61243
Change direct transfer to direct thermal
Ben Croston <ben@fuzzyduckbrewery.co.uk>
parents:
1
diff
changeset
|
24 z.setup(direct_thermal=None, label_height=None, label_width=None) |
0 | 25 - Set up the printer |
26 | |
1 | 27 z.store_graphic(name, filename) |
0 | 28 - Store a graphics .PCX file on printer |
29 | |
30 z.output(commands) | |
31 - Output EPL2 commands to the printer |