During the last ten years, deflectometric profilometers have become indispensable tools for the precision form measurement of optical surfaces. They have proven to be especially suitable for characterizing beam-shaping optical surfaces for x-ray beamline applications at synchrotrons and free electron lasers. Deflectometric profilometers use surface slope (angle) to assess topography and utilize commercial autocollimators for the contactless slope measurement. To this purpose, the autocollimator beam is deflected by a movable optical square (or pentaprism) towards the surface where a co-moving aperture limits and defines the beam footprint. In this paper, we focus on the precise and reproducible alignment of the aperture relative to the autocollimator's optical axis. Its alignment needs to be maintained while it is scanned across the surface under test. The reproducibility of the autocollimator's measuring conditions during calibration and during its use in the profilometer is of crucial importance to providing precise and traceable angle metrology. In the first part of the paper, we present the aperture alignment procedure developed at the Advanced Light Source, Lawrence Berkeley National Laboratory, USA, for the use of their deflectometric profilometers. In the second part, we investigate the topic further by providing extensive ray tracing simulations and calibrations of a commercial autocollimator performed at the Physikalisch-Technische Bundesanstalt, Germany, for evaluating the effects of the positioning of the aperture on the autocollimator's angle response. The investigations which we performed are crucial for reaching fundamental metrological limits in deflectometric profilometry.