-
-
Notifications
You must be signed in to change notification settings - Fork 42
Brother PT/QL questions and improvements #217
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
Draft
Draft
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
9298adf
brother: select uncompressed raster mode before sending data
Phelras 38087c3
Remove duplicate code
matthijskooijman 3897eb1
Fix printf format warning
matthijskooijman c94d0cb
Fix brother status querying
matthijskooijman bb656db
brother: Give up when we have no driver name
andreas-gruenbacher 2ac72f2
brother: Adjust length of invalidation sequence
andreas-gruenbacher d15a00a
brother: Initialize before requesting status information
andreas-gruenbacher c4152e5
brother: Remove useless comment
andreas-gruenbacher 015bdf0
brother: Encode printer resolution in driver name
andreas-gruenbacher b20d3ec
brother: Encode printer resolution in separate structure instead
andreas-gruenbacher 723fec6
brother: PT printers only support "continuous" media
andreas-gruenbacher 110b1b8
brother: Add Brother PT-E560BT support
andreas-gruenbacher 104e059
brother: Add Brother PT-P900W support
andreas-gruenbacher bcff4a8
brother: Output gamma correction?
andreas-gruenbacher 01749e6
brother: Other things that are not quite right
andreas-gruenbacher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
124 changes: 124 additions & 0 deletions
lprint-brother-drivers.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,124 @@ | ||
| // | ||
| // Experimental Brother driver table for LPrint, a Label Printer Application | ||
| // | ||
| // Copyright © 2023-2025 by Michael R Sweet. | ||
| // | ||
| // Licensed under Apache License v2.0. See the file "LICENSE" for more | ||
| // information. | ||
| // | ||
|
|
||
| { "brother_pt-e550w", "Brother PT-E550W", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:PT-E550W;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 180, | ||
| } }, | ||
| { "brother_pt-e560bt", "Brother PT-E560BT", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:PT-E560BT;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 180, | ||
| } }, | ||
| { "brother_pt-p900", "Brother PT-P900", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:PT-P900;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 360, | ||
| } }, | ||
| { "brother_pt-p900w", "Brother PT-P900W", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:PT-P900W;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 360, | ||
| } }, | ||
| { "brother_pt-p950nw", "Brother PT-P950NW", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:PT-P950NW;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 360, | ||
| } }, | ||
| { "brother_ql-500", "Brother QL-500", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-500;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-550", "Brother QL-550", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-550;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-560", "Brother QL-560", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-560;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-570", "Brother QL-570", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-570;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-580n", "Brother QL-580N", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-580N;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-600", "Brother QL-600", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-600;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-650td", "Brother QL-650TD", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-650TD;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-700", "Brother QL-700", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-700;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-710w", "Brother QL-710W", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-710W;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-720nw", "Brother QL-720NW", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-720NW;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-800", "Brother QL-800", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-800;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-810w", "Brother QL-810W", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-810W;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-820nwb", "Brother QL-820NWB", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-820NWB;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-1050", "Brother QL-1050", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-1050;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-1060n", "Brother QL-1060N", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-1060N;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-1100", "Brother QL-1100", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-1100;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-1110nwb", "Brother QL-1110NWB", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-1110NWB;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, | ||
| { "brother_ql-1115nwb", "Brother QL-1115NWB", | ||
| "MFG:Brother;CMD:PT-CBP;MDL:QL-1115NWB;", | ||
| &(lprint_brother_driver_t) { | ||
| .resolution = 300, | ||
| } }, |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.