Skip to content

Commit

Permalink
update for PT-P950NW (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Lee <[email protected]>
  • Loading branch information
matmair and kotai-michael authored Aug 24, 2022
1 parent 699df0b commit a64fe19
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 @@ -58,6 +58,7 @@ def name(self):
Model('QL-1060N', (295, 35433), 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 a64fe19

Please sign in to comment.