Set PDF to print with no scaling

后端 未结 7 1271
名媛妹妹
名媛妹妹 2020-12-17 18:35

I am generating a PDF (using fpdf) and I am wondering if there is a way to set the document\'s properties to to default to print with no scaling.

So when you select

相关标签:
7条回答
  • 2020-12-17 19:26

    I've done it adding to the method _putcatalog() the following:

    $this->_out('/ViewerPreferences [/PrintScaling/None]');
    

    After the line:

    $this->_out('/Type /Catalog');
    

    Implementing a method is just fast and easy...

    0 讨论(0)
提交回复
热议问题