| 1 | <h2>Comments</h2> |
| 2 | <pre><code>; comment |
| 3 | (some more comments) |
| 4 | G28 (even in here) X0 |
| 5 | </code></pre> |
| 6 | |
| 7 | <h2>Quoted strings</h2> |
| 8 | <pre><code>"foo""bar"</code></pre> |
| 9 | |
| 10 | <h2>Full example</h2> |
| 11 | <pre><code>M190 S60 ; Heat bed to 60°C |
| 12 | G21 ; Set units to millimeters |
| 13 | G28 ; Move to Origin (Homing) |
| 14 | G29 ; Auto Bed Leveling |
| 15 | G28 X0 Y0 ; Home X and Y to min endstops |
| 16 | M107 ; Fan off |
| 17 | M109 S200 ; Heat hotend to 200°C |
| 18 | G92 E0 ; Set current extruder position as zero |
| 19 | G1 F200 E15 ; Extrude 15mm filament with 200mm/min |
| 20 | G92 E0 ; Set current extruder position as zero |
| 21 | G1 F500 |
| 22 | </code></pre> |