diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-06-10 02:24:00 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-06-10 02:37:14 +0200 |
commit | 269e6514df30943e1e108df97558b460f407d7a2 (patch) | |
tree | d1c8589fa7ed472a2d705ccbb018f65748e60e4f /cmd/sklad/main.go | |
parent | 9734cdd16e1b7572464dfaed3bd03a70db46a3d3 (diff) | |
download | sklad-269e6514df30943e1e108df97558b460f407d7a2.tar.gz sklad-269e6514df30943e1e108df97558b460f407d7a2.tar.xz sklad-269e6514df30943e1e108df97558b460f407d7a2.zip |
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.
Diffstat (limited to 'cmd/sklad/main.go')
-rw-r--r-- | cmd/sklad/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/sklad/main.go b/cmd/sklad/main.go index 4808713..bf745e8 100644 --- a/cmd/sklad/main.go +++ b/cmd/sklad/main.go @@ -309,7 +309,7 @@ func printLabel(id string) error { } return printer.Print(&imgutil.LeftRotate{Image: label.GenLabelForHeight( - labelFont, id, mediaInfo.PrintAreaPins, db.BDFScale)}) + labelFont, id, mediaInfo.PrintAreaPins, db.BDFScale)}, false) } func handleLabel(w http.ResponseWriter, r *http.Request) { |