We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f662c0 + d952897 commit a88fb76Copy full SHA for a88fb76
src/labelle/lib/devices/dymo_labeler.py
@@ -98,7 +98,7 @@ def _send_command(self):
98
# Send a status request
99
cmdBin = array.array("B", [ESC, ord("A")])
100
cmdBin.tofile(self._devout)
101
- rspBin = self._devin.read(8)
+ rspBin = self._devin.read(512)
102
_ = array.array("B", rspBin).tolist()
103
# Ok, we got a response. Now we can send a chunk of data
104
@@ -129,7 +129,7 @@ def _send_command(self):
129
if not self._response:
130
return None
131
self._response = False
132
- responseBin = self._devin.read(8)
+ responseBin = self._devin.read(512)
133
response = array.array("B", responseBin).tolist()
134
return response
135
0 commit comments