View Single Post
Join Date: Mar 2008
Posts: 5
Reputation: printfil is an unknown quantity at this point 
Solved Threads: 1
printfil printfil is offline Offline
Newbie Poster

Re: print to USB from Qbasic

 
0
  #9
Jun 7th, 2008
Originally Posted by RWGBob View Post
SHELL "C:\PATH\WORDPAD.EXE"

That's all there is to it.
That's not enough. This way all the printer control codes embedded in the text would end up on paper.
You should create an RTF file for Wordpad instead of a TXT, and translate all the Bold, Condensed and other control codes sent by the Basic program into the corresponding RTF commands.
Regards,
Davide
Reply With Quote