I think you're teacher is pulling your leg; the origin is lost in the mists of time. From the On-line Etymological Dictionary: The printing sense is first attested 1676. The noun is first recorded 1596 from the verb.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.