QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: David Dill on March 01, 2018, 09:35:53 am
-
I recall in the old days of BASIC (and my dot matrix printer), one could not only make a hard copy of their programs, but also even print out the results of a program run. Now the best that I can do is a screen shot and print that. Is there a way to make a hard copy like in the old days with QB64?
-
Hi David. Of course, it is. Use _PRINTIMAGE for printing screen. Welcome to the forum.
Edit - You can use LPRINT for printing outputs too, both works fine, works also with me Wireless HP laser printer.
-
To print out your program listing, just load your .bas in any text editor and print it as desired, as it's all plain text. Notepad will do.
To print from your running program, use LPRINT or _PRINTIMAGE (http://qb64.org/wiki/PRINTIMAGE), as Petr suggested.
-
Thank you for your suggestions. They both worked.