Category: Troubleshooting

How to Save a Webpage as a PDF

How to Save a Webpage as a PDF

Saving a webpage is extremely useful for when you want to save something that doesn’t have a built in PDF function. In this tutorial we’ll cover the most basic way to save ANY webpage as a PDF.

Using Microsoft Print to PDF

Hands down the easiest way to save ANYTHING as a PDF, especially a webpage is using the default Microsoft Print to PDF. This will appear in your printers menu when you go to print a document.

If you have Microsoft Print to PDF, then it will show up in your printer menu like below.

print dialog

Enabling and Disabling Microsoft Print to PDF

Microsoft Print to PDF is default on Windows 10 now, if you do not have it, or maybe you think it might be turned off, you can turn it back on with the below instructions.

Open Windows Features

You can open the Windows Features settings in Windows by going to the start menu and typing ‘Windows Features’, it should pop up. If it doesn’t, you can also find it in the control panel.

windows features search

Check the box next to Microsoft Print to PDF

Check the box next to Microsoft Print to PDF and then it should show up in your list of printers. If you still don’t see it then your computer does not have it. 

windows features

Using Google Chrome Print Dialog

Almost just as easy as Microsoft Print to PDF is printing to PDF using the Google Chrome print dialog. We’ve all seen this dialog before, it shows up when you try to print something using Google Chrome.

Go ahead and try printing using Google Chrome.

You will see the below window and you can select your printer from the drop down menu. The best part about the dialog is that you can choose ‘Save to PDF’. Which makes it extremely simple! Click save at the bottom and you’re done!

Google Chrome Print Dialog

More information

I hope this guide helped you save a page as a PDF! It is very easy to do once you know how.

Please leave a comment if you have any questions or concerns. I will be writing future articles about more print dialog tips and tricks and I will make sure to update this article!

How to check HTTP Responses (including status codes and free tools!)

How to check HTTP Responses (including status codes and free tools!)

What is HTTP?

HTTP is how the internet communicates and is the foundation of data communication. It stands for Hypertext Transfer Protocol. In essence, you use HTTP every time you navigate to a new website, or make a call to an API, or download an app.

What is an HTTP response code?

A response code or status code tells you if an HTTP request was successful. The values of response codes vary from 100-599. For a comprehensive list of all of the HTTP response codes, you can visit this link at W3.

You can check your page status with these codes.

Chances are you are having a very specific HTTP response that you want to look up. There are a lot of response codes, but let’s cover the basic list below to learn how to check HTTP response codes and how to read them!

Informational Status Codes (100-199)

100 Continue: A response that tells you that your request has worked thus far and that you may continue further if you need to. 

Successful Status Codes (200-299)

200 OK: Your request was received and has succeeded!

Redirection Status Codes (300-399)

301 PERMANENT REDIRECT: This means that the page you were trying to reach has been permanently moved to a new location.

302 FOUND (now means temporary redirect): This means that the page you were trying to reach has changed, but only temporarily. 

Client Error Status Codes (400-499)

400 BAD REQUEST: The server did not understand the request. This will be due to user syntax errors.

403 FORBIDDEN: This means that your device does not have authorization to access this content.

404 NOT FOUND: Exactly what it sounds like! You’ve probably seen this one before if you’ve tried to go to a page that doesn’t exist on a website. The server can not find the page you were looking for.

410 GONE: This response will be sent when the content has been deleted from the server and there is no redirect. Usually used for when temporary content meant to expire.

418 I’M A TEAPOT (no seriously): Okay, this one isn’t going to come up much, it’s a funny joke referring an April Fools joke in the Hyper Text Coffee Pot Control Protocol. Make no mistake though, it is a real protocol and some programmers may use it. This protocol is supposed to be used by teapots which are mistakenly asked to brew coffee. In-face Google has a fun little Easter Egg for this error code.

Server Error Status Codes (500-599)

500 INTERNAL SERVER ERROR: This means the server doesn’t know what to do with what you sent it. Trying again can usually solve this issue. Nothing is perfect!

503 SERVICE UNAVAILABLE: This means what it sounds like, the server is unavailable.

HTTP Response Code Checkers

httpstatus.io allows you to check headers of a website, check your redirects and status codes check your URL status and more. httpstatus.io is a bulk URL HTTP Status Code checker, so you can use it on more than one URL at a time!

For the below example I checked google.com and received the following readout:

google status code

Hey! We know these status codes! 301 permanently redirects us, 302 means the site was found and then 200 means it was successful!

Something interesting to note is that this redirect is from ‘google.com’ to ‘www.google.com’

If you put www.google.com, you only get codes 302 and 200. Pretty nifty huh? that allows you to follow redirect chains. 

A redirect chain shows you where the original request bounces around to and from. Redirects usually happen to quickly for you to notice, but it’s important to know on a step-by-step level when you are trying to figure out HTTP issues. Another good site for this is called WhereGoes.com, all it does is- you guessed it – tell you where something goes!

HTTP Header Check Tools

WebSniffer has a powerful header checker tool for more advanced requests. The first thing it does is connect to the site’s IP address and then it displays your HTTP Response Header.

See TheFasterFixer.com’s HTTP Response Header below! It even gives you the content of the page as well. WebSniffer is a fantastic way to troubleshoot your HTTP response issues and get HTTP header information.

the faster fixer http response header

More Information

Hopefully this helped you identify some issues you may have had with your HTTP Response Codes. There are a lot more responses than the ones I’ve listed here. If you are having a specific issue, please reach out and let me know!

I plan on writing specific guides for ways to fix and troubleshoot each error code. I will add them to this guide as I write them.

Leave a comment if you have any questions!

Theme: Overlay by Kaira