Skip to content
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

update for PT-P950NW #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -57,6 +57,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