There is a company out there called Correlated Magnetics Research,
This company has a method of "programming magnets". What I mean by that, is that they can magnetize a piece of metal with as many north and south poles as they want, in any configuration they want. This allows them to control the magnet to behave in unique ways.
To get a better idea, watch an interview of them by TechCrunch here:
https://www.youtube.com/watch?v=drD416THU7Y
They use a machine of their own design they've dubbed a MagPrinter. You can watch a video that somewhat explains it here:
https://www.youtube.com/watch?v=1EDb9fG__v4
I think I can make this. My idea it to take large capacitors and hook them up to a solenoid. But rather than a normal solenoid, this would be flat and wide. Think of a bunch of copper washers (with a large diameter outside, and a very small diameter middle), cut a bunch of them, and resolder them into a spiraling circle. Basically creating a very wide solenoid, but with a very small middle.
If one of the capacitors was discharged through this, it should make a very strong magnetic field that is intensified and concentrated in the middle, and dispersed and weak on the outside. Hopefully, this will allow a spot of magnetism to be established in the center, and the weak outer-field won't disrupt other points of magnetism that were created before. Each capacitor would start recharging as the next one fires, hopefully allowing for a rapid-printing process like what they show their MagPrinter doing.
Once I start this project I'll post updates!