Brother P-Touch Raster Driver (and utility)

Brother P-Touch Label-Maker Raster Driver for PT-E550W/P750W/P710BT devices.

Status

Extremely alpha, tested only on the PT-P710BT, API subject to change

GitHub tag Build Status Crates.io Docs.rs

Usage

Utility

Install with cargo install rust-ptouch or grab the latest release here.

The utility supports a set of basic subcommands:

The --media argument sets the default media type when the printer is unavailable, otherwise this is loaded from the printer.

Each of render, preview, and print take a set of [OPTIONS] to configure the output, these options are:

These 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!

API

This needs cleaning up before it's reasonable to use... for usage see src/util.rs.

Examples

ptouch-util --media tze24mm preview qr-text \ 'https://github.com/ryankurte/rust-ptouch' \ 'Rust PTouch Driver\n@ryankurte' --font=24x32`

image

ptouch-util print qr-text \ "https://github.com/ryankurte/rust-ptouch" \ "Rust PTouch Driver\n@ryankurte" --font=24x32 IMG_1840

Resources