On Demand Treatment of Wastewater Using 3D-Printed Membrane