Marlin Host Action Commands
In the newer Marlin versions they have some host action commands that can send a command to the host to start the next print job in queue (and a few others). They seem to be working in octoprint, any thoughts on if these would/could work with repetier-server? I tested them but it seems the functionality is not yet there for repetier-server.
Comments
https://reprap.org/wiki/G-code#Action_commands
I see no mention of them.
Would be easy to add since we alraedy have server commands doing that. In fact you can add it to reposnse parser to do so already, but if they have them build in i'd like to make them generally work.
Yes, you can use that solution to trigger actions just add a expression that detects it in printer config and run the action.
Only most recent print is currently not possible. Guess I should add a server command for this, now that we have recent prints. What you can do is start first g-code in print queue. Especially if you stopped it, it will normally still be there for printing.
1. No printjob running
2. There must be one more file in print queue.
Did you restart server to make the line effective? Any position among the response entries would work.
<response type="stopPrint">//\s*RequestStop:</response>
<response type="startNextPrint">//\s*action:start\b</response>
<response type="requestPause" string="true">//\s*action:pause\b(.*)</response>
<response type="continuePause">//\s*action:resume\b</response>
type: command
enable: {not printer.idle_timeout.state == "Printing"}
name: Start Next Job
gcode:
{action_respond_info('action:start')}
Thanks