Regardless of how the ink ended up on the carpet, the most important thing people need to remember is when dealing with ink stains, there is need to avoid smearing it outwards but rather blot or rub in small movements to keep the stain in the already affected area and also understand the type of ink they are dealing with whether it is water based or permanent ink.
Water-based inks are usually considered temporary since they can dissolve in water. As a result, any form of soaps or detergent can be used in cleaning it off. Permanent ink is non-water based inks as they are not soluble in water. They, therefore, need to be handled with solvent-based agents, for instance, acetone and rubbing alcohol.