G90; Use absolute positioningM83; extruder relative modeM140S[first_layer_bed_temperature] ; set bed tempM109S150; Set extruder temp before bed levelM190S[first_layer_bed_temperature] ; wait for bed tempG28; home all without mesh bed levelG29; Mesh Bed LevelG1X0 Z0.6 Y-3.0F3000.0; Move off the grid to prep for purgeM109S[first_layer_temperature] ; wait for extruder tempG92E0.0G1X100.0E30F1000.0; intro lineG92E0.0
Stock Marlin UBL
G90; Use absolute positioningM83; extruder relative modeM140S[first_layer_bed_temperature] ; set bed tempM109S150; Set extruder temp before bed levelM190S[first_layer_bed_temperature] ; wait for bed tempG28; home all without mesh bed levelG29 L1 ; Load Mesh in slot 1G29 J ; 3 point alignmentG1X0 Z0.6 Y-3.0F3000.0; Move off the grid to prep for purgeM109S[first_layer_temperature] ; wait for extruder tempG92E0.0G1X100.0E30F1000.0; intro lineG92E0.0
Stock Prusa Firmware
G90; absolute positioning M83; extruder relative modeM140S[first_layer_bed_temperature] ; set bed tempM109S160; Set extruder temp before bed levelM190S[first_layer_bed_temperature] ; wait for bed tempG28 W ; home all without mesh bed levelG80; mesh bed leveling set 3x3, 5x5, or 7x7 in settings menuG1Y-3.0 Z0.6 F1000.0; go outside print area for purgeM109S[first_layer_temperature] ; wait for extruder tempG92E0.0G1 Z0.2 E8; Purge BubbleG1X60.0E9.0F1000.0; intro lineG1X100.0E12.5F1000.0; intro lineG92E0.0