The fabrication of optical components on the top of optical fiber facets using two-photon 3D printing has opened a new path for the development of next generation optical fiber sensors. However, printing complex structures with high resolution at optical fiber tips has still remained a challenge because of the lower axial resolution owing to the ellipsoidal voxel dimensions. To overcome this issue, we have 3D printed lamellar Bragg gratings (LBGs) on optical fiber facets in the XY plane along with a 45° angled prism on top of the fiber core, allowing to couple light into the gratings. The prism and the design of the gratings were optimized with finite-difference-time-domain (FDTD) simulations to get high reflectance in the operating spectral range corresponding to 6th order of reflection. This compact extrinsic LBGs were 3D printed on single mode fibers (SMF-LBGs) for pressure, humidity and temperature sensing applications. Pressure sensing measurements were performed with these SMF-LBGs. They show a pressure sensitivity of 278 pm/bar in the range 1-50 bars. The humidity sensing has been performed in a relative humidity range of 10-90 RH% and a sensitivity of 65.4 pm/RH% was obtained. The temperature response shows a linear spectral shift with a sensitivity of 27.1 pm/°C in the 20-60°C range.