.. include:: .. include:: 3dprinting_substitutions.txt .. _prusaslicer_end_gcode_mk3: End G-Code for the Prusa i3 Mk3 ------------------------------- My end g-code is pretty standard. Any setting changes made from the front menu will persist between prints if not reset, so I like to ensure everything is set back to 100% when a print job completes. I've also added a couple of routines to minimize final stringing, though with mixed success. * Line 7 retracts 0.8mm of filament (``E-0.8``) to reduce final stringing. * Lines 8-11 do a little wiping motion with no extrusion to reduce final stringing. * Line 13 raises the nozzle 60mm or up to the maximum print area of 210mm, whichever is lower. * Line 14 moves the extruder to the far left (``X0``) and forward (``Y210``) to present the print for easy removal. * Line 16 disables volumetric e extrusion (an experimental setting). * Line 17 resets print speed over-rides made with the front knob. * Line 18 resets extruder factor adjustments made with the front knob. * Line 19 resets Linear Advance. * Lines 20-25 shut down the printer hardware. .. note:: Thanks to Steve_G for catching the error on that last line. Here's my current end g-code: .. literalinclude:: 3dprinting_prusaslicer_end_g-code_mk3.txt :language: gcode :caption: |PS| end g-code Download the :download:`raw gcode here <3dprinting_prusaslicer_end_g-code_mk3.txt>` .. include:: 3dprinting_footer.rst Last edited on Dec 28, 2021. Last build on |today|.