From 399c55f84f4cf749cf84ed47840501f87b8b3b95 Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Sat, 12 Oct 2013 17:46:15 +0200 Subject: [PATCH] Only send a start argument with api:printer/print on the first send --- js/Printer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Printer.js b/js/Printer.js index 8868dc0..ea73642 100644 --- a/js/Printer.js +++ b/js/Printer.js @@ -122,7 +122,7 @@ function Printer() { console.log("Printer:sendPrintPart sendIndex: " + sendIndex + "/" + this.gcode.length + ", sendLength: " + sendLength); var firstOne = (sendIndex == 0)? true : false; - var start = true; // start printing right away + var start = firstOne; // start printing right away var completed = false; if (this.gcode.length < (sendIndex + sendLength)) {