write your code for what the math will be for your own pMEGI and then let the printer code do the rest!
me