I have a windows 7 laptop at work, we have a MSDOS program. I have everything working except printing. I have already tried the net use command and it dosen't work. The printer i am trying to print to has both an ip address of 192.150.150.100 and it is also hooked up to a computer with a directory of \\bikeshop-pc\brother I tried net use lpt1: \\bikeshop-pc\brother /persistent:yes the command worked however I couldn't get anything to print.

mmm Seems this is not an unusual event - judging by assorted hits out there (Skully)... and was raised here at CN a while back http://www.tomshardware.com/forum/4...
http://social.technet.microsoft.com...
http://www.sevenforums.com/general-...http://blogs.msdn.com/b/7/archive/2...
http://h30434.www3.hp.com/t5/Other-...
This is a sort useful tutorial page that may help too:
http://sourcedaddy.com/windows-7/pr...
And these each refer to an util/add-in might be "useful' to know about if all else fails?
http://social.technet.microsoft.com...
http://www.windows7download.com/win...Incidentally earlier I queried the use of the colon : in the syntax; and on the M$ KB relating to net use etc. "they" do not use the colon with the print command...?
http://support.microsoft.com/kb/314499
And - ensure suitable drivers are installed on any computer wishing to print...
You say the computer has a directory \\bikeshop-pc\brother. I take it you mean that the printer is shared with this name? Note that if the user is not an administrator and lpt1 already exists (i.e. the computer has a parallel port) then the command will fail. If you still have problems you could try:
print /d:\\bishop-pc\brother drive:\path\filename
(substitute the appropriate value for "drive\path\filename").
Some sources suggest lpt2 regardless, but certainly if lpt1 already enabled and in use Also is the colon : necessary after net use lpt1:
My memory is somewhat vague on net use overall.... But try without the colon - both with lpt1 and lpt2.
Also I think you need to logon at admin level to enable it to work; certainly to set it up.
Try the following (that works on my computer): - Install on your own laptop, if not already done, the driver for the network printer you want to use and then share the device as e.g. brother.
- Issue net use LPT1: \\%computername%\brother /persistent:YES.
The above should work. Notice however sometime the net use command is not retained across boots even if /persistent:YES is declared. More modern Win printers can accept plain text streams only from DOS, not ESC/P or PCL embedded commands for legacy Epson or HP printers.
mmm Seems this is not an unusual event - judging by assorted hits out there (Skully)... and was raised here at CN a while back http://www.tomshardware.com/forum/4...
http://social.technet.microsoft.com...
http://www.sevenforums.com/general-...http://blogs.msdn.com/b/7/archive/2...
http://h30434.www3.hp.com/t5/Other-...
This is a sort useful tutorial page that may help too:
http://sourcedaddy.com/windows-7/pr...
And these each refer to an util/add-in might be "useful' to know about if all else fails?
http://social.technet.microsoft.com...
http://www.windows7download.com/win...Incidentally earlier I queried the use of the colon : in the syntax; and on the M$ KB relating to net use etc. "they" do not use the colon with the print command...?
http://support.microsoft.com/kb/314499
And - ensure suitable drivers are installed on any computer wishing to print...
Hi again: Thank you for posting back... But it would be useful for all of us here (and anyone who may come across this post, via a future search, to know how you resolved it; what did you have to do and so on? Always nice to know for future reference...
trvlr
