laravel-dompdf icon indicating copy to clipboard operation
laravel-dompdf copied to clipboard

What setPaper Sizes are Available?

Open thatguy76 opened this issue 2 years ago • 3 comments

@barryvdh is there a resource for what sizes are allowed for the setPaper option. The link provided at the following doesn't work.

https://github.com/barryvdh/laravel-dompdf/issues/83#issuecomment-68881760

I've tried several of the options at the following link, but only some work. For example, when trying setPaper->('half-letter', 'portrait') an error is thrown on stream(). I've also found that arrays with points does not work either. Is this correct?

https://github.com/dompdf/dompdf/blob/master/src/Adapter/CPDF.php

thatguy76 avatar Sep 08 '22 05:09 thatguy76

That is a question for https://github.com/dompdf/dompdf This is only a laravel wrapper for Dompdf

parallels999 avatar Sep 09 '22 22:09 parallels999

On same file https://github.com/dompdf/dompdf/blob/06f75510a1ccc937137523f0cd6239f62586d1ef/src/Adapter/CPDF.php#L42-L100

PaolaRuby avatar Oct 10 '22 16:10 PaolaRuby

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/dompdf/dompdf instead. When having doubts, please try to reproduce the issue with just dompdf. If you believe this is an actual issue with the latest version of laravel-dompdf, please reply to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.

stale[bot] avatar Jun 18 '23 08:06 stale[bot]