Home Printer Setups & Firmware Passing custom G-Code macros from the cloud to your local Klipper firmware

Passing custom G-Code macros from the cloud to your local Klipper firmware

Last updated on Mar 31, 2026

Controlling the Firmware

Power users love writing custom macros in printer.cfg. SoLoPrint natively supports triggering these directly from the cloud UI.

1. Locating the Terminal

Open the expanded view for your connected Klipper printer. Click the Terminal tab.

2. Macro Execution

You can type standard G-Code commands directly (e.g. G28 to home) and watch the printer react in real-time on the camera feed.

If you have custom macros listed in Klipper, type their exact name (e.g., CLEAN_NOZZLE or HEAT_SOAK). SoLoPrint's terminal instantly forwards this string through the Bridge's WebSocket to Moonraker, kicking off your custom sequence.