Millimeter-wave communications can potentially provide high-data-rate transmission. In addition, in the case of indoor small cells, new needs related to the radiation pattern of the antennas are emerging. In this work, a technique for the synthesis of planar transmitarray antennas with simultaneous near-field and far-field requirements is proposed. It is based on an iterative process, going from synthesized sources to generated field and back, through three operations: near-field computation as the sum of far-field contributions from the array elements, and inverse and direct fast Fourier transforms. As a result, the technique is very efficient from the point of view of computing time. In order to demonstrate the ability of the method, two examples are studied: one of them with a null in the near-field region and the other with a focal point, both pointing simultaneously in a specific far-field direction. The results are validated by manufacturing two dielectric “quasi-planar” prototypes at 26 GHz. The measure of the prototypes is in good agreement with the results advanced by the algorithm. These preliminary results suggest that the method can be extended to more complex scenarios.