# Bed leveling via Gcode (different slicer than Luban)

**URL:** <https://forum.snapmaker.com/t/bed-leveling-via-gcode-different-slicer-than-luban/7567>\
**Category:** Snapmaker 2.0 (3-in-1)\
**Created:** [July 8, 2020, 4:32pm UTC](https://forum.snapmaker.com/t/bed-leveling-via-gcode-different-slicer-than-luban/7567 "2020-07-08T16:32:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndreasR](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/andreasr/32/5379_2.png) [@AndreasR](https://forum.snapmaker.com/u/AndreasR)\
**Post date:** [July 8, 2020, 4:32pm UTC](https://forum.snapmaker.com/t/bed-leveling-via-gcode-different-slicer-than-luban/7567/1 "2020-07-08T16:32:46Z")

</div>

I’m trying to make a profile with PrusaSlicer.  
Is there a way to call the bed leveling before each print with a gcode command?  
Thanks for helping out!

---

<div class="post-metadata">

**Author:** ![xchrisd](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.snapmaker.com/xchrisd/32/1503_2.png) [@xchrisd](https://forum.snapmaker.com/u/xchrisd)\
**Post date:** [July 9, 2020, 4:11pm UTC](https://forum.snapmaker.com/t/bed-leveling-via-gcode-different-slicer-than-luban/7567/2 "2020-07-09T16:11:10Z")

</div>

You have so many questions about leveling, here is the answer you are looking for:

> [@On achieving a perfect level](https://forum.snapmaker.com/t/on-achieving-a-perfect-level/5440):
>
> Well, almost perfect. It is within plus or minus .02mm or .0008". I’ve posted it to Thingiverse: Here’s a video of it in operation; So I did a manual level and learned that the front two rows were off. The last row seemed ok. So I decided to put a Dial Indicator to it. I learned that the grid points were all over the place. So I tried manually tweaking the points using the “M421 In Jn Zn” command to input corrections to the grid. WORKS! Also wrote a couple of GCODE commands to do the ch…

Hope this helps!
