DOS LPT1 to USB windows printer

magdy_salam

New Member
Nov 25, 2007
Dear

I have a solution for Printing From any DOS application directly to windows printer( Parallel , Serial and USB Interface )

Installation Steps
Step 1
• Download the setup program from the link :
http://www.4shared.com/file/29349032/4d7869d0/Dos2win_setup.html?dirPwdVerified=7a4c70fc
• Extract the compressed file and run setup.exe to install the software into c:\dos2win directory
• After installation, extract the attached file dos2win.zip to any directory.
• Make sure you have the directories : c:\dos2win , c:\dos2win\prtjobs and c:\dos2win\prtcomp on your drive c:
• Make sure you have a copy of wordpad.exe into the directory c:\dos2win.
• Now you can run the program c:\dos2win\dos2win.exe

Step 2

From Windows XP you will do the following :

• Under Settings/Printers add a new printer. The printer type or model is not important! We will use the printer port only, not the driver.
• Right click on the newly created printer icon. Go into Properties / Ports / Add Port / select Local Port / click New Port / Enter a port name: "C:\DOS2WIN\PRTJOBS\TEST.PRN"., click Close.
• Right click again on the printer icon. Click Sharing on the menu. Then click on Shared as. Input a network name for the printer, something like "DP1".
• Click Start then select Run and type command.com then press Enter Key
This will open the command prompt screen then type NET USE LPT1 \\MyPcName\DP1
Where MyPcName is your network computer name and DP1 is your printer's Share Name .
Later, you can insert this line in a batch file, right before calling your program.
• You can start your DOS program now, and every print gets redirected to c:\DOS2WIN\PRTJOBS\TEST.PRN.
Every printed job will open the WordPad program to view the file before printing but you can ask me to modify the software to print directly without print preview.

Please test this solution and send to me the results

This solution is not a free software it will cost you $???:):).


Waiting for your reply
Best regards

Magdy Abdrabpoh
Magdy_salam@yahoo.com
Magdy_salam@hotmail.com
 
Back
Top Bottom