{ "info": { "author": "Micka\u00ebl 'Tiger-222' Schoentgen", "author_email": "contact@tiger-222.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Printing", "Topic :: Software Development :: Libraries", "Topic :: System :: Hardware :: Hardware Drivers" ], "description": "DP-EH600 thermal printer\n========================\n\n.. image:: https://travis-ci.org/BoboTiG/thermalprinter.svg?branch=master\n :target: https://travis-ci.org/BoboTiG/thermalprinter\n\nPython module to manage the DP-EH600 thermal printer (the one sold by AdaFruit).\n\n- **Python 3+ only** and PEP8 compliant;\n- this is a clean follow of the technical manual with few helpers;\n- and there is a `complete, and beautiful, documentation `_ :)\n- also several useful `recipes `_;\n- **contibutors** are welcome, check the `developer guide `_!\n\nInstallation\n------------\n\nAs simple as:\n\n.. code-block:: bash\n\n python3 -m pip install --upgrade --user thermalprinter\n\n\nUsage\n-----\n\nAn example is better than thousand words:\n\n.. code-block:: python\n\n from PIL import Image\n from ThermalPrinter import *\n\n with ThermalPrinter(port='/dev/ttyAMA0') as printer:\n # Picture\n printer.image(Image.open('gnu.png'))\n\n # Bar codes\n printer.barcode_height(80)\n printer.barcode_position(BarCodePosition.BELOW)\n printer.barcode_width(3)\n printer.barcode('012345678901', BarCode.EAN13)\n\n # Styles\n printer.out('Bold', bold=True)\n printer.out('Double height', double_height=True)\n printer.out('Double width', double_width=True)\n printer.out('Inverse', inverse=True)\n printer.out('Rotate 90\u00b0', rotate=True, codepage=CodePage.ISO_8859_1)\n printer.out('Strike', strike=True)\n printer.out('Underline', underline=1)\n printer.out('Upside down', upside_down=True)\n\n # Chinese (almost all alphabets exist)\n printer.out('\u73b0\u4ee3\u6c49\u8bed\u901a\u7528\u5b57\u8868', chinese=True,\n chinese_format=Chinese.UTF_8)\n \n # Greek (excepted the \u0390 character)\n printer.out('\u03a3\u03c4\u03b7\u03bd \u03c5\u03b3\u03b5\u03b9\u03ac \u03bc\u03b1\u03c2!', codepage=CodePage.CP737)\n\n # Accents\n printer.out('Voil\u00e0 !', justify='C', strike=True,\n underline=2, codepage=CodePage.ISO_8859_1)\n\n # Line feeds\n printer.feed(2)\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/BoboTiG/thermalprinter", "keywords": "driver", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "thermalprinter", "package_url": "https://pypi.org/project/thermalprinter/", "platform": "", "project_url": "https://pypi.org/project/thermalprinter/", "project_urls": { "Homepage": "https://github.com/BoboTiG/thermalprinter" }, "release_url": "https://pypi.org/project/thermalprinter/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Driver for the DP-EH600 thermal printer (AdaFruit).", "version": "0.2.0" }, "last_serial": 4680828, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4562e5678688a44bb50f2469cbf23017", "sha256": "f1895c5cb252130925ef206d08420ce510d00c1a5a9a1963eada4d9a1e986b6a" }, "downloads": -1, "filename": "thermalprinter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4562e5678688a44bb50f2469cbf23017", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10469, "upload_time": "2016-09-28T16:35:04", "url": "https://files.pythonhosted.org/packages/82/3f/62d3879ff00f7679b72388d89091272af58d26d484866d97b5201ec5bc6b/thermalprinter-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7593f61cfd0ac61997cd58fdb9a78487", "sha256": "39443c6684091aa755749ecb3feea0839aeba0dcbf77d4a2e0dfbbc1649157fe" }, "downloads": -1, "filename": "thermalprinter-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7593f61cfd0ac61997cd58fdb9a78487", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10808, "upload_time": "2016-09-29T11:44:46", "url": "https://files.pythonhosted.org/packages/f6/ff/c3506e9912d7d11e5c9de36eb79a9521e5f19719df7e3f724e303a31ae1e/thermalprinter-0.1.1.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "b66487e50fa151305f4e215bb4d87492", "sha256": "655c8e742bc09374aedea71e00f98df1c944508c0c6866630197edefdae2441f" }, "downloads": -1, "filename": "thermalprinter-0.1.7.tar.gz", "has_sig": false, "md5_digest": "b66487e50fa151305f4e215bb4d87492", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10996, "upload_time": "2017-05-07T11:16:55", "url": "https://files.pythonhosted.org/packages/2d/60/d3d1beeaabb8da34028460d2e6bfb906e071965257e2b5e72f8c09667193/thermalprinter-0.1.7.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "8ed66265f4aa3ff2a2a043bdaf88e98f", "sha256": "1f6101ba749ad4e66663a5a1cceae6b7f028c59035acc412df7d1182e9acfaae" }, "downloads": -1, "filename": "thermalprinter-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8ed66265f4aa3ff2a2a043bdaf88e98f", "packagetype": "bdist_wheel", "python_version": "3.8", "requires_python": null, "size": 26176, "upload_time": "2019-01-10T12:02:22", "url": "https://files.pythonhosted.org/packages/b8/48/19049365988d9e3a1d484bffbdf354a22646bed047e2231cf30405330b9d/thermalprinter-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cfe0b4de63a34874ccf378e1ea4fb1f2", "sha256": "cb96f9b96d3c97a236551cd92c0442aa32c418281a5b449ed337e0350d90bd6c" }, "downloads": -1, "filename": "thermalprinter-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cfe0b4de63a34874ccf378e1ea4fb1f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25288, "upload_time": "2019-01-10T12:02:20", "url": "https://files.pythonhosted.org/packages/e2/65/948448402c2c38de7d5af4037c00c414811f00b35382bd67c14f997a9950/thermalprinter-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8ed66265f4aa3ff2a2a043bdaf88e98f", "sha256": "1f6101ba749ad4e66663a5a1cceae6b7f028c59035acc412df7d1182e9acfaae" }, "downloads": -1, "filename": "thermalprinter-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8ed66265f4aa3ff2a2a043bdaf88e98f", "packagetype": "bdist_wheel", "python_version": "3.8", "requires_python": null, "size": 26176, "upload_time": "2019-01-10T12:02:22", "url": "https://files.pythonhosted.org/packages/b8/48/19049365988d9e3a1d484bffbdf354a22646bed047e2231cf30405330b9d/thermalprinter-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cfe0b4de63a34874ccf378e1ea4fb1f2", "sha256": "cb96f9b96d3c97a236551cd92c0442aa32c418281a5b449ed337e0350d90bd6c" }, "downloads": -1, "filename": "thermalprinter-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cfe0b4de63a34874ccf378e1ea4fb1f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25288, "upload_time": "2019-01-10T12:02:20", "url": "https://files.pythonhosted.org/packages/e2/65/948448402c2c38de7d5af4037c00c414811f00b35382bd67c14f997a9950/thermalprinter-0.2.0.tar.gz" } ] }