<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'how to print (using printer) a file using MS-DOS command?' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'how to print (using printer) a file using MS-DOS command?' posted on the 'MS-DOS' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 08:35:22 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 08:35:22 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>how to print (using printer) a file using MS-DOS command?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/128172/128172/how-to-print-using-printer-a-file-using-ms-dos-command/</link>
      <description>is there any command that can print out a text-based file thru' printer?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/128172/128172/how-to-print-using-printer-a-file-using-ms-dos-command/</guid>
      <pubDate>Fri, 19 Jul 2002 07:23:46 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: how to print (using printer) a file using MS-DOS command?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/128172/128233/re-how-to-print-using-printer-a-file-using-ms-dos-command/#128233</link>
      <description>At DOS prompt:&lt;br /&gt;
copy filename.ext prn&lt;br /&gt;
&lt;br /&gt;
Or in ASM:&lt;br /&gt;
&lt;a href="http://members.tripod.com/~oldboard/assembly/file_handles.html"&gt;http://members.tripod.com/~oldboard/assembly/file_handles.html&lt;/a&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/128172/128233/re-how-to-print-using-printer-a-file-using-ms-dos-command/#128233</guid>
      <pubDate>Fri, 19 Jul 2002 13:46:34 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: how to print (using printer) a file using MS-DOS command?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/128172/128626/re-how-to-print-using-printer-a-file-using-ms-dos-command/#128626</link>
      <description>Alternative: Use "lpr"? &lt;br /&gt;
Isn't .prn the extension for spooled documents? &lt;br /&gt;
&lt;br /&gt;
: At DOS prompt:&lt;br /&gt;
: copy filename.ext prn&lt;br /&gt;
: &lt;br /&gt;
: Or in ASM:&lt;br /&gt;
: &lt;a href="http://members.tripod.com/~oldboard/assembly/file_handles.html"&gt;http://members.tripod.com/~oldboard/assembly/file_handles.html&lt;/a&gt;&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/128172/128626/re-how-to-print-using-printer-a-file-using-ms-dos-command/#128626</guid>
      <pubDate>Mon, 22 Jul 2002 12:49:29 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: how to print (using printer) a file using MS-DOS command?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/128172/128720/re-how-to-print-using-printer-a-file-using-ms-dos-command/#128720</link>
      <description>how to use the 'lpr' command? eg, i wish to print a file ( file.ext ).&lt;br /&gt;
is it " copy file.ext lpr" ?&lt;br /&gt;
&lt;br /&gt;
another question, when we should use 'prn' and what's the difference between 'prn' and 'lpr'?&lt;br /&gt;
: Alternative: Use "lpr"? &lt;br /&gt;
: Isn't .prn the extension for spooled documents? &lt;br /&gt;
: &lt;br /&gt;
: : At DOS prompt:&lt;br /&gt;
: : copy filename.ext prn&lt;br /&gt;
: : &lt;br /&gt;
: : Or in ASM:&lt;br /&gt;
: : &lt;a href="http://members.tripod.com/~oldboard/assembly/file_handles.html"&gt;http://members.tripod.com/~oldboard/assembly/file_handles.html&lt;/a&gt;&lt;br /&gt;
: : &lt;br /&gt;
:&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/128172/128720/re-how-to-print-using-printer-a-file-using-ms-dos-command/#128720</guid>
      <pubDate>Mon, 22 Jul 2002 23:02:31 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: how to print (using printer) a file using MS-DOS command?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/128172/128943/re-how-to-print-using-printer-a-file-using-ms-dos-command/#128943</link>
      <description>I wasn't using ".PRN", but instead "PRN".&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/128172/128943/re-how-to-print-using-printer-a-file-using-ms-dos-command/#128943</guid>
      <pubDate>Wed, 24 Jul 2002 04:51:21 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: how to print (using printer) a file using MS-DOS command?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/128172/131371/re-how-to-print-using-printer-a-file-using-ms-dos-command/#131371</link>
      <description>type filename.ext &amp;gt;&amp;gt; LPTx&lt;br /&gt;
&lt;br /&gt;
where x is the LPT port, like 1 or 2.&lt;br /&gt;
&lt;br /&gt;
Wraps to 80 characters, I think.&lt;br /&gt;
&lt;br /&gt;
Don't get mixed up thinking&lt;br /&gt;
&lt;br /&gt;
echo filename.ext &amp;gt;&amp;gt; LPTx&lt;br /&gt;
&lt;br /&gt;
will do it.  You'll get a page that just has filename.ext in the top left hand corner, and all the people around you will start laughing uncontrollably at your stupidity, you, who are held as a DOS god in their eyes.  I speak from experience.  :P&lt;br /&gt;
&lt;br /&gt;
filename.ext is of course your file name.  and &amp;gt;&amp;gt; is redirection, if you were curious.  &amp;gt;&amp;gt; for append, &amp;gt; for overwrite.  &amp;gt;&amp;gt; is my favorite.  i'm just goofy like that.&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------&lt;br /&gt;
I've got a plan, but I'm going to need a dead monkey, some empty liquor bottles, and a vacuum cleaner.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/128172/131371/re-how-to-print-using-printer-a-file-using-ms-dos-command/#131371</guid>
      <pubDate>Mon, 05 Aug 2002 23:37:37 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
    <item>
      <title>Re: how to print (using printer) a file using MS-DOS command?</title>
      <link>http://www.programmersheaven.com/mb/MS-DOS/128172/171876/re-how-to-print-using-printer-a-file-using-ms-dos-command/#171876</link>
      <description>The local zoo,&lt;br /&gt;
Behind Sams bar &amp;amp; grill,&lt;br /&gt;
&amp;amp; Thrifty stores,&lt;br /&gt;
&lt;br /&gt;
What's yer plan ?&lt;br /&gt;
&lt;br /&gt;
It sounds like my last plan, try full liquor bottles instead.&lt;br /&gt;
Bitdog&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: ---------------------------------------------&lt;br /&gt;
: I've got a plan, but I'm going to need a dead monkey, some empty liquor bottles, and a vacuum cleaner.&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/MS-DOS/128172/171876/re-how-to-print-using-printer-a-file-using-ms-dos-command/#171876</guid>
      <pubDate>Wed, 19 Feb 2003 18:24:03 -0700</pubDate>
      <category>MS-DOS</category>
    </item>
  </channel>
</rss>