diff --git a/label.html b/label.html new file mode 100644 index 0000000..b17fed4 --- /dev/null +++ b/label.html @@ -0,0 +1,90 @@ + + + + + Create DNH Label + + + +

Create DNH Label

+
+ + +

+ +
+ + + + \ No newline at end of file diff --git a/main.go b/main.go index e0e72a6..af509f6 100644 --- a/main.go +++ b/main.go @@ -122,4 +122,5 @@ func createDnhLabelHandler(w http.ResponseWriter, r *http.Request, ep *escpos.Es ep.WriteRaw([]byte{12}) // FF: in Page mode, prints all the data in the print buffer collectively and switches from Page mode to Standard mode. ep.Cut() ep.End() + w.WriteHeader(http.StatusOK) } \ No newline at end of file