{"id":16607171,"url":"https://github.com/ryankurte/rust-ptouch","last_synced_at":"2025-08-11T04:07:39.779Z","repository":{"id":41842976,"uuid":"332663224","full_name":"ryankurte/rust-ptouch","owner":"ryankurte","description":"Rust driver for Brother P-Touch label makers (USB)","archived":false,"fork":false,"pushed_at":"2024-10-09T19:53:26.000Z","size":103,"stargazers_count":55,"open_issues_count":21,"forks_count":18,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-06T23:59:05.639Z","etag":null,"topics":["brother","driver","ptouch","rust","usb"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryankurte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-25T07:22:23.000Z","updated_at":"2025-07-24T01:13:29.000Z","dependencies_parsed_at":"2024-06-06T22:27:53.671Z","dependency_job_id":"a4fafb7a-2153-47ee-b337-8be7fa0aee8a","html_url":"https://github.com/ryankurte/rust-ptouch","commit_stats":{"total_commits":47,"total_committers":11,"mean_commits":"4.2727272727272725","dds":0.5319148936170213,"last_synced_commit":"8f7621af10a235161e62a9ba42c9286268f79416"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ryankurte/rust-ptouch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankurte%2Frust-ptouch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankurte%2Frust-ptouch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankurte%2Frust-ptouch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankurte%2Frust-ptouch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryankurte","download_url":"https://codeload.github.com/ryankurte/rust-ptouch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryankurte%2Frust-ptouch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269827594,"owners_count":24481546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["brother","driver","ptouch","rust","usb"],"created_at":"2024-10-12T01:11:51.273Z","updated_at":"2025-08-11T04:07:39.752Z","avatar_url":"https://github.com/ryankurte.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Brother P-Touch Raster Driver (and utility)\n\nBrother P-Touch Label-Maker Raster Driver for `PT-E550W/P750W/P710BT` devices.\n\n\n## Status\n\n***Extremely alpha, tested only on the `PT-P710BT`, API subject to change***\n\n[![GitHub tag](https://img.shields.io/github/tag/ryankurte/rust-ptouch.svg)](https://github.com/ryankurte/rust-ptouch)\n![Build Status](https://github.com/ryankurte/rust-ptouch/workflows/Rust/badge.svg)\n[![Crates.io](https://img.shields.io/crates/v/ptouch.svg)](https://crates.io/crates/ptouch)\n[![Docs.rs](https://docs.rs/ptouch/badge.svg)](https://docs.rs/ptouch)\n\n\n## Usage\n\n### Utility\n\nInstall with `cargo install ptouch` or grab the latest release [here](https://github.com/ryankurte/rust-ptouch/releases/latest).\n\nThe utility supports a set of basic subcommands:\n\n- `ptouch-util [SUBCOMMAND] --help` to show help options\n- `ptouch-util [--media MEDIA] render --file=[OUTPUT] [OPTIONS]` to render to an `OUTPUT` image file\n- `ptouch-util [--media MEDIA] preview [OPTIONS]` to render to a preview window (not available on all platforms)\n- `ptouch-util print [OPTIONS]` to print\n\nThe `--media` argument sets the default media type when the printer is unavailable, otherwise this is loaded from the printer.\n\nEach of `render`, `preview`, and `print` take a set of `[OPTIONS]` to configure the output, these options are:\n\n- `text VALUE [--font=FONT]` to render text in the specified font, use `\\n` for newlines\n- `qr CODE` to render a QRCode with the provided value\n- `qr-text CODE VALUE [--font=FONT]` to render a QRCode followed by text\n- `image FILE` to render an image directly\n- `template FILE` to load a `.toml` render template (see [example.toml](example.toml))\n- `barcode CODE` to render a barcode (experimental, missing config options)\n\nThese CLI options are a subset of those available using the library intended to provide the basics. If you think there's something missing, feel free to open an issue / PR!\n\n\n### API\n\nThis needs cleaning up before it's _reasonable_ to use... for usage see [src/util.rs](src/util.rs).\n\n### Examples\n\n```\nptouch-util --media tze24mm preview qr-text \\\n'https://github.com/ryankurte/rust-ptouch' \\\n'Rust PTouch Driver\\n@ryankurte' --font=24x32`\n```\n\n![image](https://user-images.githubusercontent.com/860620/111896515-0c7e1000-8a7f-11eb-95e6-af5f7b18a1ae.png)\n\n```\nptouch-util print qr-text \\\n\"https://github.com/ryankurte/rust-ptouch\" \\\n\"Rust PTouch Driver\\n@ryankurte\" --font=24x32\n```\n![IMG_1840](https://user-images.githubusercontent.com/860620/111896577-9201c000-8a7f-11eb-9c5f-a5041dba9236.jpg)\n\n\n## Resources\n\n- [PT-P710BT Manual](https://support.brother.com/g/b/manualtop.aspx?c=eu_ot\u0026lang=en\u0026prod=p710bteuk)\n- [Brother Raster Command Reference](https://download.brother.com/welcome/docp100064/cv_pte550wp750wp710bt_eng_raster_101.pdf)\n- [Pytouch Cube python driver](https://github.com/piksel/pytouch-cube)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryankurte%2Frust-ptouch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryankurte%2Frust-ptouch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryankurte%2Frust-ptouch/lists"}