(*** This script will guide you through ***)
(*** calibrating the start position on  ***)
(***      your Makerbot Replicator      ***)
M103 (disable RPM)
M73 P0 (enable build progress)
G21 (Use Millimeters as Units)
G90 (Absolute Positioning)
M18 (Disable stepper motors)
M70 P10 (Move carriage to    center of plate)
M01 (Move the extruder carriage until it lies in the dead center of the build plate, then press yes to continue.)
M70 P10 (Check distance      from nozzle to plate)
M01 (Check the distance between the extruder nozzles and the build plate. They should be about one business card thickness apart. )
G92 X0 Y0 Z0 A0 B0 (Declare the current position to be (0,0,0,0,0))
G161 Z F1000 (Home Z axis minimum; go until reaching the end stop.)
(G92 Z0.0 (Set Z to 0)
G162 X Y F4000 (Home X and Y axis maximum; go until reaching the end stop.)
M131 X Y (record the current coordinates to the motherboard)
M70 P10 (Calibration complete)
M73 P100 ( End  build progress )
M01 (Your coordinates are now saved! To adjust them, use the 'Machine Onboard Preferences' dialog in the Machine menu to change the Axis Offsets.)
