aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/cutter.go b/cutter.go
index 71faec1..d9d07ea 100644
--- a/cutter.go
+++ b/cutter.go
@@ -338,14 +338,16 @@ func (c Cutter) TrackEnhancing(state OnOff) {
c.Send("FY", state)
}
-func (c Cutter) SearchMarks(p Point) {
+func (c Cutter) SearchMarks(p Point) bool {
c.Send("TB99")
c.Send("TB55,1")
c.Send("TB123,", p)
+ return c.parseDigit() == 0
}
-func (c Cutter) ManualSearchMarks(p Point) {
+func (c Cutter) ManualSearchMarks(p Point) bool {
c.Send("TB99")
c.Send("TB55,1")
c.Send("TB23,", p)
+ return c.parseDigit() == 0
}