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

Added Brother 18mm label type #14391

Merged
merged 1 commit into from May 2, 2024
Merged

Conversation

snipe
Copy link
Owner

@snipe snipe commented Mar 7, 2024

I don't know if the sizing is correct on this. Does anyone have an 18mm Brother label printer to test this PR?

Signed-off-by: snipe <snipe@snipe.net>
Copy link

what-the-diff bot commented Mar 7, 2024

PR Summary

  • Created New Label Template Class: TZe_18mm
    A new 'label template class' named TZe_18mm has been added to our system. This template contains pre-set dimensions and margins, ensuring it's formatted properly for each use. Additionally, this template can provide measures in the units we need, with the help of a 'unit converter'.

  • Enhancements to TZe_18mm class via TZe_18mm_A Subclass
    We crafted a subclass or 'extension' to TZe_18mm named TZe_18mm_A. This extension enriches the original template with support for barcodes and additional text features, like 'AssetTag', '1DBarcode', '2DBarcode', 'Fields', 'Logo', and 'Title'. As a result, we can create more complex and feature-rich labels with this new extension.

  • Effortless Preparation of PDFs
    Both the TZe_18mm and its extension TZe_18mm_A are paving the way for us to create PDF preparation tasks as straightforward as possible, while ensuring we have the flexibility to implement the preparation procedures as needed.

  • Inclusion of Barcode and Text Writing Capabilities
    The write() function in TZe_18mm_A now has the ability to write barcodes and texts based on the given record data and the dimensions of the printable area. Thus, we can now dynamically generate labels complete with barcodes and text, all tailored according to our specific requirements.

@michaelortnerit
Copy link

Hello @snipe,

maybe i can test it. I have a P-touch P900W which supports 3.5mm to 36mm i will have a look if we have 18mm. Maybe next week i can give you feedback.

@snipe
Copy link
Owner Author

snipe commented Mar 8, 2024

Thanks so much, @michaelortnerit!

@michaelortnerit
Copy link

No problem. I have found a 18mm label. Already cloning the branch and building a docker image for testing. :)

@snipe snipe added the labels label Mar 28, 2024
@snipe
Copy link
Owner Author

snipe commented Apr 3, 2024

Any luck testing this?

@snipe
Copy link
Owner Author

snipe commented Apr 24, 2024

@michaelortnerit - have you had a chance to test this by any chance?

@snipe snipe merged commit dab5874 into develop May 2, 2024
8 checks passed
@snipe snipe deleted the features/add_Brother_188mm_tape_label branch May 2, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants