I'm trying to set window size when printing, but it seem it is not working.
I run: docker run -v "$(pwd):/workspace" pink33n/html-to-pdf --url http://google.com --window-size=1920,1080 --pdf out.pdf
But the generated pdf file is still cropped which indicates a small screen size in headless.
P.S: This also did not help: docker run -v "$(pwd):/workspace" pink33n/html-to-pdf --url http://google.com --pdf out3.pdf --window-size 3600,1200