Mercurial > hg > zebra
diff README @ 17:a9dacd180597
Does not work in python 2.6 after all
Tidy up
author | Ben Croston <ben@croston.org> |
---|---|
date | Mon, 15 Aug 2011 20:18:38 +0100 |
parents | 3cad40fda053 |
children | 777602a0da24 |
line wrap: on
line diff
--- a/README Mon Aug 15 19:25:52 2011 +0100 +++ b/README Mon Aug 15 20:18:38 2011 +0100 @@ -1,5 +1,5 @@ ============ -Zebra-0.0.2a +Zebra-0.0.3a ============ Note: @@ -13,27 +13,25 @@ from zebra import zebra z = zebra( [queue] ) - - Constructor with optional printer queue + Constructor with optional printer queue z.getqueues() - - Return a list containing available printer queues + Return a list containing available printer queues z.setqueue( queue ) - - Set the printer queue + Set the printer queue z.setup( direct_thermal=None, label_height=None, label_width=None ) Set up the label printer. Parameters are not set if they are None. - direct_thermal - True if using direct thermal labels label_height - tuple (label height, label gap) in dots label_width - in dots z.store_graphic( name, filename ) - Store a .PCX file on the label printer - + Store a .PCX file on the label printer name - name to be used on printer filename - local filename z.output( commands ) - - Output EPL2 commands to the printer + Output EPL2 commands to the printer