From 42f4fad25709e32486584731919251245ac2c4b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 26 Jan 2017 14:59:19 +0100 Subject: [PATCH] Fixed minor doc issue --- docs/features/gcode_scripts.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/features/gcode_scripts.rst b/docs/features/gcode_scripts.rst index 579edbdf..e58cfdbc 100644 --- a/docs/features/gcode_scripts.rst +++ b/docs/features/gcode_scripts.rst @@ -67,10 +67,13 @@ All GCODE scripts have access to the following template variables through the te There are a couple of additional template variables available for the following specific scripts: * ``afterPrintPaused`` and ``beforePrintResumed`` + * ``pause_position``: Position reported by the printer via ``M114`` immediately before the print was paused. Consists of ``x``, ``y``, ``z`` and ``e`` coordinates as received by the printer and tracked values for ``f`` and current tool ``t`` taken from commands sent through OctoPrint. + * ``afterPrintCancelled`` + * ``cancel_position``: Position reported by the printer via ``M114`` immediately before the print was cancelled. Consists of ``x``, ``y``, ``z`` and ``e`` coordinates as received by the printer and tracked values for ``f`` and current tool ``t`` taken from commands sent through OctoPrint.