title: Text printing in landscape via notepad
body: <p>I'm trying to do some <em>text-based printing</em> on Windows. My program makes use of windows' "<code>notepad /p file.txt</code>" functionality that prints a text file on the default printer.</p>
  
  <p>The problem is that you cannot say that you want to print in <strong>landscape</strong> instead of <strong>portrait</strong>. In the same way, it's not possible to print to another printer.</p>
  
  <p>Some background information on this: I'm printing out of a Tcl/Tk program (see <a href="http://wiki.tcl.tk/9846" rel="nofollow noreferrer">The Tcl'ers wiki on text printing</a>). I can print using the GDI, but for some reason this is too slow, and I want to offer text printing as a fast alternative as print to a text file is already available.</p>