Commit Graph

788 Commits

Author SHA1 Message Date
ldos f0f84e1215 Extended params for serial printers
Update printer.Serial() constructor and its open() method to extend serial params.
Backwards compatible, no client modifications needed.
2015-07-04 17:23:31 +02:00
Manuel F Martinez cae02976a3 Updated accordingly to the wiki 2015-06-30 15:09:08 -07:00
Christoph Heuel 25b650c935 Hexlify text
* The original code did not convert the received text
2015-06-26 02:12:30 +02:00
Christoph Heuel 6734864a5b Use unhexlify
* for decoding, use unhexlify
2015-06-15 23:08:49 +02:00
Manuel F Martinez 9550ad1068 Fixed License version mismatch 2015-06-10 16:28:27 -07:00
Christoph Heuel 0ef2951c7e Introduce new direct_image
* The direct_image method prints directly from the PIL image object
* The image should be converted to 1 bit before
* The method was derived from png2escpos (https://github.com/twg/png2escpos)
2015-06-10 03:21:52 +02:00
Manuel F Martinez e623799fd7 Updated setup URLs 2015-06-04 15:55:14 -07:00
Manuel F Martinez 47aa4a96c9 Updated documentation URL to local wiki 2015-06-04 15:20:15 -07:00
Manuel F Martinez bb329b093b Updated URL for the documentation 2015-06-04 14:44:02 -07:00
Christoph Heuel dd228c9fda Add text wrapping
* The base class supports to give columns, how much it should wrapped.
* This is meant for longer text.
* The special instances need to initialize the super class with the
* columns
2015-06-04 14:11:11 +02:00
Christoph Heuel 7da2e32e3c Integer is needed, not float
* The size of the image can only be integer, not float.
  Using round to convert it back
2015-06-04 13:20:17 +02:00
Christoph Heuel b99c076bae Fix for string operation
* With Python version 3 data and text are treated different. Convert the
* text accordingly.
2015-05-19 02:52:55 +02:00
Christoph Heuel afc6834082 After running 2to3 tool 2015-05-07 20:54:32 +02:00
manpaz d93e76e904 Merge pull request #45 from Krispy2009/master
Raising the right error when wrong charcode is used
2015-04-21 14:07:36 -07:00
Kristi f3933d5d20 Merge pull request #1 from Krispy2009/Krispy2009-patch-1
Raising the right error when wrong charcode is used
2015-04-20 10:58:49 +01:00
Kristi 517435efad Raising the right error when wrong charcode is used 2015-04-20 10:58:04 +01:00
Manuel F Martinez 122ff9a363 Updated version 2014-05-20 23:51:39 -07:00
Manuel F Martinez 708f7e97d1 fixed code tabulators 2014-05-20 23:50:06 -07:00
Manuel F Martinez 8a3850ea64 Added quad support 2014-05-20 22:43:40 -07:00
Manuel F Martinez 34f562d64a Added density support 2014-05-20 22:31:49 -07:00
Manuel F Martinez 2b37185003 Updated version 2014-05-20 22:16:44 -07:00
Manuel F Martinez f6f1a4278f Fixed tabs and added charcode tables 2014-05-20 22:15:54 -07:00
Manuel F Martinez 51faf0a622 Added base package files 2014-02-23 23:10:41 -08:00
Manuel F Martinez a2dcd45c15 Added quad-area characters 2014-02-23 23:09:35 -08:00
Manuel F Martinez 27b393d45c Added exception for PIL import 2014-02-23 21:10:34 -08:00
Manuel F Martinez 9023d22e71 Added syntax to have print working on windows 2013-05-30 08:56:33 -07:00
Manuel F Martinez b0097da16f Fixed font set 2013-05-30 08:47:30 -07:00
Manuel F Martinez c6ee2f6338 Added ability to print from a generic file 2013-04-12 14:04:48 -07:00
Manuel F Martinez 64e5ea5151 Added fixed tabs 2013-03-14 01:34:48 -07:00
Manuel F Martinez 5295d5c90b Added qr functionality 2013-03-14 01:31:07 -07:00
Manuel F Martinez 0e42bfc89a Updated installation instructions 2013-03-13 23:25:46 -07:00
Manuel F Martinez 69cea54818 Added proper installer 2013-03-13 23:22:43 -07:00
Manuel F Martinez 670716eb5d Fixed typo 2012-11-15 09:20:16 -08:00
Manuel F Martinez 085e45057b Fixed defaults for serial 2012-09-24 19:42:32 -07:00
Manuel F Martinez 3760788cfe Added Network and Serial support 2012-09-23 21:24:45 -07:00
Manuel F Martinez e9effc23da Updated to be compatible with libusb1 2012-07-28 16:02:57 -07:00
Manuel F Martinez a019722177 fixed typo in escpos 2010-02-26 12:06:48 -08:00
Manuel F Martinez fa085d26a9 Initial files 2010-02-26 00:54:46 -08:00