Perspective print function

Today, I am trying Document Management, in this you can upload the files view the files download the files.
so trying to add print function, but not able to do so. Can any one guide Me

This is typically not permitted by web browsers. Users will need to download the resource and then print.

Any way to open print page and load the file