Advancing sample preparation techniques in 3D printing and ionic liquids