aboutsummaryrefslogtreecommitdiff
path: root/cmd/label-tool
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/label-tool')
-rw-r--r--cmd/label-tool/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/label-tool/main.go b/cmd/label-tool/main.go
index 893aa13..0f0ab4b 100644
--- a/cmd/label-tool/main.go
+++ b/cmd/label-tool/main.go
@@ -211,7 +211,7 @@ func handle(w http.ResponseWriter, r *http.Request) {
font.Font, params.Text, mediaInfo.PrintAreaPins, params.Scale)
}
if r.FormValue("print") != "" {
- if err := printer.Print(img); err != nil {
+ if err := printer.Print(img, false); err != nil {
log.Println("print error:", err)
}
}