Remove some dead code in the printgcode test.
Remove some dead code in the printgcode test.

curieos/Slic3r,alexrj/Slic3r,curieos/Slic3r,curieos/Slic3r,pieis2pi/Slic3r,pieis2pi/Slic3r,curieos/Slic3r,curieos/Slic3r,pieis2pi/Slic3r,pieis2pi/Slic3r,alexrj/Slic3r,alexrj/Slic3r,alexrj/Slic3r,pieis2pi/Slic3r,curieos/Slic3r,pieis2pi/Slic3r,alexrj/Slic3r,alexrj/Slic3r