Here's one for the network gurus.
We run an old DOS program from within Windows XP.
Having just replaced our old laser printer with a brand spanking new one, I find myself with a printer with network card and usb port, but no parallel port.
Having purchased said beast, I have now discovered that DOS programs only know how to write to LPT1 ports, having no recognition for either a USB or ethernet connected printer!
A little research revealed a workaround in the form of:
NET USE LPT1: \\MY_SERVER\PRINTER /PERSISTENT:YES
So far so good.
My question is, how do I find out what I enter for the MY_SERVER part of the above line?
I realise that PRINTER is the share name of the printer, but the printer and PC's are connected via a Network switch, and not directly to each other.
Is MY_SERVER the name of the network switch, and if it is, how do I find out what the share name of said switch is?
Question 2:
How often do I need to run the line
NET USE LPT1: \\MY_SERVER\PRINTER /PERSISTENT:YES
Each time I want to print something?
Once per machine reboot?
Once and it remembers even after machine is switched off?
We run an old DOS program from within Windows XP.
Having just replaced our old laser printer with a brand spanking new one, I find myself with a printer with network card and usb port, but no parallel port.
Having purchased said beast, I have now discovered that DOS programs only know how to write to LPT1 ports, having no recognition for either a USB or ethernet connected printer!
A little research revealed a workaround in the form of:
NET USE LPT1: \\MY_SERVER\PRINTER /PERSISTENT:YES
So far so good.
My question is, how do I find out what I enter for the MY_SERVER part of the above line?
I realise that PRINTER is the share name of the printer, but the printer and PC's are connected via a Network switch, and not directly to each other.
Is MY_SERVER the name of the network switch, and if it is, how do I find out what the share name of said switch is?
Question 2:
How often do I need to run the line
NET USE LPT1: \\MY_SERVER\PRINTER /PERSISTENT:YES
Each time I want to print something?
Once per machine reboot?
Once and it remembers even after machine is switched off?
Comment