Sub-terahertz (sub-THz) frequencies are at the spotlight in the undergoing development of sixth-generation (6G) wireless communication systems, offering ultra-high data rates and low latency for rapidly emerging applications. However, employment of sub-THz frequencies introduces strict propagation challenges, including free-space path loss and atmospheric absorption, which limit coverage and reliability. To address these issues, highly directional links are required. The conventional beam shaping solutions such as refractive lenses and parabolic mirrors are bulky, heavy, and costly, making them less attractive for compact systems. Diffractive optical elements (DOEs) offer a promising alternative by enabling precise wavefront control through phase modulation, resulting in thin, lightweight components with high focusing efficiency. Employing the fused deposition modelling (FDM) using high impact polystyrene (HIPS), allows cost-effective fabrication of DOEs with minimal material waste and high diffraction efficiency. This work investigates the beam-shaping performance of the FDM-printed structures comparing DOEs and spherical refraction-based structures, wherein both are aiming for application in sub-THz communication systems. DOEs exhibit clear advantages over classically employed solutions.