A dispensing apparatus comprising: a frame including a gantry configured to provide movement in the X axis and Y axis directions; the gantry including a first side rail, a second side rail and a beam that extends between the first side rail and the second side rail, the beam being configured to move in the Y axis direction along the first and second side rails to achieve Y axis movement, the gantry further including a carriage mounted on the beam, the carriage being configured to move along the length of the beam in the X axis direction, a support coupled to the frame, the support being configured to support at least one electronic substrate under the gantry; a first dispensing unit supported by the carriage, the first dispensing unit being configured to dispense material; a second dispensing unit supported by the carriage by an automatic adjustment mechanism, the second dispensing unit being configured to dispense material; an imaging system coupled to one of the frame and the gantry, the imaging system being configured to capture at least one image of a first pattern and a second pattern, the second pattern being substantially identical to the first pattern; and a controller configured to control the operation of the gantry, the first dispensing unit, the second dispensing unit, the automatic adjustment mechanism, wherein the automatic adjustment mechanism is configured to move the second dispensing unit in the X axis and Y axis directions to manipulate and adjust a spacing between the first dispensing unit and the second dispensing unit, and wherein the automatic adjustment mechanism includes a linear bearing secured to the carriage, a mounting block configured to ride along the linear bearing, coupled to the second dispensing unit, and a first linear drive motor assembly configured to move the mounting block along the linear bearing. a frame including a gantry configured to provide movement in the X axis and Y axis directions; the gantry including a first side rail, a second side rail and a beam that extends between the first side rail and the second side rail, the beam being configured to move in the Y axis direction along the first and second side rails to achieve Y axis movement, the gantry further including a carriage mounted on the beam, the carriage being configured to move along the length of the beam in the X axis direction, a support coupled to the frame, the support being configured to support at least one electronic substrate under the gantry; a first dispensing unit supported by the carriage, the first dispensing unit being configured to dispense material; a second dispensing unit supported by the carriage by an automatic adjustment mechanism, the second dispensing unit being configured to dispense material; an imaging system coupled to one of the frame and the gantry, the imaging system being configured to capture at least one image of a first pattern and a second pattern, the second pattern being substantially identical to the first pattern; and a controller configured to control the operation of the gantry, the first dispensing unit, the second dispensing unit, the automatic adjustment mechanism, wherein the automatic adjustment mechanism is configured to move the second dispensing unit in the X axis and Y axis directions to manipulate and adjust a spacing between the first dispensing unit and the second dispensing unit, and wherein the automatic adjustment mechanism includes a linear bearing secured to the carriage, a mounting block configured to ride along the linear bearing, coupled to the second dispensing unit, and a first linear drive motor assembly configured to move the mounting block along the linear bearing.