custom paper size & color #18
-
Does this package support custom paper sizes? Can I add one in Enum? |
Beta Was this translation helpful? Give feedback.
Answered by
jeffreyvanhees
Jan 13, 2024
Replies: 2 comments 3 replies
-
You can access the browsershot instance like this: return Pdf::view('pdf.receipt-test')
->withBrowsershot(fn(Browsershot $browsershot) => $browsershot->paperSize(
width: 1000, height: 1000,
)); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
azc666
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@azc666 See #33