Iklan

How to Print from USB Printer with DOS in Windows XP


First you have to install the printer and share the printer.

In Network environment, you could use the batch program:

NET USE /DELETE

NET USE LPT1: \\ComputerName\Printer

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

http://geekswithblogs.net/dtotzke/archive/2005/03/13/26204.aspx

Iklan

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: