NET USE command

L

_LS_

I am trying to solve a problem according to
http://members.shaw.ca/bsanders/printfromdos.htm (printing PRN from DOS
program to an USB printer ).

However the NET USE command does not recognize the printer name in
NET USE LPT1: \\FT\LEXMARK\ /persistent:yes
All my trials result in one of these msg (text translated):
- error 67: The network name cannot be found
- error 1231: The network place cannot be reached
- error 66: The network resource type is not correct. (No error if I type
lpt:blush:r prn: instead of lpt1:)
I tried in 2 stand-alone machines with Win XP Pro .

I am desesperated....
Any idea ? thanks

Luis
L.S
(e-mail address removed)
(If u reply, pls forward me a copy if possible.)
 
A

Alan Morris\(MSFT\)

You do not need the trailing \ on the printer share name.

I have XP pro. I add an XYZ Printer named XYZ LaserWriter. I share this
printer with a share name of XYZ


then net use LPT1: \\computername\XYZ




error 66 is the error you will get if you use the printer name rather than
the printer share name
I was unable to create the other errors

You will need to be administrator on the system to map the LPT1: port. If
not map LPT2: or LPT3:
--
Alan Morris

Microsoft Printing Team

http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
This posting is provided "AS IS" with no warranties, and confers no rights.
 
L

_LS_

Thanks Alan
However this did not solve.
With / the error is nr.66
Without / the error is similar: nr.1231
If I use LPT: instead of lpt1: the error becames nr.67
:(((
Do u hv more ideas ?
Other people wrote me with the same problem asking if I found a solution.
May be I dont hv some kind of service running ?
bcs pooling the port also does not work

H E L P
--
Luis Sousa
(e-mail address removed)






Alan Morris(MSFT) said:
You do not need the trailing \ on the printer share name.
I have XP pro. I add an XYZ Printer named XYZ LaserWriter. I share this
printer with a share name of XYZ
then net use LPT1: \\computername\XYZ
error 66 is the error you will get if you use the printer name rather than
the printer share name
I was unable to create the other errors

You will need to be administrator on the system to map the LPT1: port. If
not map LPT2: or LPT3:
--
Alan Morris

Microsoft Printing Team

http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
This posting is provided "AS IS" with no warranties, and confers no rights.

_LS_ said:
I am trying to solve a problem according to
http://members.shaw.ca/bsanders/printfromdos.htm (printing PRN from DOS
program to an USB printer ).

However the NET USE command does not recognize the printer name in
NET USE LPT1: \\FT\LEXMARK\ /persistent:yes
All my trials result in one of these msg (text translated):
- error 67: The network name cannot be found
- error 1231: The network place cannot be reached
- error 66: The network resource type is not correct. (No error if I type
lpt:blush:r prn: instead of lpt1:)
I tried in 2 stand-alone machines with Win XP Pro .

I am desesperated....
Any idea ? thanks

Luis
L.S
(e-mail address removed)
(If u reply, pls forward me a copy if possible.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top