PDA

View Full Version : printing via "net use" command (W98)



selice
10-15-2003, 02:00 AM
Hi there. I got a problem with printing under MS-DOS. There is a network with PCs all with Win98SE OS and only one network printer.

We can print in Windows without any problems, but if someone start old MS-DOS aplication, he can not print. So i tried to set up printer via "net use LPT1 \\path_network\printer_name" but it doesnt work.

Is the problem in the aplication or in my settings??

Thanks for any ideas ..

jdharm
10-15-2003, 09:36 AM
FYI:

Win98 is intolerant of spaces in the share name. Eliminate them if possible. I don't remember if 98 understands or not, but if you can't eliminate spaces then use quotes around the UNC path to the printer share.

Use a colon in the port name. For example: net use lpt1: \\Server1\Laserjet1

Josh
<a target="_blank" href=http://www.jdharm.net>www.jdharm.net</a>

selice
10-16-2003, 03:07 AM
thx m8, the ":" helps

My comamnd was: net use LPT1 \\...
Yours command is: net use LPT1: \\... and this helped out.. thx again :)

jdharm
10-16-2003, 01:52 PM
Glad to help.

/images/forums/icons/smile.gif

Josh
<a target="_blank" href=http://www.jdharm.net>www.jdharm.net</a>