Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add label definitions with a width of 105 mm #141

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mairas
Copy link

@mairas mairas commented May 7, 2024

lprint seems to pick the maximum allowed width as the maximum supported label size width. This PR adds some 105mm label sizes to the TSPL driver to allow labels wider than 4in.

I'm not sure this is an ideal solution, though. What if some label printer supports, say, A4 width labels? Wouldn't it be better to allow arbitrary label sizes in pappl, or define an explicit and configurable max width parameter?

@michaelrsweet
Copy link
Owner

The roll_min_NNNxNNNuu and roll_max_NNNxNNNuu sizes in the list define the min and max label sizes that are allowed... We can update these to be metric and include the 105mm max width.

But that said, I'm not sure whether all TSPL printers will support 105mm max or just the one you are working with. There are a LOT of inexpensive label printers using a common 203dpi thermal print head/engine that supports a TSPL subset, in addition to the "original" TSC label printers.

@michaelrsweet michaelrsweet self-assigned this May 7, 2024
@michaelrsweet michaelrsweet added enhancement New feature or request priority-low labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-low
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants