Let's say you have a program called: myprogram.bas
Open the QB64 IDE and paste in this code...
SHELL _DONTWAIT(START Notepad /min /p myprogram.bas"
Run the program. It's okay that the program is "Untitled." It will still run, without being saved.
So what this does is tell Notepad to open minimized, open your program called myprogram.bas in this example case, and then the /p switch prints it. Note the START command allows the /min switch to be used. It isn't necessary to run Notepad minimized, but it's nice to have it out of the way.
Welcome to the forum, and this is funny, because I was just thinking the other day it would be nice if a PRINT option was added, at some point, to the project. I'm just not sure with all the cross-platform printing issues if that is too complicated an undertaking, and the use, frankly, would be minimal, which would not make this a priority for the dev team.
Hey Dav, you posted while I was writing this.Nice to see your IDE prints, but is it cross-platform compatible?
Pete