The Flight Model of the SuperAGILE experiment was calibrated on-ground using an X-ray generator and individual radioactive sources at IASF Rome on August 2005. Here we describe the set-up, the measurements and the preliminary results of the calibration session carried out with the X-ray generator. The calibration with omnidirectional radioactive sources are reported elsewhere. The beam was collimated using a two slits system in order to reach a rectangular spot at the detector approximately 1800 μm × 100 μm in size. The long dimension was aligned with the detector strip, so that the short dimension could fall within one single detector strip (121 μm wide). The detector was then slowly moved continuously such that the beam effectively scanned along the coding direction. This measurement was done both at detection plane level (i.e., without collimator and mask) to characterize the detector response, and at experiment level (i.e., with collimator, mask and digital electronics), to study the imaging response. Aim of this calibration is the measurement of the imaging response at 0, 10 and 20 degrees off-axis, with a parallel beam, although spatially limited to a ~2 mm long section of the coded mask.