G90      ; Set to Absolute Positioning
M82      ; Set extruder to absolute mode
G21      ; Metric values
M107     ; Start with the fan off
G92 X0 Y{blackbelt_z_offset} Z0 E0 ; Set all axis to 0. Set Y starting position
G1 Y3 F1000   ; Move print head up 3mm
G28 X Y F1000  ; Home X and Y axis
G1 X170 F1000  ; Move X to the center
G1 Y86 F1000 ; Move Y to start position
G1 E10   ; Extruder 10mm material (purge nozzle)
G1 Z10 E8 F500   ; Move belt 20mm and keep extruding
G1 Z10   ; Move the belt a bit further without extruding
G92 Z0   ; Zero Belt
G92 E0   ; Zero the extruded length
G1 E-4 F3900  ; Retract 4mm at 65mm/s
;G1 Y{blackbelt_z_offset}     Move y to the belt
G1 E0    ; Move extruder back to 0
G92 E-1  ; Add 1mm start distance
G92 Y0.25 ; Set Y to start position

M117 BELT Printer Printing...

;˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅ - copy from here / paste codes just under here - ˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅˅

M107 ;start with the fan off

























G92 E0   ; Set Extruder to zero
G1 E-6   ; Retract 6mm
G92 Z0   ; Set Belt to zero
G1 Z{blackbelt_repetitions_distance}   ; Move Belt 15mm before starting up the next product
G92 Z0   ; Set Belt to zero again
G28 X ; Home X so nozzle does not get stuck on the print

;˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄ - copy up to here / paste codes just above here - ˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄˄
M104 S0  ; Extruder heater off
M140 S0  ; Heated bed heater off
G92 Z0
G1 Z10 F1000
M18      ; Disable all stepper motors