This gcode is based upon the great work of Thrutheframe, though I ended up removing or changing a lot of his alterations due to them already being folded into the current P1S stock gcode. So these files don't change motor voltages (Bambu already did that).
Customized start gcode for Bambu Lab P1S printer. Usable for P1S with or without AMS. The cube is a placeholder file so that I can publish these files. What you need to download is “P1S StartGcode.txt” and “P1S EndGcode.txt”.
There are dates in the text files to show when I wrote them, in case I happen to update these at some point.
My own updates:
The below are an abridged version of the original instructions from Thrutheframe, I couldn't improve upon them so all credit goes to him. Much like he says, use my gcode at your own discretion, do small tests first etc. I won't be responsible if something goes awry!
How to Use
Make sure you have uploaded the latest firmware for the printer and slicer version. In the BambuLab slicer, you need to enable the Advanced option. Otherwise, there will be settings that you will not be able to have access to.
Delete all the codes in the “Machine start G-Code” section first. Then copy and paste the modified start gcodes from the txt file. Save it under a different profile name. Test the codes using a small test print and watch what it does. If you like what you see, all's well and good. If not, you can always use back the stock setting from Bambu Lab.
Using Textured PEI plates
When using textured PEI plates from Bambu Lab, Energetic, LDO, etc. Please remember to choose the Textured PEI Bed setting on the slicer. This will enable an additional -0.03mm squish to improve line adhesion (if you are not using PETG filament - nirin). But that will also mean you will get elephant foot, which you will need to compensate via the elephant foot settings. A value of 0.06 to 0.08mm should do the trick.
DO NOT INCREASE THE Z OFFSET. If you read the codes, G29.1 Z{-0.03} is to add the squish. Do not increase the z-offset value. The nozzle will be scratching the bed. In serious cases, it may bend the nozzle at the heatbreak. If you need more squish, I would recommend increasing the flow rate from stock 0.95 to 0.97.