printing in quickbasic and windows NT
printing in quickbasic and windows NT
(OP)
Hello,
I want to print in quickbasic on my computer (windows NT) but it doesn't work.I read a thread about it for windows XP, but it isn't very helpfull.
Can someones help please?
Thank you!
I want to print in quickbasic on my computer (windows NT) but it doesn't work.I read a thread about it for windows XP, but it isn't very helpfull.
Can someones help please?
Thank you!
RE: printing in quickbasic and windows NT
I had the same problem running Quickbasic programs under Windows XP. I overcame the problem by using an excellent program called 'DOSprn' that does the translation.
You can get a free download of DOSprn. Just Google for it.
RE: printing in quickbasic and windows NT
In a dos box type in net use ?
This will show you how to set up a printer depending on you circumstances. This will allow you to print to any printer on your network.
David Paulson
RE: printing in quickbasic and windows NT
I have an old ms-dos program that connects to another
computer in pcterm terminal emulation. The trouble is,
my modem is a pci as com3 but not the traditional com3
location or interrupt that ms-dos would expect.
Is there a net use command syntax that I could use to
"fool" the program to use say com2 instead and make it
think it was accessing the modem at the 2f8 location when it's really accessing it at FF8F0000 and interrupt 18 ?
RE: printing in quickbasic and windows NT
ports. That's all I can see that it's used for.
RE: printing in quickbasic and windows NT
If format is not all that important and you have a default printer then you can try something like this:
CODE
PRINT "type in something and press ENTER"
PRINT
LINE INPUT Temp$
'--must have a default printer already assigned
'--through Window's Control Panel.
OPEN "\PrintMe.txt" FOR OUTPUT AS #10
PRINT #10, Temp$
CLOSE
Temp$ = "notepad.exe /p \PrintMe.txt"
SHELL Temp$
PRINT
PRINT "Please check your printer"
PRINT
SLEEP 5
KILL "\PrintMe.txt"
END
--MiggyD
--> It's a bird! It's a plane! No, it's an OS update patch! Ahh!! <--