fireJobStateChanged();
try {
head.home();
Nozzle nozzle = head.getNozzles().get(0);
Location l = new Location(LengthUnit.Millimeters, 5.0, 20.0, 1.0, 0.0);
nozzle.moveTo(l, 1.0);
}
catch (Exception e) {
fireJobEncounteredError(JobError.MachineMovementError, e.getMessage());
return;
}