aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cutter.go b/cutter.go
index cffe0c6..5a3507c 100644
--- a/cutter.go
+++ b/cutter.go
@@ -192,14 +192,14 @@ func (c Cutter) Bezier(a int, p0, p1, p2, p3 Point) {
fmt.Fprintf(c, "BZ%v,%v,%v,%v,%v", a, p0, p1, p2, p3)
}
-type Page int
+type Orientation int
const (
- Portrait Page = iota
+ Portrait Orientation = iota
Landscape
)
-func (c Cutter) Orientation(l Page) {
+func (c Cutter) Orientation(l Orientation) {
defer c.EOT()
fmt.Fprint(c, "FN", l)
}