As GWBASIC and QuickBASIC are DOS programs (16 bit), you won't be able to run them on any 64 bit Windows operating system, neither Windows 7 x64 nor Windows 8 x64. Moreover, as QuickBASIC only outputs 16 bit DOS executables, you also can't run your EXE files created with that.
You will have to use a third-party DOS emulator like DOSBOX: http://www.dosbox.com/
As an alternative, you could also set up a virtual machine running a Windows version, which is capable of executing 16 bit DOS EXE files, e.g. Windows 9x.
You could use VMWare Player, Oracle VirtualBox, Windows VirtualPC, ... for that. But on the other hand, that might cause additional problems if you want to access your computer's (=host) hardware.
So my suggestion is to switch to FreeBASIC, which is open source software and available for Windows, Linux and DOS. You can easily port your old QBasic programs to FreeBASIC, often without much effort. Executables created by FreeBASIC can be run on 64 bit Windows versions. Using FreeBASIC's OPEN LPT
command (see Wiki page of that command) you can access the printers configured in Windows, even those that are only virtual printers like, for example, PDF writers.