Trying to heat bed before extruder and turn on fan

Hello all

I am trying to heat my print bed before I print so that I don’t end up with a puddle of goo on my table and no plastic on the first layer of my print. It takes longer to heat the bed, so I would like to be able to wait until it is heated to heat the hot end. Also, my cooling fan does not come on causing my PEEK to heat up and melt the plastic before it gets into the proper section of the hot end. As I’m sure you know, this prevents my extruder from being able to push the plastic out of my hot end.

I have tried editing the gcode on the advanced page, but when I slice it I get an error 777 when trying to print the resulting file.

I have the following on my advanced tab of the slicer:

{
"printer_type_id": "4",
"layer_height": "0.15",
"wall_thickness": "0.8",
"nozzle_size": "0.4",
"bottom_thickness": "0.3",
"filament_diameter": "1.75",
"filament_flow": "100",
"solid_top": "1",
"solid_bottom": "1",
"solid_layer_thickness": "0.7",
"fill_overlap": "15",
"bottom_layer_speed": "20",
"print_speed": "50",
"infill_speed": "50",
"travel_speed": "150",
"fan_enabled": "1",
"fan_speed": "100",
"fan_speed_max": "100",
"support": "None",
"support_type": "Lines",
"support_angle": "60",
"support_fill_rate": "15",
"support_xy_distance": "0.7",
"support_z_distance": "0.15",
"retraction_enable": "1",
"retraction_amount": "4.5",
"retraction_speed": "40",
"retraction_min_travel": "1.5",
"retraction_dual_amount": "16.5",
"retraction_minimal_extrusion": "0.02",
"retraction_combing": "1",
"overlap_dual": "0.15",
"cool_min_layer_time": "5",
"cool_min_feedrate": "10",
"cool_head_lift": "1",
"fan_full_height": "5",
"fill_density": "30",
"platform_adhesion": "Brim",
"skirt_gap": "3",
"skirt_line_count": "3",
"skirt_minimal_length": "150",
"brim_line_count": "20",
"raft_margin": "5",
"raft_line_spacing": "3",
"raft_base_thickness": "0.6",
"raft_base_linewidth": "1.2",
"raft_interface_thickness": "0.35",
"raft_interface_linewidth": "0.6",
"raft_airgap": "0.2",
"raft_surface_layers": "1",
"object_sink": "0",
"layer0_width_factor": "100",
"print_bed_temperature": "50",
"print_temperature": "210",
"extruderOffset[1": "0",
"posx": "115000",
"posy": "112500",
"extra": "-m 1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0",
"startCode": "M140 S{print_bed_temperature}\nM190 S{print_bed_temperature}\M106 S200\nM109 T0 S{print_temperature}\nT0\nG21\nG90\nM82\nM107\nG28 X0 Y0\nG28 Z0\nG1 Z15.0 F9000\nG92 E0\nG1 F200 E3\nG92 E0\nG1 F9000\nM117 Printing...",
"endCode": "M104 S0\nM140 S0\nG91\nG1 E-1 F300\nG1 Z+0.5 E-5 X-20 Y-20 F9000\nG28 X0 Y0\nM84\nG90",
"p_chk": true,
"printer_template_id": "25",
"f_material": "CUSTOM",
"file_id": 30102
}

Hey Matthew,

We have resolved this issue and you should now see the bed heating before your hot end. If you have any other questions/issues please reach out.

Thanks again for the great feedback!

-Charles