DOS 2 USB
Bagaimana nak guna printer USB untuk mencetak dokumen DOS?
Sila pilih dan laksanakan satu daripada langkah berikut:
Sila pilih dan laksanakan satu daripada langkah berikut:
A. Lancarkan Command Prompt;
1. Click Start Pearl -> Select Start Search ->
type cmd
2. Right-click cmd -> Select Copy
3. Navigate to a new location (Desktop, Documents…etc), Right-click Select Paste
4. Right-click on the new copy
of cmd.exe
5. Select Properties
6. Select the Compatibility tab
7. Click Run this program in compatibility
mode for:, select Windows XP
8. Click OK
9. Right-click on the cmd.exe file and chose Run As Administrator if the compatibility issue is dealing
with access permissions. This may pose as a security risk however; proceed at
your own risk.
10. Test
the program for compatibility.
B. Install printer driver untuk kali kedua:
Step one is to install the printer as you normally would - making sure you follow the instructions provided, of course. Once that's done, you're set for Windows printing. Go to control panel and open your printers, then right-click on the newly installed one and choose properties from the context menu.
Once the printer properties are up, click the ports tab and make note of which port has the check mark in it. You'll need that information in just a minute.
Close that window, and choose to add a new printer (the option to do so should be on the file menu, or you may see an icon). Click next to start the process. On the second screen, select local printer but take the check out of automatically detect and install.
On the next screen select the appropriate port -- you didn't forget it already, did you? Click next, then choose the correct manufacturer (HP, Epson, Canon, etc.) and model for your printer. On the following screen, name the printer something simple -- like DOS. Click next, and then click share name to make your printer network accessible.
Give it a nice, easy share name -- like DOS (what the heck). Click next twice, choose no on the test page screen, click next, and then click finish. Now right-click your DOS printer and choose properties. Click the advanced tab and then click the print processor button. Change the selection to text, then click ok twice.
Now, find the name of your computer. Right-click My Computer and choose properties. Vista and WIndows 7 will show your computer name at the bottom of the page that appears. In Windows XP, click the computer name tab.
Now for the DOS printing magic. Go to start -> run (or press windows + r) and enter CMD in the box. Click ok to open a dos prompt. Type the following command:
Step one is to install the printer as you normally would - making sure you follow the instructions provided, of course. Once that's done, you're set for Windows printing. Go to control panel and open your printers, then right-click on the newly installed one and choose properties from the context menu.
Once the printer properties are up, click the ports tab and make note of which port has the check mark in it. You'll need that information in just a minute.
Close that window, and choose to add a new printer (the option to do so should be on the file menu, or you may see an icon). Click next to start the process. On the second screen, select local printer but take the check out of automatically detect and install.
On the next screen select the appropriate port -- you didn't forget it already, did you? Click next, then choose the correct manufacturer (HP, Epson, Canon, etc.) and model for your printer. On the following screen, name the printer something simple -- like DOS. Click next, and then click share name to make your printer network accessible.
Give it a nice, easy share name -- like DOS (what the heck). Click next twice, choose no on the test page screen, click next, and then click finish. Now right-click your DOS printer and choose properties. Click the advanced tab and then click the print processor button. Change the selection to text, then click ok twice.
Now, find the name of your computer. Right-click My Computer and choose properties. Vista and WIndows 7 will show your computer name at the bottom of the page that appears. In Windows XP, click the computer name tab.
Now for the DOS printing magic. Go to start -> run (or press windows + r) and enter CMD in the box. Click ok to open a dos prompt. Type the following command:
net use LPT1
\\[computer-name]\DOS /persistent:YES [enter]
Obviously, if you chose a share name other than DOS type that
instead. Windows should respond with an a-ok, and you're likely good to go!
Unless your machine isn't networked.
C. Share network printer untuk berfungsi dalam DOS
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
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
* sama seperti B
bersambung...
by.. kings