Question

Locked

XP DOS Printing

By majkkr ·
Is WinXP support DOS Printing. If not, How Can I Print from DOS?. Give me hints..
Ok Thanks

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

XP DOS Printing

XP DOS Printing

In order to print from DOS in an offline environment like the stores, you will need to do a couple of things.

1) Install the Microsoft Loopback Adapter
a) In Control Panel, double click on Add Hardware.
b) Click Next
c) When the scan finishes, select "Yes, I have already connected the hardware"
d) Click Next
e) Scroll to the bottom of the list and select "Add a new hardware device"
Click Next
f) Select "Install the hardware that I manually select from a list (Advanced)"
g) Click Next
h) Select "Network Adapters"
i) Click Next
j) Select "Microsoft" under the Manufacturer list.
k) Select "Microsoft Loopback Adapter" in the Network Adapter list.
l) Click Next
m) Click Next
n) Click Finish

2) Configure the Adapter
a) The loopback adapter is a virtual network adapter and can be configured the same as a regular network card.
b) Set the adapter to have a static IP address such as 192.168.1.1/ 255.255.255.0

3) Share the printer.
a) I recommend you use a share name that you will remember. I used ?Printer? in the new machines that are already deployed.

4) Capture the printer port.
a) NET USE LPT1: \\[Computer Name]\Printer /PERSISTENT:YES
............................................................................................

Windows 95 and above users

To print information from MS-DOS to the printer the '> LPTx' command needs to be used after the command typed. This tells the computer to reroute all information to the appropriate LPT port, x represent the number. An example and most commonly used command is:
DIR > LPT1
This command tells the computer to print a directory listing, however, instead of printing it to the screen, send it to the printer which is located on LPT1.
This command can also be used to print files by using the type command, for example:
TYPE FILE.TXT > LPT1
If, however, multiple files need to be printed, using the copy command can also be used. Below is an example:
COPY /B *.TXT LPT1
The above example will copy all txt or text files in the current directory to the lpt1 port.
When using the above example, it is important to realize that this will only print ASCII files and not BINARY or Encrypted files. Meaning that only text files will print using this method; attempting to print a Microsoft Word, Excel, Works, Word Perfect or any similar program that requires a program will not work.
Note: When using the > LPTx command in MS-DOS, because the printer will not be sent a page feed command, the printer may not eject the paper from the printer. To eject the paper manually, use the button for FF (form feed) or page feed to eject your paper. If you have a Dot Matrix printer, use the hand wheel to manually eject the paper.

Please post back if you have any more problems or questions.

Back to Peripheral Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums