-import Printer
+import Printer, time
testPoints = [
(176, 204),
(246, 189)
]
-p = Printer.Printer('', '', (200,200))
-print(p.sendPackage(testPoints))
\ No newline at end of file
+p = Printer.Printer('COM4', (200,200))
+time.sleep(8)
+p.writePoint((75, 75))
+while 1:
+ res = p.packageIsExecuting()
+ if 'Count' in res:
+ xy = res.split('Count')[1].split('Z')[0].strip().replace('Y:', '').split(' ')[1:]
+ x, y = (xy[0], xy[1])
+ print(str(x) + ' ' + str(y))
\ No newline at end of file