Can I start a print job from a macro
-
RRF 3.6.0-rc.2
MB6HCI've created a print job designed to help me tweak my z offset. It's a single layer rectangle with some added meta commands to let me position it anywhere on the bed. It works great. It's called "first layer.gcode"
I've also written a macro utility to assist in changing filaments. it also works great.
Now I want to let the user start tart the print job at the end of the filament changing macro, but I'm not sure how to do this. I tried M98 P"0:/gcodes/first layer.gcode". This does launch the job, but it does not run start.g at the beginning or enable the pause and cancel buttons in DWC. Is there a proper way to do this? I know I can add a conditional call of start.g and stop.g in first_layer.gcode, but I want to have access to the pause and cancel print buttons.
-
Have you seen M23 and M24?
https://docs.duet3d.com/User_manual/Reference/Gcodes#m23-select-sd-file
-
@Phaedrux - I have now. Thanks!
-
@mikeabuilder also look at M32.
-
This post is deleted!