In many control applications, it is expected that the system output tracks a desired reference signal. This paper describes a new approach in which the tracking problem is formulated as an output shaping problem. The approach uses the framework of predictive control and imposes the desired reference signal as a constraint on the output. Some simulation results and a real-time application are also given to illustrate the effectiveness of the proposed method.