docs.rs failed to build brother_ql-3.0.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
brother_ql-3.0.3
brother_ql
This is a crate to convert image data to the Raster Command binary data understood by Brother QL series label printers.
Looking for a CLI tool? Check out brother-label, a command-line application built on this library.
Features
- 📦 Compile to binary data - Convert images to raster command bytes that can be sent to the printer via USB, network, or saved to files
- 🔌 Direct USB printing - Print labels directly via USB connection with full status monitoring (also supported via a kernel connection)
- 📊 Status information - Read detailed printer status including errors, media type, and operational phase
- 🎨 Two-color printing - Support for red and black printing on compatible printer models
- 🏷️ Multiple media types - Support for continuous and die-cut labels in various widths
Supported Printers
See the list of supported printers in the main README.
Note: This crate is still work-in-progress and some bugs might still exist.
For more details, check the official Raster Command Reference (this one is for the 8xx series).
Installation
# Or with optional features:
Feature flags:
usb- Enable USB printing support (requireslibusb)serde- Enable serialization support
Examples
Printing via USB connection
Note: Requires the usb feature.
use ;
Printing via kernel connection
Note: Works without any optional features. On Linux, you can use the kernel's USB printer driver (/dev/usb/lp0).
use ;
Compiling and saving a print job
Note: Works without any optional features.
use ;
use ;