M28 - Start SD write

Description

This command starts a file write. All commands received by Marlin are written to the file and are not executed until M29 closes the file.

Notes

Requires SDSUPPORT

To write commands to a file while also printing, use M928

Parameters

M28 filename
filename

File name to write

Examples

Start writing to file.txt

M28 file.txt