UPDATE 2025-06-08: I have added a “version 5” ZIP that contains only a 0.4mm nozzle GCode, but with updated header/footer code from PrusaSlicer 2.9.2. It should not have a functional difference, but I am leaving the old files there for now until I hear more reports.
This is a set of 2 hand-coded GCode files for 5-tool Prusa XL printers to facilitate proper nozzle cleaning. It is easily editable to preset any temperatures that you want. Please read below for instructions and warnings!
There is a bug with the Printables website that is flagging my gcode as invalid due to having M0 user messages, so I am forced to add a dummy gcode file - do not print that one. Look in the ZIP file instead.
The actions it does:
Please make sure to use the correct file based on your nozzle size, or the printer will yell at you. To change the temperature, search for lines that contain “; set cleaning temperature” and set it appropriately.
Finally, as one person mentioned in the comments, copying the file to the printer may show an error (since nothing is actually printed with the gcode), but the “print” can still be started just fine from the print menu on the XL. So you can safely ignore that error message.
DO NOT run this GCode without constant supervision - I have made every effort to make sure it is safe, but I can guarantee nothing. Be careful and vigilant!
The author marked this model as their own original creation.