the print function on document of 5.x did not work.
Why?