中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 19:34
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS媒体世界 & 网络技术 (多媒体室) » Seeking help with DOS and Windows XP parallel port communication
Printable Version  6,078 / 17
Floor1 a100 Posted 2006-02-15 20:44
初级用户 Posts 19 Credits 42
Windows XP uses a parallel port protection mechanism, making many software that directly operate on the parallel port and serial port at a loss. I want to find a software that can transfer files between DOS and Windows XP through the parallel port, preferably using the high-speed modes EPP and ECP of the parallel port. I tried nc and it didn't work. Please ask the experts for guidance.
Floor2 220110 Posted 2006-02-15 22:23
荣誉版主 Posts 313 Credits 718
What do you mean by "nc"? The "sabre" in the field of network security?
Floor3 a100 Posted 2006-02-16 19:09
初级用户 Posts 19 Credits 42
Ancient DOS parallel port transmission software, Norton Commander (referred to as NC)
Floor4 Wengier Posted 2006-02-17 12:45
系统支持 Posts 10,521 Credits 27,736
It is suggested to try FastLynx 3.x. In addition to the Windows version, this software comes with a set of DOS slaves, which can be connected to almost all versions of Windows.
Floor5 DOSforever Posted 2006-02-17 17:25
金牌会员 Posts 2,239 Credits 4,639
By the way, in Windows 2000/XP, there doesn't seem to be a function similar to interlnk intersvr under DOS and the direct cable connection under Win98?
Floor6 a100 Posted 2006-02-18 15:19
初级用户 Posts 19 Credits 42
Thanks to the brother on the fourth floor, I'll give it a try...
I downloaded FastLynx V3.3 Build 329 and saw there is a DOS folder inside, and there is a "SL" program, which is estimated to be able to communicate with DOS, and there are also parallel port and serial port options

[ Last edited by a100 on 2006-2-18 at 15:38 ]
Floor7 a100 Posted 2006-02-20 11:00
初级用户 Posts 19 Credits 42
Windows XP provides the "Direct Cable Connection" function.

Method: Network Neighborhood ~ Create a new connection ~ Set up advanced connection ~
In the advanced connection options, there are 1. Accept an incoming connection 2. Directly connect to another computer. They all connect through serial ports and parallel ports, which is "Direct Cable Connection"!!! But whether it can communicate with interlnk intersvr under DOS is unknown.
Floor8 a1001 Posted 2006-03-19 10:33
新手上路 Posts 5 Credits 14
My a100 can't log in, it's painful. Just registered a new one, moderator, please help. I was on a business trip for a while and didn't come to visit you all, so sorry hehe.

I took some time to translate part of the instruction file of FastLynx V3.3 and put it up for you all to see.

--- DOS/Win 3.x connectivity: the DOS slave ---
--- Connection of DOS/Win 3.x: DOS client ---

For connectivity with DOS/Win 3.x systems (serial and parallel), a DOS server program (sl.exe) is included. It is installed in the "dos" subdirectory under the FastLynx directory that you specified at installation time (usually "C:\Program Files\FastLynx") for the other FastLynx program files. If you need to communicate with a DOS or Windows 3.x system, copy the sl.exe file from the installation directory onto the DOS/Win 3.x computer.
To connect with DOS/Win 3.x systems (serial and parallel), a DOS server program (sl.exe) is included. It is installed in the "dos" subdirectory under the FastLynx directory you specified during installation (usually "C:\Program Files\FastLynx") along with other FastLynx program files. If you need to communicate with a DOS or Windows 3.x system, copy the sl.exe file from the installation directory to the DOS/Win 3.x computer.

The FastLynx 3.3 DOS client supports serial and parallel connections with FastLynx 3.3 versions running on Windows 95/98/ME or NT/2000/XP. All user interaction must occur from the Windows client. The client is intended to run on DOS or Windows 3.x systems to provide a way of transferring files with a FastLynx 3 client on Win 95/98/ME or NT/2000/XP. The client will also run on a Windows 95/98 system, but since it doesn't support long file names, this is not a recommended approach. When communicating between two Win 95/98/ME or NT/2000/XP systems, run the Windows program (fx.exe) on both computers.
The FastLynx 3.3 DOS client supports serial and parallel connections with FastLynx 3.3 versions running on Windows 95/98/ME or NT/2000/XP. All user interaction must occur from the Windows client. The client running on DOS or Windows 3.x systems provides a way to transfer files with a FastLynx 3 client on Win 95/98/ME or NT/2000/XP. The client can also run on a Windows 95/98 system, but since it doesn't support long file names, this is not a recommended method. When communicating between two Win 95/98/ME or NT/2000/XP systems, run the Windows program (fx.exe) on both computers.

