Skip to content

[WIP] Add support for Brother QL-1110NWB printer model and wider labels#176

Closed
Copilot wants to merge 1 commit intomasterfrom
copilot/add-support-for-ql-1110nwb-again
Closed

[WIP] Add support for Brother QL-1110NWB printer model and wider labels#176
Copilot wants to merge 1 commit intomasterfrom
copilot/add-support-for-ql-1110nwb-again

Conversation

Copy link
Contributor

Copilot AI commented Jan 9, 2026

Plan: Add support for Brother QL-1100 series printers and wider label formats

  • 1. Update brother_ql/models.py to add three new printer models (QL-1100, QL-1110NWB, QL-1115NWB)
  • 2. Update brother_ql/labels.py to add new label sizes and update existing labels with new model support
    • Update 102mm endless label to include new models
    • Add new 103mm endless label
    • Update 102x51 die-cut label to include new models
    • Update 102x152 die-cut label to include new models
    • Add new 103x164 die-cut label
  • 3. Update README.md documentation with new printer models and label sizes
    • Update supported printers list
    • Update model option list in CLI usage
    • Update label option list in CLI usage
    • Update label tables with new sizes
  • 4. Update setup.py keywords with new printer models
  • 5. Verify changes work correctly by testing CLI info commands
  • 6. Run code review and security checks
Original prompt

Add support for Brother QL-1100 series printers and wider label formats, based on PR #116 but with the corrected model name QL-1110NWB (not QL-1100NWB).

Background

This is based on the changes from PR #116 (#116), but fixes the model name issue identified in matmair#32 (comment) - the model should be QL-1110NWB, not QL-1100NWB.

Required Changes

1. Add new printer models to brother_ql/models.py

Add three new models after QL-1060N:

Model('QL-1100',  (301, 35434), number_bytes_per_row=162, additional_offset_r=44),
Model('QL-1110NWB',(301, 35434), number_bytes_per_row=162, additional_offset_r=44),
Model('QL-1115NWB',(301, 35434), number_bytes_per_row=162, additional_offset_r=44),

2. Update label definitions in brother_ql/labels.py

Update the 102mm endless label to include the new models:

Label("102",    (102,   0), FormFactor.ENDLESS,       (1200,    0), (1164,    0),  12 , feed_margin=35, restricted_to_models=['QL-1050', 'QL-1060N', 'QL-1100', 'QL-1110NWB', 'QL-1115NWB']),

Add new 103mm endless label after the 102mm label:

Label("103",    (104,   0), FormFactor.ENDLESS,       (1224,    0), (1200,    0),  12 , feed_margin=35, restricted_to_models=['QL-1100', 'QL-1110NWB']),

Update 102x51 and 102x152 die-cut labels to include new models:

Label("102x51", (102,  51), FormFactor.DIE_CUT,       (1200,  596), (1164,  526),  12 , restricted_to_models=['QL-1050', 'QL-1060N', 'QL-1100', 'QL-1110NWB', 'QL-1115NWB']),
Label("102x152",(102, 153), FormFactor.DIE_CUT,       (1200, 1804), (1164, 1660),  12 , restricted_to_models=['QL-1050', 'QL-1060N', 'QL-1100', 'QL-1110NWB', 'QL-1115NWB']),

Add new 103x164 die-cut label with comment:

# size 103 has media width 104
Label("103x164",(104, 164), FormFactor.DIE_CUT,       (1224, 1941), (1200, 1822),  12 , restricted_to_models=['QL-1100', 'QL-1110NWB']),

3. Update README.md

Update the supported printers list (around line 17):

* QL-500 (✓), QL-550 (✓), QL-560 (✓), QL-570 (✓), QL-580N, QL-650TD, QL-700 (✓), QL-710W (✓),
  QL-720NW (✓), QL-800 (✓), QL-810W (✓), QL-820NWB (✓), QL-1050 (✓), QL-1060N (✓), QL-1100 (✓),
  QL-1110NWB, and QL-1115NWB.

Update the model option list (around line 72):

-m, --model [QL-500|QL-550|QL-560|QL-570|QL-580N|QL-650TD|QL-700|QL-710W|QL-720NW|QL-800|QL-810W|QL-820NWB|QL-1050|QL-1060N|QL-1100|QL-1110NWB|QL-1115NWB]

Update the label option list (around line 101):

-l, --label [12|29|38|50|54|62|102|103|17x54|17x87|23x23|29x42|29x90|39x90|39x48|52x29|62x29|62x100|102x51|102x152|103x164|d12|d24|d58]

Add to the label table (after line 145):

103       1200           103mm endless

Add to the die-cut label table (after 102x152):

103x164   1200 x 1822    103mm x 164mm die-cut

4. Update setup.py

Update the keywords line (around line 54):

keywords = 'Brother QL-500 QL-550 QL-560 QL-570 QL-700 QL-710W QL-720NW QL-800 QL-810W QL-820NWB QL-1050 QL-1060N QL-1100 QL-1110NWB QL-1115NWB',

Important Notes

This pull request was created from Copilot chat.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI requested a review from pklaus January 9, 2026 14:38
Copilot stopped work on behalf of pklaus due to an error January 9, 2026 14:38
@pklaus pklaus closed this Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants