epson-escp2


Nameepson-escp2 JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/Ircama/epson_escp2
SummaryA comprehensive module for generating ESC/P2 printer sequences from text or images. Supports markdown-like formatting, tables, and various text styles. It includes a comprehensive ESC/P2 decoder.
upload_time2025-08-09 09:22:48
maintainerNone
docs_urlNone
authorIrcama
requires_python>3.6
licenseEUPL-1.2
keywords shell console tkinter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # **epson_escp2**

A Python module to generate raw ESC/P2 sequences from structured text or images, including markdown-style formatting, tables, and varying font styles.

The text or the image is converted into the "Transfer Raster image" ESC/P2 command `ESC i r c b nL nH mL mH d1......dk` and printed as monochrome B/W bitmap in draft/economy mode.

Supported modes:

- non compressed or "Run Length Encoding" compression method
- bit length 1, 2, or 3 (small dot: 01, medium dot: 10, large dot 03)

The `epson_escp2` module also provides tools for generating maintenance commands and decoding ESC/P2 command sequences.

The ESC/P2 decoder is comprehensive of all the individual command specifications and all remote mode commands described in the "EPSON Programming Guide For 4 Color EPSON Ink Jet Printer XP-410" and it is also able to print and dump tiled images produced by the "Transfer Raster image" ESC/P2 commands.

Epson’s **ESC/P2** is Epson’s extended page description language that enables advanced font manipulation, raster graphics, and layout control on Inkjet printers.

## Features

- Convert text with markdown-like formatting to ESC/P2 commands
- Convert images to ESC/P2 raster data
- Generate printer maintenance commands (nozzle checks, cleaning)
- Decode ESC/P2 commands into human-readable format
- Preview generated images before printing
- Direct printing support via LPR protocol (if pyprintlpr module is installed)


Full information and usage details at the [epson_escp2 GitHub repository](https://github.com/Ircama/epson_escp2).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Ircama/epson_escp2",
    "name": "epson-escp2",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">3.6",
    "maintainer_email": null,
    "keywords": "shell console tkinter",
    "author": "Ircama",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/3c/74/f345834099e46cccd6b4acb088b622f83cf7f053459aba7e83f5721b5353/epson_escp2-1.0.2.tar.gz",
    "platform": null,
    "description": "# **epson_escp2**\n\nA Python module to generate raw ESC/P2 sequences from structured text or images, including markdown-style formatting, tables, and varying font styles.\n\nThe text or the image is converted into the \"Transfer Raster image\" ESC/P2 command `ESC i r c b nL nH mL mH d1......dk` and printed as monochrome B/W bitmap in draft/economy mode.\n\nSupported modes:\n\n- non compressed or \"Run Length Encoding\" compression method\n- bit length 1, 2, or 3 (small dot: 01, medium dot: 10, large dot 03)\n\nThe `epson_escp2` module also provides tools for generating maintenance commands and decoding ESC/P2 command sequences.\n\nThe ESC/P2 decoder is comprehensive of all the individual command specifications and all remote mode commands described in the \"EPSON Programming Guide For 4 Color EPSON Ink Jet Printer XP-410\" and it is also able to print and dump tiled images produced by the \"Transfer Raster image\" ESC/P2 commands.\n\nEpson\u2019s **ESC/P2** is Epson\u2019s extended page description language that enables advanced font manipulation, raster graphics, and layout control on Inkjet printers.\n\n## Features\n\n- Convert text with markdown-like formatting to ESC/P2 commands\n- Convert images to ESC/P2 raster data\n- Generate printer maintenance commands (nozzle checks, cleaning)\n- Decode ESC/P2 commands into human-readable format\n- Preview generated images before printing\n- Direct printing support via LPR protocol (if pyprintlpr module is installed)\n\n\nFull information and usage details at the [epson_escp2 GitHub repository](https://github.com/Ircama/epson_escp2).\n",
    "bugtrack_url": null,
    "license": "EUPL-1.2",
    "summary": "A comprehensive module for generating ESC/P2 printer sequences from text or images. Supports markdown-like formatting, tables, and various text styles. It includes a comprehensive ESC/P2 decoder.",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/Ircama/epson_escp2"
    },
    "split_keywords": [
        "shell",
        "console",
        "tkinter"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "3c74f345834099e46cccd6b4acb088b622f83cf7f053459aba7e83f5721b5353",
                "md5": "d30ec6b22203c5d1d6638cb13f522b1e",
                "sha256": "a7e3e5a74df4b6ec9d3b792a87945f6f074e1514458cea732eb78850ade8960f"
            },
            "downloads": -1,
            "filename": "epson_escp2-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "d30ec6b22203c5d1d6638cb13f522b1e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">3.6",
            "size": 42160,
            "upload_time": "2025-08-09T09:22:48",
            "upload_time_iso_8601": "2025-08-09T09:22:48.885892Z",
            "url": "https://files.pythonhosted.org/packages/3c/74/f345834099e46cccd6b4acb088b622f83cf7f053459aba7e83f5721b5353/epson_escp2-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-09 09:22:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Ircama",
    "github_project": "epson_escp2",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "epson-escp2"
}
        
Elapsed time: 0.74607s