To start the client, type "sl" from a DOS prompt, and press the Esc key to exit when you are finished. By default, the client scans all available serial and parallel ports. To limit its port scan, type the names of the desired ports on the command line. For example, "sl COM1" would scan only COM1, whereas "sl COM2 LPT1" would scan COM2 and LPT1.
To start the client, type "sl" at the DOS prompt, and press the Esc key to exit when you are done. By default, the client scans all available serial and parallel ports. To limit its port scan, type the names of the desired ports on the command line. For example, "sl COM1" will only scan COM1, while "sl COM2 LPT1" will scan COM2 and LPT1.

The client assumes default IRQ assignments. You can override the default assignment by typing an IRQ number after the port name (separated by a colon) on the command line. For example, the default IRQ number for COM1 is IRQ 4. If your computer is configured to use IRQ 5, for example, you can specify this to the client by typing the following at the command line:
sl COM1:5
The client uses default IRQ assignments. You can override the default assignment by typing an IRQ number after the port name (separated by a colon) on the command line. For example, the default IRQ number for COM1 is IRQ 4. If your computer is configured to use IRQ 5, for example, you can specify this to the client by typing the following at the command line:
sl COM1:5

[ Last edited by a1001 on 2006-3-19 at 11:45 ]
Floor9 zjnbwdj Posted 2006-03-23 11:44
中级用户 Posts 137 Credits 300
Do I need to make a crossover cable to transfer files? Could you please tell me how to make this cable and what the interfaces look like?
Floor10 a1001 Posted 2006-03-29 20:06
新手上路 Posts 5 Credits 14
Making Serial Communication Cables
When making a 9-pin serial cable, you need 2 9-pin female connectors and a 1.5-meter long flat cable with at least 7 cores. The pin connections are as follows.

For the connection between 9-pin female connector - 9-pin female connector: 2-3, 3-2, 4-6, 5-5, 6-4, 7-8, 8-7.

For the connection between 9-pin female connector - 25-pin male connector: 2-2, 3-3, 4-6, 5-7, 6-20, 7-5, 8-4.

For the connection between 25-pin male connector - 25-pin male connector: 2-3, 3-2, 4-5, 5-4, 6-20, 7-7, 20-6.

Making Parallel Communication Cables
The parallel port (LPT port) on a computer is a 25-pin interface, and you need to use 2 25-pin male connectors for connection. The parallel port is much faster than the serial port, and the parallel port method should be preferred when there is a large amount of communication. The connection method for the parallel ports of two computers is:

2-15, 3-13, 4-12, 5-10, 6-11, 10-5, 11-6, 12-4, 13-3, 15-2, 25-25.
Floor11 a100 Posted 2006-11-20 03:11
初级用户 Posts 19 Credits 42
Let's see if everyone has any other methods. Here, I can only boot to a pure DOS environment by using a virtual DOS and virtual floppy disk tools, and then use nc or ll5 to transfer data, which is very inconvenient.
Floor12 a100 Posted 2006-11-21 03:02
初级用户 Posts 19 Credits 42
Sharing Resources via Serial and Parallel Ports

The best way to communicate between two computers is, of course, to set up a local area network. If there is no network established and you want to carry out online communication, and the distance is not too far (for example, not more than 20 meters), you can consider directly connecting the two machines through the parallel port or RS-232 serial port of the computer to realize communication, data and file transfer, and sharing of software and hardware resources. Using port connection for data transfer between two computers does not require a network card, a modem, or a floppy disk as a medium. It is a simple and easy method for communication and data transfer. What is especially commendable is that it can realize the sharing of software and hardware resources between the two computers, such as sharing hard disks, CD-ROM drives, and printers.

To carry out point-to-point communication between two microcomputers, hardware is needed to connect the parallel port or serial port with a connection cable, and then it can be realized with the support of communication software. This article comprehensively introduces the implementation technology of point-to-point communication without a network card between two microcomputers from three aspects: connection method of signal lines, production of connection cables, and communication software.

