
Some web pages have special CSS that is used to style a web page when it is printed. By default, when converting a web page to PDF our converter makes the PDF look like what appears in the browser. To do this our converter uses the Screen Media Type.
However, in some cases a print version of a web page may convert to PDF better. To do this you need to instruct GrabzIt to use the print CSS Media Type when converting the web page, as shown below.
<script src="https://cdn.jsdelivr.net/npm/@grabzit/js@3.4.8/grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.spacex.com",
{"format": "pdf", "download": 1, "media": "print"}).Create();
</script>