To install this package, run in Emacs:
M-x package-install RET cl-print RET
Customizable print facility. The heart of it is the generic function `cl-print-object' to which you can add any method you like. The main entry point is `cl-prin1'.