Making, selling, transporting or possessing 3D-printed guns and other undetectable firearms would be banned in New York under legislation approved by the Democrat-controlled state Legislature.