diff --git a/src/com/t_oster/liblasercut/drivers/GenericGcodeDriver.java b/src/com/t_oster/liblasercut/drivers/GenericGcodeDriver.java index ea05a264462d5ed99133130e9978e243a6af9862..ffe0177fa60536b64deb907e06ef7a538de932fb 100644 --- a/src/com/t_oster/liblasercut/drivers/GenericGcodeDriver.java +++ b/src/com/t_oster/liblasercut/drivers/GenericGcodeDriver.java @@ -688,6 +688,9 @@ public class GenericGcodeDriver extends LaserCutter { @Override public void saveJob(java.io.PrintStream fileOutputStream, LaserJob job) throws IllegalJobException, Exception { + this.currentPower = -1; + this.currentSpeed = -1; + checkJob(job); this.out = fileOutputStream;