Skip to content

Installation

Justagwas edited this page Jul 18, 2026 · 1 revision

Installation

P1S-GCODE is installed in the machine start and machine end G-code fields of a Bambu Lab P1S printer preset.

The profiles do not modify printer firmware. They become part of the print file when the model is sliced.

Choose a profile

Preference Start profile End profile
Shortest sequence S-START S-END
Reduced startup purge L-START-LITE L-END
Balanced everyday use L-START L-END
Most extensive sequence XL-START XL-END

L-START with L-END is recommended for a first installation.

Open the files

Start profiles

End profiles

Use the Raw link when copying a file.

OrcaSlicer

  1. Select the Bambu Lab P1S printer preset.
  2. Open the printer settings.
  3. Save the preset as a new user preset.
  4. Enable Advanced Mode if the machine G-code section is hidden.
  5. Open Machine G-code.
  6. Replace the complete Machine start G-code field with the selected start profile.
  7. Replace the complete Machine end G-code field with the matching end profile.
  8. Save the preset.

A clear preset name makes profile selection easier:

Bambu Lab P1S - P1S-GCODE L

Bambu Studio

The same installation principle applies:

  1. open the P1S printer preset;
  2. save a user copy;
  3. open the machine start and end G-code fields;
  4. replace both fields with the selected profile pair;
  5. save the preset.

Menu names can differ slightly between versions, but the destination is always the printer preset’s machine start and end G-code.

Bed leveling

L-Lite, L, and XL contain the adaptive first-layer probing block. Keep Bed Leveling enabled when using these profiles.

S is the shortest profile. It enables bed-level compensation but does not request a new adaptive probing pass.

AMS and external spool

The same profiles can be used with an AMS or with the external spool.

With an AMS, the printer performs the material-selection and unload operations contained in the firmware material-system blocks. Without an AMS, use the external-spool workflow normally.

No separate script is required.

First print

After saving the preset:

  1. select the new P1S-GCODE preset;
  2. slice the model again;
  3. begin with a small print;
  4. watch the first startup and shutdown so that the selected profile becomes familiar.

After that, use the preset in the same way as any other printer preset.

Updating a profile

When a profile file changes:

  1. open the latest Raw file;
  2. replace the corresponding machine G-code field;
  3. save the preset;
  4. slice the model again.

Previously generated print files still contain the older sequence.

Optional Z offset

Each start profile includes this disabled line:

; G29.1 Z{-0.02}

The semicolon makes the line a comment.

Most users can leave it disabled. It is provided for users who intentionally tune Z offset through machine G-code. See Safety before changing it.

Related pages

Clone this wiki locally