I am using \begin{landscape} in LaTex to make the output in landscape format, but the PDF file produced is not in landscape. The result is that all the text is sideways and is very inconvenient to read. Is there any way to turn the page to make the text run horizontally instead of vertically?

To describe the issue more clearly, the PDF which is created is in portrait, but the text on the PDF runs vertically.
If I were to print the PDF, it would appear landscape instead of portrait, but really is portrait if seen on a computer.