This tutorial provides step-by-step instructions to disable auto bed leveling (G29 commands) on the Creality Ender 3 S1 Pro when using PrusaSlicer with OctoPrint integration. Newer versions of PrusaSlicer automatically insert G29 commands into the start G-code for printers with bed leveling capabilities, which can cause unwanted auto leveling cycles during prints. By switching to Expert mode and editing the Custom G-code in printer settings, you can remove these commands entirely while maintaining compatibility with OctoPrint for seamless print uploads and monitoring.

Step 1: Switch to Expert Mode in PrusaSlicer#

PrusaSlicer’s Simple/Advanced modes hide advanced settings like Custom G-code. Expert mode unlocks full printer customization without breaking physical printer profiles for OctoPrint.

  1. Open PrusaSlicer.
  2. Click the configuration mode dropdown (top-right, shows “Simple | Advanced | Expert”).
  3. Select Expert. This reveals all tabs and fields, including detailed printer settings.

Note: Changes in Expert mode apply globally unless saved to a custom preset. Always save profiles before/after edits.

Step 2: Access Printer Settings and Edit Custom G-code#

Prusa Slicer

  1. In the Plater tab, click the Printer dropdown (gear icon next to “Printer”).
  2. Select Edit printer (or “Manage Printers” > Select your Ender 3 S1 Pro profile).
  3. Navigate to the Custom G-code section:
    • Click Printer Settings tab.
    • Scroll to Custom G-code (under Machine limits or Start G-code/End G-code subsections).
  4. Locate the Start G-code field. It contains the auto-inserted G29 block, typically after MBL, resembling:
;
; MBL
;
M84 E ; turn off E motor
G29 P1 ; invalidate mbl & probe print area
G29 P1 X0 Y0 W50 H20 C ; probe near purge place
G29 P3.2 ; interpolate mbl probes
G29 P3.13 ; extrapolate mbl outside probe area
G29 A ; activate mbl
  1. Remove the G29 section entirely:

  2. Leave End G-code unchanged unless customized.

  3. Click Save (or “Save as” for a new preset). Name it “Ender S1 Pro NoABL” to avoid overwriting stock profiles.