PDA

View Full Version : Tricking XP into thinking its online or networked


Psycho_Soldier
08-31-2007, 04:47 PM
The reason why I need to do this is because I need to use a USB Printer in a DOS program.

I use this command

net use lpt1 \\Computername\Printername /savecred persistent:yes

I think thats how it went.

Anyway, that command only works when I am online or on a network

Basically, I can't print from the DOS program unless I am online, even though it doesn't access the internet.

Any solutions?

Thanks

Psycho_Soldier
09-05-2007, 01:23 PM
Bring
Up
My
Post

Demon10000
09-05-2007, 02:12 PM
Have you just tried sharing the printer and connecting to it with that command? It should work fine.

dbwillis
09-05-2007, 06:36 PM
Why not try one of these methods :>

net use lpt1 \\Localhost\Printername /savecred persistent:yes
net use lpt1 \\127.0.0.1\Printername /savecred persistent:yes

Psycho_Soldier
09-05-2007, 07:02 PM
I tried sharing it before I made this post, infact thats the only way it will work with the internet or network connection.

I havn't tried this yet though,

net use lpt1 \\Localhost\Printername /savecred persistent:yes
net use lpt1 \\127.0.0.1\Printername /savecred persistent:yes

I'll let you know how it goes.

Jay_oasis
09-06-2007, 07:20 AM
if you still can't get it to work just get a cheap switch and plug your network card into it via RJ45 / CAT5

atomiser
09-06-2007, 07:50 AM
this is what you need: http://www.tikkiweb.net/loopback