Click to See Complete Forum and Search --> : Redirect from LPT1 to network fails
Lunatic3
Jun 26th, 2003, 07:40 AM
I am using a shared HP LaserJet 1200 on a win98 machine and tried to connect to it from WinXp. So I used this command
net use lpt1 \\computer\printer password /persistent:yes
and it works fine until the next restart.
When you install HP LaserJet 1200 on a Win2k or XP locally it doesnt use LPT1 but DOT4 port. Should I map to this port?
Lunatic3
Jun 28th, 2003, 06:19 AM
No idea?
Sastraxi
Jun 28th, 2003, 01:31 PM
Why don't you just add that command to your startup scripts?
Lunatic3
Jun 28th, 2003, 04:33 PM
I can do that, but /Persistent:Yes should keep it persistant, actually i does, after each restart you still have that port mapped but sending prints on that port will not work.
Admiral Michael
Jun 29th, 2003, 11:32 PM
Why not go into Control Panel >Printers and right click on the printer you want to share and select Sharing...?
Lunatic3
Jun 30th, 2003, 12:00 AM
Admiral , please read the post a little more carefully.
Admiral Michael
Jul 16th, 2003, 10:28 AM
Why not just do what Sastraxi suggested and add this script on startup? And why are you doing it this way instead of the way I suggested before?
Lunatic3
Jul 16th, 2003, 10:41 AM
Sastraxi's way will do, but i want to know the cause of the problem., and about your method: I have shared the printer which is connected to a win 98 machine. So what are you talking about?
Admiral Michael
Jul 16th, 2003, 05:36 PM
I meant why do u need to use the script.
Admiral Michael
Jul 31st, 2003, 11:14 PM
Anybody going to reply?
mastermind94
Aug 5th, 2003, 07:35 AM
instead of going with Net Use .... and the persistent option, why not just map it thru windows and tell windows that u might print from MS-DOS apps so it will be mapped on LPT1 not \\...\printer
DOT4 Port is something common to shared HP printers me thinks but, why not trying it?
Admiral Michael
Aug 8th, 2003, 11:19 PM
Good Point mastermind94!
Lunatic3
Aug 9th, 2003, 12:06 AM
Originally posted by mastermind94
instead of going with Net Use .... and the persistent option, why not just map it thru windows and tell windows that u might print from MS-DOS apps so it will be mapped on LPT1 not \\...\printer
DOT4 Port is something common to shared HP printers me thinks but, why not trying it? You can go through windows and map, but as the shared printer on the windows 98 machine is password protected you can not print on it and you have to provide the password using net use.
mastermind94
Aug 9th, 2003, 08:39 AM
lil upgrade to 2k :p
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.