<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GDS Computer Services &#187; printing</title>
	<atom:link href="http://gdscomp.com/tag/printing/feed/" rel="self" type="application/rss+xml" />
	<link>http://gdscomp.com</link>
	<description>PC Tips and Tricks Blog, Free WordPress Themes and More...</description>
	<lastBuildDate>Mon, 06 Feb 2012 02:24:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Network Printing from DOS programs</title>
		<link>http://gdscomp.com/2009/01/network-printing-from-dos-programs/</link>
		<comments>http://gdscomp.com/2009/01/network-printing-from-dos-programs/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 01:32:25 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[DOS]]></category>
		<category><![CDATA[printing]]></category>

		<guid isPermaLink="false">http://gdscomp.com/?p=293</guid>
		<description><![CDATA[ There are still old DOS based programs being run today on many computers. Mostly older retail systems or custom systems that were created many years ago and they just keep running. Here&#8217;s some info on network printing in a DOS enviroment with Win XP or Windows 2000. Printing from DOS Programs under Windows XP or Windows [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:right;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fgdscomp.com%2F2009%2F01%2Fnetwork-printing-from-dos-programs%2F' data-shr_title='Network+Printing+from+DOS+programs'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p> There are still old <strong>DOS based</strong> programs being run today on many computers. Mostly older retail systems or custom systems that were created many years ago and they just keep running. Here&#8217;s some info on network printing in a DOS enviroment with Win XP or Windows 2000.</p>
<h4>Printing from DOS Programs under Windows XP or Windows 2000</h4>
<p><img class="alignleft size-full wp-image-303" style="margin: 1px 11px; border: 0px;" title="dos" src="http://gdscomp.com/wp-content/uploads/2009/01/dos.jpg" alt="dos" width="250" height="188" />In Windows 9x, there was a button in the printer properties to &#8220;capture printer port&#8221;. Windows 2000 and XP don&#8217;t have this button, so to print from a program running a Command Prompt window or an emulated DOS environment you may have to use a subterfuge. There are three cases:</p>
<p><strong>- The printer is a Local Printer and the print device is connected directly to a parallel port (e.g. LPT1).</strong></p>
<p>In this case, you should not have to anything to be able to print from a Command Prompt, from an emulated DOS prompt (command.com) or a DOS (16 bit) program.</p>
<p><strong>- The printer is a Local Printer and the print device is connected to a USB or some other kind of port (e.g. a Standard TCP/IP port).</strong></p>
<p>In this case, you need to either:</p>
<p>pool the port the printer is on with the LPT1 port</p>
<p>or</p>
<p>create a share for the printer and map the printer to an emulated local port that DOS knows about (e.g. LPT1). Do steps 1 through 7 below</p>
<p><span id="more-293"></span></p>
<p><strong>- The printer is a Network Printer or is a Local Printer on a port with a UNC name (see When installing Additional Drivers doesn&#8217;t work).</strong></p>
<p>In this case, map the printer to an emulated local port that DOS know about (e.g. LPT1). Do only steps 6 through 7 below.</p>
<p>If your computer is running Windows XP and you are not an administrator, you may not be able to map the printer to LPT1. In this case, if your DOS program allows you to specify printing to LPT2, do steps 6 through 7 and use lpt2 instead of lpt1 in step 7. If your DOS program will only print to LPT1, ask your administrator or support staff to implement the devcon work around described in the second bullet in the Resolution section of the article at http://support.microsoft.com/kb/313644.</p>
<p>Here&#8217;s the detailed steps:</p>
<p>(Create a share for the local printer.)</p>
<p>Open the printer&#8217;s Property Page (right click, properties)<br />
Select the Sharing tab<br />
Select the Share this printer radio button<br />
In the Share name: box, key the name you want to use as the printer&#8217;s share name. The default is the same as the printer&#8217;s name, but you may want to change it so that it is short and doesn&#8217;t have any embedded spaces. This will make it easier later.<br />
Click OK</p>
<p>(Map the printer share to an emulated local port. If you also have a Local Printer on your parallel port, use a different emulated local port (e.g. LPT2). In step 7, use this other port&#8217;s name (e.g. lpt2) instead of lpt1.)</p>
<p>Open a Command Prompt (Start, (All) Programs, Accessories)</p>
<p>key: <strong>net use lpt1: \\computername\printersharename /persistent:yes </strong>and press Enter</p>
<p>for computername, use the name of your computer</p>
<p>for printersharename, use the share name you keyed in step 4</p>
<p>The <strong>/persistent:yes</strong> parameter makes the mapping of the printer to the emulated lpt1 port persistent, so you don&#8217;t have to issue this command every time you logon.</p>
<div class="shr-publisher-293"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://gdscomp.com/2009/01/network-printing-from-dos-programs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

