|
Specific Tasks Adding a network printer for all users Install Additional Driver on older OS When installing Additional Drivers doesn't work How to clean up printer drivers Add Printer or New Hardware Found fails Printing to a Print Server Device Frequently Asked Questions
|
|
|
Printing from DOS with Windows 2000 or XP In Windows 9x, there was a button in the printer properties to "capture printer port". Windows 2000, XP, 2003, Vista and 2008 don'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:
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. 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. Here's the detailed steps:
for computername, use the name of your computer (see computer name in Glossary) for printersharename, use the share name you keyed in step 4 The /persistent:yes parameter makes the mapping of the printer to the emulated lpt1 port persistent, so you don't have to issue this command every time you logon.
Last Updated 31 Aug 2008
|
|