aboutsummaryrefslogtreecommitdiff
path: root/cmd/testpattern/main.go
blob: c4ccc40885d1718e5bbb9034c884cc69cb34b5ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package main

import (
	"log"

	"dim13.org/robo"
)

func main() {
	dev, err := robo.NewRobo()
	if err != nil {
		log.Fatal(err)
	}
	defer dev.Close()

	dev.Initialize(robo.MediaPen, robo.Portrait)
	dev.UpperRight(robo.A4)
	dev.TestPattern()
}