header("Content-Type:application/msword");   
header("Content-Disposition:attachment;filename=img.doc");   
header("Pragma:no-cache");   
header("Expires:0");   
如上方法生成word,但是如何控制打印时候的边距即word中页面设置.
多谢!