Skip to content

Get more out of Marlin & Octoprint with these lesser known tips – Macros, auto-start, custom menus



Marlin and Octoprint make a powerful 3D printing combo. In this video, I present some lesser known tips and tricks to make them even better. We cover things like autostarting gcode when the printer boots, gcode macros for saving time, custom LCD menus and host commands to let Marlin and Octoprint talk to each other properly.

With these tips combined, we can set up a 3D printer for toolchanging, and perform previously unavailable functions from the printer’s LCD like resetting the mainboard and shutting down the Raspberry Pi safely.

Let me know if you wan to see a part 2 with more unknown tips and tricks.

0:00 Introduction
Guide to Marlin firmware set up:
Guide to setting up Octoprint:
Guide to connecting to your printer via terminal:

0:53 Backing up settings
Marlin M503 reference:

1:20 Autostart commands
Marlin…

Send this to a friend