Printing a page is client side functionality. I doubt you can set it on server side. You can surely set it on aspx page
using CSS. Have a look at
this thread[
^] discussing the same.
Surely, you can have CSS defined at runtime through your code, if that helps!