Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

same: google-chrome --headless --disable-gpu --no-pdf-header-footer --hide-scrollbars --print-to-pdf-margins="0,0,0,0" --print-to-pdf --window-size=1280,720 https://example.com

ended up using headless chrome specifically to make sure javascript things rendered properly



Used this, sigh of relief, thank you




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: