You can use a DIY solution if your carpet has synthetic carpet fibers. You will need to combine equal measures of glycerin, water, and liquid dishwashing soap. All you need to do is mix the solution, wet the ink stain, and dab it on the carpet fibers.