Only send a start argument with api:printer/print on the first send

This commit is contained in:
peteruithoven 2013-10-12 17:46:15 +02:00
parent af325f4bd3
commit 399c55f84f
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {