Skip to content

Commit

Permalink
Update for PT-P950NW
Browse files Browse the repository at this point in the history
matmair#6

Co-authored-by: Michael Lee <[email protected]>
  • Loading branch information
2 people authored and LunarEclipse363 committed Nov 12, 2023
1 parent 6350d6a commit b8e08b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions brother_ql/labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def name(self): # type: str

ALL_LABELS = (
Label("12", ( 12, 0), FormFactor.ENDLESS, ( 142, 0), ( 106, 0), 29 , feed_margin=35),
Label("18", ( 18, 0), FormFactor.ENDLESS, ( 256, 0), ( 234, 0), 171 , feed_margin=14),
Label("29", ( 29, 0), FormFactor.ENDLESS, ( 342, 0), ( 306, 0), 6 , feed_margin=35),
Label("38", ( 38, 0), FormFactor.ENDLESS, ( 449, 0), ( 413, 0), 12 , feed_margin=35),
Label("50", ( 50, 0), FormFactor.ENDLESS, ( 590, 0), ( 554, 0), 12 , feed_margin=35),
Expand Down
1 change: 1 addition & 0 deletions brother_ql/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def name(self):
Model('QL-1115NWB',(301, 35434), number_bytes_per_row=162, additional_offset_r=44),
Model('PT-P750W', (31, 14172), number_bytes_per_row=16),
Model('PT-P900W', (57, 28346), number_bytes_per_row=70),
Model('PT-P950NW', (57, 28346), number_bytes_per_row=70),
]

class ModelsManager(ElementsManager):
Expand Down
1 change: 1 addition & 0 deletions brother_ql/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
b'\x1b\x69\x55\x77\x01': ('amedia', 127, "Additional media information command"),
b'\x1b\x69\x55\x4A': ('jobid', 14, "Job ID setting command"),
b'\x1b\x69\x58\x47': ("request_config", 0, "Request transmission of .ini config file of printer"),
b'\x1b\x69\x6B\x63': ("number_of_copies", 2, "Internal specification commands"),
b'\x1b\x69\x53': ('status request', 0, "A status information request sent to the printer"),
b'\x80\x20\x42': ('status response',29, "A status response received from the printer"),
}
Expand Down

0 comments on commit b8e08b1

Please sign in to comment.