I. Connection Method of Signal Lines

Microcomputers usually have one parallel port and two standard RS-232 serial ports. We can choose any one of these ports for communication between the two machines. If possible, parallel port communication should be used as much as possible because the transmission rate of the parallel port is much higher than that of the serial port.

Serial port 1 (COM1) is mostly 9-pin, while serial port 2 (COM2) and the parallel port are 25-pin. The functions of the pins of each port are different, and the connection methods are also different.
1. Serial Port Communication
Only three wires need to be connected for communication between serial ports, namely the receiving and transmitting data lines and the information ground wire. When connecting, for one machine, it is transmitting data, and for the other machine, it is receiving data, so the receiving and transmitting data lines need to be cross-connected. There are the following three specific connection methods for communication between serial ports.
(1) 9-pin to 9-pin serial port
A machine B machine
2●←→●3
3●←→●2
5●←→●5
(2) 9-pin (A machine) to 25-pin (B machine) serial port
A machine B machine
2●←→●3
3●←→●2
5●←→●7
(3) 25-pin serial port to 25-pin serial port
A machine B machine
2●←→●3
3●←→●2
7●←→●7
2. Parallel Port Communication
There are only 5 input lines such as pins 10, 11, 12, 13, 15 on the parallel port. Therefore, when carrying out double-machine connection communication, only 5 output lines can be used. Therefore, the connection method between the parallel ports of the two machines is as follows.

The numbers listed above are the pin numbers of the connectors, and these pin numbers are usually marked on the serial and parallel ports. Since the parallel port uses 5 pairs of lines for data transmission, the data transmission speed is much faster than that of serial port communication. Therefore, the parallel port should be used as much as possible, especially when a large amount of data needs to be transmitted between the two machines.

II. Production of Connection Cables

The connection cables between the two machines can be purchased at computer accessory stores. When purchasing, it is necessary to clarify whether the connectors on both sides are pins or holes. Usually, a 25-pin to 25-pin connector is used for connecting two parallel ports, and a hole-to-hole connector is used for connecting two serial ports.

Connection cables can also be made by oneself. No matter whether the sockets on the computer are pins or holes, it is relatively difficult to directly connect with wires, resulting in poor contact at the interface. Here, two methods are recommended: making a serial port connection cable using the connection cable of a waste mouse, and making a parallel port connection cable using the waste printer cable.
1. Production of 9-pin Serial Port Connection Cable
The mouse only uses 4 of the 9 pins of the serial port, namely pins 2, 3, 5, and 7. When using serial port communication, only pins 2, 3, and 5 need to be connected. The mouse is a device that is easy to damage, and the main damage part is the mouse head. Its connection cable and connector generally do not break. Cut off the connection cables of two scrapped mice, and it can be found that there are 4 wires under the protective sheath, with colors brown, yellow, green, and white, corresponding to pins 2, 3, 5, and 7 respectively. According to the connection method introduced earlier, cross-connect the green wires in the two mouse connection cables, and cross-connect the brown and yellow wires (that is, the brown wire on the first side is connected to the yellow wire on the second side, and the yellow wire on the first side is connected to the brown wire on the second side), and the white wire is not used. After the wires are connected, tape the interface to make a 9-hole to 9-hole serial port connection cable. Using the waste mouse connection cable to make the serial port connection cable is convenient, practical, time-saving, and economical, and it is a good method of waste utilization.
2. Production of Parallel Port Connection Cable
It is also convenient to make a parallel port connection cable using a printer cable. First, disassemble both ends of the cable, and solder down all the wires at the end connected to the printer; then, according to the pin numbers and wire colors at the other end of the cable, solder the corresponding colored wires to the corresponding pins of a 25-pin D-type plug according to the parallel port connection method introduced earlier; finally, solder the ground wire connecting the chassis to the D-type plug. In this way, a 25-pin parallel port to parallel port connection cable is made.
3. Production of 25-pin to 25-pin Serial Port Connection Cable
To produce a 25-pin to 25-pin serial port connection cable, two 25-hole plugs are needed, and a waste mouse connection cable is also needed. According to the wire colors and the connection method introduced earlier, solder the wires at both ends to the corresponding pins.

III. Communication Software

