print preview almost done..have some minor bug