| 1. |
Solve : Batch print .rtf files as formatted? |
|
Answer» I have a number of .rtf files in a single directory that I'd like to batch print so that the CORRECT format of the document contained within the "rtf" coding ends up on the paper. For instance, if I double-click on each they open (using wordpad) and I can then P to print each with all of the formatting included. I've tried everything I can think of to GET them to be printed from a .bat file list, but they print out all of the formatting codes along with the non-formatted text - I would assume using Notepad or some such thing to print the "text" file. Is is it possible to launch an application and then send it top-level MENU commands? I've written batch files before, but never had to do this type of thing. it seems to need a lower case p instead of the upper case P) I was surprised when I read that, because command line switches tend to be case insensitive, but I checked, and you are absolutely right. I see that when I tested it earlier on, I used a lower case p. I tried it in XP and also Windows 7. Oddly, Notepad works similarly but is equally happy with both /p and /P. I assumed Wordpad was the same, but evidently not. I note that many Web sources mistakenly show the switch for Wordpad with an uppercase P. |
|