After inserting both ends of the connection cable into the corresponding serial ports of the two machines, data communication cannot be carried out immediately, and support from communication software is also required. There are many software that can realize direct communication between two machines, and the following are commonly used ones, which can be selected according to the actual situation.
1. Direct Cable Connection of Windows 95
The "Direct Cable Connection" function of Windows 95 allows using a cable to connect the parallel port or serial port of two machines to realize online communication. The process of establishing the connection and realizing communication is as follows.
(1) Install Direct Cable Connection on the server
① In the Windows 95 desktop environment, through "My Computer" → "Control Panel" → "Network", select "Dial-up Network Adapter", and in the "Basic Network Logon Type (L)" window, select "Microsoft Network Client".
② Through "My Computer" → "Control Panel" → "Add/Remove Programs" → "Install Windows" → "Communication" → "Direct Cable Connection", install the "Direct Cable Connection" program.
③ Through "My Computer" → "Control Panel" → "Network" → "File and Print Sharing", determine the sharing permissions. There are two options: "Can provide others with access to my files" and "Can let others print to my printer".
④ Through "My Computer", right-click any drive letter in this window, select "Sharing", that is, enter the sharing level setting window. In this window, the sharing level and password can be set. If other drives are to be shared, right-click other drive letters in the "My Computer" window and set the sharing level and password. The same method can be used to set shared folders.
⑤ Through "Start" → "Programs" → "Accessories" → "Direct Cable Connection", run the Direct Cable Connection program, set it as "Host", and select COM1 as the connection port.
In this way, a server providing shared resources is set up. In the future, when connecting, if no modification is made, just run the "Direct Cable Connection" program. If the connection port needs to be changed, the server is changed to a client, or the shared resources are modified, the corresponding settings need to be modified.
(2) Install Direct Cable Connection on the client
The method of installing the Direct Cable Connection program on the client is the same as that on the server. After the Direct Cable Connection program is installed on the client, run it, set it as "Client", and select COM1 as the connection port. In the future, just run the Direct Cable Connection program directly, and no more settings are needed unless the settings need to be modified.
(3) Advantages and disadvantages
By running the Direct Cable Connection program on the server and the client respectively, the connection between the server and the client can be established. If there is a password, the password verification will be carried out during the connection. After the connection is established, the client can access the shared resources of the server through "Network Neighborhood" on the Windows 95 desktop.
The main advantages of using the Direct Cable Connection program of Windows 95 to connect two microcomputers and realize communication are: ① After the connection is established, the client can use the shared resources provided by the server, and the client and the server can run independently; ② If the connected server has been on the local area network, the client can also access all online resources through the server; ③ All resources on the server can be shared, such as CD-ROM drives, network drives, etc.
The only shortcoming of using the Direct Cable Connection program of Windows 95 to connect two microcomputers for communication is that the requirements for the machines are relatively high, because both the client and the server need to install Windows 95/98 for connection, and some low-end machines such as those below 386 cannot install and run Windows 95/98.
2. DRIVEMAP of PCTools 9.0
PCTools 9.0 provides a relatively practical and convenient double-machine online communication software DRIVEMAP, which can connect two computers through a serial port or a parallel port, and use an empty drive letter of the local machine to map a physical drive of another machine. We call the machine that uses a drive letter to map a certain drive of another machine the server, and the machine whose drive is mapped the client. The method of carrying out online communication through DRIVEMAP is as follows.
(1) First, run DRIVEMAP on the client.
At the system prompt of the client, type DRIVEMAP (assuming that the file is in the current directory or the备查 directory). If it is the first time to run DRIVEMAP, the installation window of DRIVEMAP will appear, and it will require entering the user name and password. The user name must be entered to identify different microcomputers connected. The password item is optional, and just press the Enter key if no password is wanted. Then select Next to enter the next-level connection device selection menu, select the COM1 serial port. Then select OK to enter the device redirection selection menu. If it is not the first time to run DRIVEMAP, directly enter the device redirection selection menu. Press x or Esc key to exit the DRIVEMAP installation, and the connection preparation work of the client is done.
(2) Run DRIVEMAP on the server, and the screen display and operation are the same as the client installing DRIVEMAP. In the listed all used drives of the local machine and the unused but available drive letters, select a drive letter for mapping. If there is no available empty drive letter in the system, the "LASTDRIVER=" statement in the CONFIG.SYS file needs to be modified to make there be an available empty drive letter in the system. Move the DRIVEMAP operation bar to the empty drive letter mark (assuming it is F:), press Enter. Select the connection port COM1 for online use and press Enter, then determine which drive of the other machine is connected with the local F drive letter, select and press the O key to return to the previous window, then press the Esc (or x) key to exit the DRIVEMAP interface. After that, the two machines can communicate. Moreover, the two machines can operate independently without affecting each other.
(3) Advantages and disadvantages
Using DRIVEMAP in PCTools 9.0 as the communication software between the two machines has many outstanding advantages: ① The server uses a drive of the client (including the CD-ROM drive) as its own drive. If the environment of the server (memory size, BIOS version, graphics card and monitor, etc.) permits, all executable files on the mapped drive can run; ② After the two machines establish the connection, they can run independently; ③ CD-ROM can be mapped.
The shortcoming of DRIVEMAP is that it can only map one drive of the client. If another drive of the client is to be mapped, the mapped drive must be exited first, and then the drive to be mapped is reselected. In addition, if the connected port needs to be changed, after the change is made, the system must be restarted to take effect.
3. Link of Norton Commander
The Link of Norton Commander also provides the function of online communication, and the specific operation is as follows.
(1) Run NC on the slave machine
At the system prompt, run NC, press F9 key to enter the NC main menu, select the Link item in Left or Right, select COM1, then select Slave, move the cursor to Link and press Enter.
(2) Run NC on the host machine
After running NC on the host machine, also press F9 key to enter the NC main menu, select the Link item in Left or Right, select COM1, then select Master, move the cursor to Link and press Enter. In this way, the two machines are connected, and the data on each drive of the slave machine can be accessed through the left (or right) panel on the host machine.
(3) Advantages and disadvantages
Using NC as the communication software between the two machines, the advantage is that the data on each drive of the slave machine can be accessed, including the CD-ROM. But there are many shortcomings: ① During the communication, the slave machine cannot do any operation; ② On the host machine, only the operation commands provided on the NC panel can be used to operate the data in the mapped drive of the slave machine, and the function is very limited; ③ The executable files on the mapped disk cannot run, and the text files on the mapped disk cannot be edited.
4. INTERLNK Software of DOS
DOS versions above 6.0 provide a program for realizing resource sharing between computers through the parallel port or serial port of the computer, which is INTERLNK and INTERSVR. The former runs on the client, and the latter runs on the server. Whether on the client or the server, the command line must be added to the CONFIG.SYS file: DEVICE=C:\DOS\INTERLNK.EXE. The steps for the client and the server to establish the connection are as follows.
(1) At the system prompt of the machine used as the server, type the INTERSVR command.
(2) Under the condition that the server runs INTERSVR, at the system prompt of the machine used as the client, type the INTERLNK command, and the screen displays the mapping relationship between the empty drive letter of the local machine (client) and the actual drive of the other machine (server). After that, the actual drive of the server can be operated with the empty drive letter of the client.
(3) Advantages and disadvantages
Using the INTERLNK software of DOS to connect and communicate between the two machines, the outstanding advantage is that multiple drive letters can be used on the client to map multiple drives on the server, and the connection port does not need to be set, and INTERLNK will automatically identify the connected port. The shortcomings are: ① During the online period, the server cannot do any other work; ② Network drives and CD-ROM cannot be mapped.
Floor13 datelee Posted 2006-12-05 03:53
新手上路 Posts 3 Credits 8
Floor14 sdbbsdbb Posted 2006-12-09 10:54
初级用户 Posts 43 Credits 97
What the person above said about serial port and parallel port communication cables has been both made and bought, but the result is just one word—bad! The key is the speed. With a self-made serial port cable and the communication software under PCTOOLS, it can be recognized, but as long as you transmit files over 100K, it's simply a torture (don't say the speed can be adjusted; it has already been adjusted to the highest value—115KBPS)
Floor15 zjnbwdj Posted 2006-12-13 11:34
中级用户 Posts 137 Credits 300
I once tried to use LL5 + data cable to connect two computers to copy files. After enabling SMARTDRV under DOS, it felt that the speed was also okay. But it seems that it can't work under XP.
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023