I have a TVS dotmatrix printer and its connectivity is USB. I used the foxpro based programe. I am not able to take the print in this printer. please help me.
Try this. You can share the printer and then run a command like: net use lpt1: \\servername\printername
I think you can go one step further even and add /persistent to the end to make it more permenant.
This will allow your program to send a print job to lpt1.
If you need further explanation of this let me know. Good Luck
Comments:
Mar 21, 2009
- fox pro is a dos based application. the net use command should work. Just in case my instructions were not clear enough. Here is a link to microsoft's instructions http://support.microsoft.com/kb/314499
Good Luck
Mar 21, 2009
- Also if you want to make sure the command was done correctly you can open a command window and type "net use" it should show your printer mapped to lpt1.
Also another way to test if the port is working correctly you can create a generic test.txt file in drive c:\ with some text like this is a test.
Then from a dos command window type the following command
print /d:lpt1 c:\test.txt
If it is done correctly your test doc will print.
Mar 22, 2009
- This might work
On the web you can find utilities that can capture Dos applications output and transform it to other format or spool it to Windows printers, like the following: