Skip to content

feat: add supported_tapes property to LabelPrinter#15

Merged
nbuchwitz merged 1 commit intomainfrom
feature/supported-tapes-property
Feb 4, 2026
Merged

feat: add supported_tapes property to LabelPrinter#15
nbuchwitz merged 1 commit intomainfrom
feature/supported-tapes-property

Conversation

@nbuchwitz
Copy link
Owner

Summary

  • Add supported_tapes property to LabelPrinter that returns a list of supported tape classes
  • Tapes are sorted alphabetically by class name to keep tape types grouped together
  • Provides a clean API for checking tape compatibility: if Tape36mm in printer.supported_tapes

Test plan

  • Added unit tests for the new property
  • All 153 existing tests pass
  • Updated documentation with usage examples

Add a property that returns the list of tape types supported by a printer,
sorted alphabetically by class name. This provides a clean API for checking
tape compatibility instead of accessing PIN_CONFIGS directly.

- Add supported_tapes property to LabelPrinter base class
- Add tests for the new property
- Update documentation with usage examples
@nbuchwitz nbuchwitz merged commit b652da3 into main Feb 4, 2026
3 checks passed
@nbuchwitz nbuchwitz deleted the feature/supported-tapes-property branch February 4, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant