How can I control my printer by typing commands into the shell?

Basic Information:

Printer Model:
MCU / Printerboard: mks monster 8
klippy.log

…um for some reason, I have to execute gcodes without webview. How can I use the shell to do it? I have been struggled for 2 days… I have tried API and used ‘curl’ to write my command such as ‘G28’. But it didn’t work… It just returned with {} and nothing happened. I’m considering finding the dir where klipper could read and just execute the Gcodes inside it. Although it seems not exist. Thanks in advance to those who gives advice.

You could try this:

1 Like

Or very bare bone:

echo G28 > ~/printer_data/comms/klippy.serial

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.