<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>SD card and macros?</title>
        <description> In pronterface I wrote a &quot;preheat&quot; macro that sets the temps, moves the bed forward, and raises Z 0.3 mm.  How can I set something up like this on a stand alone printer?  
I was thinking I could write a gcode file that looks like my macro, but I don&#039;t know which software to use.  
Or maybe modify the Marlin file?  What tab would that be?</description>
        <link>https://reprap.org/forum/read.php?1,278134,278134#msg-278134</link>
        <lastBuildDate>Wed, 16 Sep 2026 08:37:19 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?1,278134,279228#msg-279228</guid>
            <title>Re: SD card and macros?</title>
            <link>https://reprap.org/forum/read.php?1,278134,279228#msg-279228</link>
            <description><![CDATA[ Doubtless, a gcode file would do the job, and easily, but in the interest of completeness...<br />
<br />
You can modify Marlin to add new menus and commands. I've done this to put my most frequently called commands into a "Common" menu that lives above "Control" and "Motion".]]></description>
            <dc:creator>Karmavore</dc:creator>
            <category>General</category>
            <pubDate>Thu, 12 Dec 2013 17:53:43 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,278134,279135#msg-279135</guid>
            <title>Re: SD card and macros?</title>
            <link>https://reprap.org/forum/read.php?1,278134,279135#msg-279135</link>
            <description><![CDATA[ Yes indeed, Notepad++ is what I meant and the other plus got lost in seniorspace...<br />
It's an excellent FOSS text editor for Windows...]]></description>
            <dc:creator>papergeek</dc:creator>
            <category>General</category>
            <pubDate>Thu, 12 Dec 2013 13:48:22 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,278134,278821#msg-278821</guid>
            <title>Re: SD card and macros?</title>
            <link>https://reprap.org/forum/read.php?1,278134,278821#msg-278821</link>
            <description><![CDATA[ yes. Notepad++. is much better than notepad. it has plugins to highlight different text strings, such as languages, or show invisible characters such as LF, and CR.<br />
<br />
notepad is default text editor for windows.]]></description>
            <dc:creator>jamesdanielv</dc:creator>
            <category>General</category>
            <pubDate>Wed, 11 Dec 2013 21:14:50 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,278134,278555#msg-278555</guid>
            <title>Re: SD card and macros?</title>
            <link>https://reprap.org/forum/read.php?1,278134,278555#msg-278555</link>
            <description><![CDATA[ Thanks papergeek,<br />
That's exactly what I needed to know.  I knew I could add that stuff to the slicer start code, but I didn't know how to edit the text.  I think I need to actually slice an object with the "macro" code in the start part, then edit out everything but my preheat code.  So you say I can do that with Notepad+?   A quick google search looks like I want to use Notepad++.  Is there a difference?   Thanks again.]]></description>
            <dc:creator>Purple Kerbie</dc:creator>
            <category>General</category>
            <pubDate>Wed, 11 Dec 2013 07:15:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,278134,278399#msg-278399</guid>
            <title>Re: SD card and macros?</title>
            <link>https://reprap.org/forum/read.php?1,278134,278399#msg-278399</link>
            <description><![CDATA[ You can use a text editor like Notepad+ on Windows or gedit in Linux. gcode is pretty straightforward.<br />
<br />
The macros in pronterface are handy but unfortunately they send all the commands at once.<br />
<br />
You can also put any gcode you want in your slicer configuration both before and after. In my post-print code I have a command to turn off the heated bed since I'm usually not there when printing completes, and I need to cool the bed down anyway to get the piece(s) off the bed.<br />
<br />
If you have the LCD display you can "play" any gcode you want (that you've uploaded) from the SD card menu. Octoprint makes this easier (using the web interface).<br />
<br />
Or perhaps I'm not understanding what you want to do...]]></description>
            <dc:creator>papergeek</dc:creator>
            <category>General</category>
            <pubDate>Tue, 10 Dec 2013 20:56:07 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?1,278134,278134#msg-278134</guid>
            <title>SD card and macros?</title>
            <link>https://reprap.org/forum/read.php?1,278134,278134#msg-278134</link>
            <description><![CDATA[ In pronterface I wrote a "preheat" macro that sets the temps, moves the bed forward, and raises Z 0.3 mm.  How can I set something up like this on a stand alone printer?  <br />
I was thinking I could write a gcode file that looks like my macro, but I don't know which software to use.  <br />
Or maybe modify the Marlin file?  What tab would that be?]]></description>
            <dc:creator>Purple Kerbie</dc:creator>
            <category>General</category>
            <pubDate>Tue, 10 Dec 2013 10:37:20 -0500</pubDate>
        </item>
    </channel>
</rss>
