The laser printer is attached to my XP system using a USB cable. The printer is 'shared'. I am trying to print a .prn file using a command line-type batch file. I have some success, and a major issue. I can print the file ok as long as my Ethernet cable is attached to my XP system. When the Ethernet cable is removed, I get an error (network disconnected) and nothing prints.
I am using two command lines:
c:\net use lpt2: \\127.0.0.1\myprinter (where myprinter is the shared printer name)
c:\copy /b *.prn lpt2:
I thought when I shared the printer, I virtually created an independent loop-back Server service that would remain instantiated even if I removed the Ethernet cable (disconnect the local network). Guess this is not the case.
What am I missing, here? How can I print to the USB laser printer without having the Ethernet cable connected?