Skip to content

Commit

Permalink
set_print_speed
Browse files Browse the repository at this point in the history
  • Loading branch information
benoitguigal committed Jul 4, 2014
1 parent b7849b6 commit 940a029
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions epson_printer/Epson_Thermal.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,5 +202,16 @@ def right_justified(self):
2]
self.write_bytes(byte_array)

def set_print_speed(self, speed):
byte_array = [
29, # GS
40, # (
75, # K
2,
0,
50,
speed]
self.write_bytes(byte_array)



0 comments on commit 940a029

Please sign in to comment.