Pausing the Printer takes too long


What is the problem?
When I press Pause Or Cancel it takes 30 - 60 sec to do so.
How can I make it faster so it stops instantly?
I think that Octoprint sends so many commands that my printer can't keep up or so.

What did you already try to solve it?
Searched on Google and in the Forum

Additional information about your setup

Send: N116233 G0 X151.748 Y52.201 F720069
Changing monitoring state from "Printing" to "Pausing"
Send: N116234 M400
Recv: ok Q:1
Send: N116235 M114*21
Recv: ok ?: Unsupported command: M400
Recv: ok ?:Line: 116404/14 Syntax error, char: '2' (0x32) :
Recv: ok ?:Line: 116404/15 Syntax error, char: '0' (0x30) :
Recv: ok X:167.12 Y:144.37 Z:14.40 E:72.33
Changing monitoring state from "Pausing" to "Paused"

OctoPrint 1.3.9
OctoPi 0.15.1
Craftbot +
Raspberry Pi Model 3b
SanDisk Extreme 32 GB microSDHC
Logitech C270
Logitech C920


I don't see a way of turning off checksums and line numbers only for the M400 command and your firmware for whatever reason is confused by the "*20" checksum at the end of that command.

It's probably a good idea to check your firmware for the Craftbot + to see if there's an upgrade.


I am on the latest firmware.
I don't know what checksums are.
Is there a way to change the M400 command to something else ?
I found out when i print from USB-stick my printer uses a different Command to pause the print.

G198 moves the head back to the original location after pausing. The extrusion value keeps untouched.

G199 pauses the print immediately, and moves the head to X0, Y100. (this is the command the LCD screen uses)

M199 : overrides the default pause position (normally X0 Y100, so M199X0Y100).


I know of no way of changing this (other than patching OctoPrint in place). But perhaps others would know how to do this.