Repository navigation
Releases
TinyLabel SDK 0.2.0 — Text labels / Etiquetas de texto
TinyLabel SDK 0.2.0 — Text labels / Etiquetas de texto
English
This release adds configurable text from externally composed strings and fields, including applications that read Excel. The SDK does not import spreadsheets.
TextLabel,TextBlock,TextStyle,prepare_text_batchand optional flatformat_textsubstitution.- Font size in mm, normal/bold, left/center/right alignment, top/center/bottom placement, wrapping and spacing.
- Explicit overflow rejection or controlled shrink with a minimum size, plus resolved preview metadata.
preview-text/print-textfor external JSON definitions with literal text or templates/fields.- Pinned Noto Sans Regular/Bold fonts with accents, ñ and tested currency symbols; OFL-1.1 license included.
- Shared native canvas, calibration and pitch for images/text, including mixed continuous batches.
- Expanded user and agent integration manuals in English and Spanish.
Install the wheel or pinned source tag. Image APIs and receipt/session behavior remain compatible. The wheel and source archive have SHA-256 checksums in SHA256SUMS.txt.
Software verification: 68 local tests, including the original image/session regression suite and text/field/CLI tests. Package/font/provenance checks are included; consult repository Actions for CI results. Preview examples do not print paper.
Compatibility remains U1 over Bluetooth Classic/SPP. The new SDK lifecycle and text output still require physical acceptance; transmission remains transmitted_unconfirmed until observed. No automatic reprint, extra final ejection or gap homing has been added.
Read the text manual and integration guide.
Español
Esta versión incorpora texto configurable mediante cadenas y campos compuestos externamente, incluso desde aplicaciones que lean Excel. El SDK no importa hojas de cálculo.
- API de etiquetas/bloques/estilos y sustitución plana opcional de campos.
- Tamaño en mm, normal/negrita, alineación horizontal/vertical, saltos y separaciones.
- Rechazo de desbordamiento o reducción controlada con mínimo y metadatos de vista previa.
preview-text/print-textcon JSON externo, texto literal o plantillas/campos.- Fuentes Noto Sans incluidas con acentos, ñ y símbolos probados; licencia OFL-1.1 conservada.
- Geometría, calibración y paso compartidos con imágenes, también en lotes mixtos.
- Manuales de usuario e integración para agentes actualizados en español e inglés.
Instala el wheel o la versión fijada del código fuente. Se mantienen las API de imágenes, sesiones y comprobantes. SHA256SUMS.txt cubre ambas distribuciones.
Validación de software: 68 pruebas locales, incluyendo regresión de imágenes/sesiones y texto/campos/CLI. Se comprueban paquete, fuentes y procedencia; consulta Actions para CI. Los ejemplos de vista previa no imprimen.
La compatibilidad sigue siendo U1 por Bluetooth Classic/SPP. El ciclo nuevo y el texto requieren aceptación física; el envío sigue como transmitted_unconfirmed hasta observarlo. No se añadió reimpresión automática, expulsión final extra ni búsqueda del sensor de separación.
Consulta el manual de texto y la guía de integración.
TinyLabel SDK 0.1.0 — Experimental / Experimental
TinyLabel SDK 0.1.0 — Experimental / Experimental
English
Initial public release of a local Python SDK and JSON CLI for U1 label printing over Bluetooth Classic/SPP.
- Configurable label width, height, gap, darkness and calibrated placement.
- Aspect-preserving previews and cumulative pitch calculation.
- Persistent sessions, native flow control and passive drain waiting.
- Durable job IDs, duplicate rejection, exclusive ownership and explicit partial/crash recovery.
- English/Spanish user manuals, agent integration guides and Python/Node.js examples.
- Apache-2.0, with pinned TiMini-Print attribution.
Download the wheel for installation with pip, or the source archive for documentation, examples and development. SHA256SUMS.txt covers both distributions.
Supported adapter: U1 Classic Bluetooth only. Other upstream models are not enabled. Full SDK hardware acceptance remains pending. The previous legacy batch had a missing final label and final paper displacement; the revised lifecycle is software-tested, not yet physically verified. Receipts remain transmitted_unconfirmed until an operator records output. No additional labels were printed to prepare this release.
Software verification: 40 local tests passed; wheel import/catalog checks and documentation links passed. See validation and repository Actions for CI results.
Español
Primera versión pública del SDK Python y CLI JSON para imprimir etiquetas con U1 por Bluetooth Classic/SPP.
- Ancho, altura, separación, oscuridad y posición configurables.
- Vistas previas con proporción conservada y cálculo acumulativo del paso.
- Sesiones persistentes, control de flujo y espera pasiva.
- IDs persistentes, rechazo de duplicados, bloqueo y recuperación parcial/tras cierre abrupto.
- Manuales en español/inglés y ejemplos Python/Node.js.
- Licencia Apache-2.0 y reconocimiento de TiMini-Print.
Descarga el wheel para instalar con pip o el archivo fuente para documentación, ejemplos y desarrollo. SHA256SUMS.txt permite verificar ambas distribuciones.
Adaptador admitido: solo U1 Classic Bluetooth. Los otros modelos originales no están habilitados. La aceptación física integral sigue pendiente. El lote anterior presentó una última etiqueta ausente y desplazamiento final; el ciclo revisado está probado por software, todavía no físicamente. Los comprobantes permanecen transmitted_unconfirmed hasta registrar la observación. No se imprimieron etiquetas adicionales al preparar esta versión.
Validación: 40 pruebas locales aprobadas, comprobación del wheel/catálogo y enlaces documentales. Consulta validación y Actions para CI.