Most copiers have built-in systems that prevent same size and/or color copying of currency. I'm thinking it's possible to program recognition software that would block the printing of objects that resemble certain firearms parts. If, as is the case with copiers, that function can be integrated (and hack-proofed) into a 3D printer's drivers, it could at least deter the process.