Page 1 of 1

Printing Program Output

Posted: Fri May 04, 2012 2:03 am
by jsphilb
I have a program that has a tabular output. It could run several pages based on the input parameters. How can I get a paper copy of the output, since the Print command only shows the listing on my computer monitor. Thanks in advance.

Re: Printing Program Output

Posted: Fri Mar 29, 2019 9:10 am
by 970037201
The thing you want to use.... Replace "PRINT" with "LPRINT".... works for me! It sends all the output to a serial, Ethernet, wireless, broadband, or USB printer! :mrgreen:

Re: Printing Program Output

Posted: Wed Apr 03, 2019 2:24 pm
by Jack002
Output to a txt file and format it how you like and print that. That's what I'd do

Re: Printing Program Output

Posted: Fri Apr 05, 2019 7:34 am
by burger2227
Print a text file directly from the command prompt using the default printer by inserting /p prior to the file's name:

Code: Select all

filename$ = "C:\Documents\textfile.txt"
SHELL "Notepad /p "  + filename$.
https://www.qb64.org/wiki/SHELL