A text file has no knowledge of whether it's landscape or portrait. It's only when you come to print it to a real printer that you can specify this. You could for example open the file in Notepad and then specify 'Landscape' in the printer properties before printing it for real.
Don't be fooled by the 'Print' statement. All that does is write the data to the file. It's a hangover from the days when Basic was first developed and it meant 'print this data onto the teletype you're using to write this program'
Later the teletype became a VDU but the statement persisted in the language.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.