aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cutter.go5
-rw-r--r--main.go4
2 files changed, 7 insertions, 2 deletions
diff --git a/cutter.go b/cutter.go
index 27a6490..406648c 100644
--- a/cutter.go
+++ b/cutter.go
@@ -127,6 +127,11 @@ func (c Cutter) LineType(n LineStyle) {
fmt.Fprint(c, "L", n)
}
+func (c Cutter) LineScale(n int) {
+ defer c.EOT()
+ fmt.Fprint(c, "B", n)
+}
+
func (c Cutter) Factor(p, q, r int) {
defer c.EOT()
fmt.Fprintf(c, "&%v,%v,%v", p, q, r)
diff --git a/main.go b/main.go
index 6f2b3c5..cb97dff 100644
--- a/main.go
+++ b/main.go
@@ -20,9 +20,9 @@ func main() {
defer cu.Home()
defer cu.LineType(Solid)
- //cu.TestCut()
+ cu.TestCut()
//cu.TestPattern()
- cu.EasterEgg()
+ //cu.EasterEgg()
/*
for i := 0; i < 9; i++ {