diff --git a/showbits-thermal-printer-ui/src/components/CDocumentImage.vue b/showbits-thermal-printer-ui/src/components/CDocumentImage.vue index 1419ff5..ca9e4cd 100644 --- a/showbits-thermal-printer-ui/src/components/CDocumentImage.vue +++ b/showbits-thermal-printer-ui/src/components/CDocumentImage.vue @@ -10,6 +10,7 @@ const file = ref(); const title = ref(""); const caption = ref(""); const algo = ref("stucki"); +const rotate = ref(false); const bright = ref(true); const seamless = ref(false); const feed = ref(true); @@ -33,6 +34,7 @@ function onFormSubmit() { if (title.value) data.append("title", title.value); if (caption.value) data.append("caption", caption.value); data.append("algo", algo.value); + data.append("rotate", String(rotate.value)); data.append("bright", String(bright.value)); data.append("seamless", String(seamless.value)); data.append("feed", String(feed.value)); @@ -89,6 +91,7 @@ function onImageChange() {
+