-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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 Template: Use with endless 62mm Brother printer rolls #14870
Conversation
💖 Thanks for this pull request! 💖 We use semantic commit messages to streamline the release process and easily generate changelogs between versions. Before your pull request can be merged, you should update your pull request title to start with a semantic prefix if it doesn't have one already. Examples of commit messages with semantic prefixes:
Things that will help get your PR across the finish line:
We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can. |
PR Summary
|
f6966b7
to
1516f43
Compare
I can't do anything against the failing Code Analysis check as far as I'm concerned, because the method |
This looks great, thank you @Galaxy102! |
Can you possibly retarget to the |
…ted label PDF. This is necessary when printing labels with width = label width.
Tested with QL-600. Set print mode to landscape.
1516f43
to
6c55e2b
Compare
Done! |
Congrats on merging your first pull request! 🎉🎉🎉 |
Not sure why this was named TZE as these labels (DK22212) aren't compatible with Brother P-Touch labelers... |
Description
I've added a label template for usage with endless Brother 62 mm label rolls (e.g. DK22212).
Because the label is printed with non-standard print flow (top-down instead of left-to-right), I've added a overridable function
Label#getRotation()
which can control TCPDFsRotate
format constructor argument (see https://stackoverflow.com/a/65296951/5885325). The default return value of this function is 0 in order to not break existing labels.Here is a sample:
100001.pdf
There is no associated issue. There are no changed dependencies. This PR can be cherry-picked to
develop
directly.Disclaimer: This PR is raised on behalf of Peerox GmbH, the company I work for.
Type of change
How Has This Been Tested?
I've tested this by generating a label using the Web UI via
docker compose
on Manjaro with Chromium 124.The printer label format was created using
sudo brpapertoollpr_ql600 -P Brother_QL-600 -n SnipeIT-62mmL -w 62 -h 37
.It is then printable via
Print using system dialog
->Orientation = Landscape
,Paper size = SnipeIT-62mmL
.Here is a picture of the result:
Checklist: