From 269e6514df30943e1e108df97558b460f407d7a2 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Thu, 10 Jun 2021 02:24:00 +0200 Subject: Add support for printing on red/black tapes My QL-800 refuses to print black only on a red/black tape. I really don't like the added `rb` function parameter. It would be best to be able to recognize such tapes, however nothing of the sort is documented in official Brother documentation. makeBitmapData{,RB} also look like they could be simplified further. --- cmd/label-tool/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/label-tool/main.go') 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) } } -- cgit v1.2.3-70-g09d2