PureBytes Links
Trading Reference Links
|
At 6:24 PM -0400 4/28/99, Matt Carroll wrote:
>Is there anyway to save the contents of the print log to an ascii file?
You can arrange it to print to a file as follows:
You need to add to your "print setup" some simple character printer driver.
I use the Epson LQ-200. Then set this to print to a file. I can then tell
TradeStation to "Print" to that printer (using the "Print Setup" dialog, so
that it will send a stream of ASCII characters to a file. It asks you to
name the file. (I got this printing tip from Sam Tennis of Vista Research.)
I added a comma at both the beginning and end of each line because the
print driver adds some control characters at the beginning and end of some
lines. This allows me to just not import these "columns" of junk into
Excel. You need to set you print log to accept as many lines as you expect
under "Tools - Options - General" in TradeStation". The maximum is 750
lines. There is also a maximum number of characters in a line but I don't
recall what it is.
You can write the line to a file instead of the print log but I have found
that this is much slower.
Bob Fulks
|