Set PDF to print with no scaling

后端 未结 7 1296
名媛妹妹
名媛妹妹 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条回答
  •  -上瘾入骨i
    2020-12-17 19:24

    well i'm not sure if you mean somethink like this: http://www.fpdf.org/en/doc/setdisplaymode.htm

    or no "scaling" for images?

    $im2 = pdf_open_image_file($dokument, 'jpeg', 'example.jpg');
    pdf_place_image($dokument, $im2, 395, 655, 1.0); /* 1.0 = qualiti/scaling - 1.0 is original .../*
    pdf_close_image($dokument, $im2);
    

提交回复
热议问题