Using the command line
The host can also make changes to the G-code on the fly. This is handy if you want to make changes quickly, such as turn a fan on or off or adjust its speed. To do this, you simply enter the G-code command in a command-line window and click on Send.
The following screenshot shows the host program Repetier-Host:

Its command line is located under the Manual Control tab. The following screenshot shows the host Pronterface:

Its command line is located on the bottom-right corner of the program. A nice feature of Pronterface is its capability to create custom buttons that will send frequently used G-code commands. For instance, it's very convenient to have a set of buttons that will move the extruder to all four corners of the build platform when bed leveling.
We'll make the first button for a 200 mm x 200 mm bed by starting with the front-left position. To do this, left-click on the small + button at the bottom center of the program. A pop up will appear with the...