From 963276082422d3411226955d59b9c9ca4aee2c64 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 23 Apr 2015 01:26:27 +0200 Subject: Add TestCut and StepDir --- cutter.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'cutter.go') diff --git a/cutter.go b/cutter.go index 6ca03a3..d41848c 100644 --- a/cutter.go +++ b/cutter.go @@ -56,6 +56,30 @@ func (c Cutter) EOT() { c.WriteByte(0x03) } +func (c Cutter) TestCut() { + defer c.EOT() + c.WriteString("FH") +} + +type StepDirection int + +const ( + stepFinish StepDirection = 1<