"Dos" Printing

B

Brent

ok... I'm trying to do.
I've got an all XP network.
I'm trying to use...

net use lpt2 \\pserver\laser1 /persistent:yes

So I can get a DOS program to print on a network printer.

I keep getting the following message:

The syntax of this command is:


NET USE
[devicename | *] [\\computername\sharename[\volume]
[password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]

Can someone please tell me what's going on here!!!

Thanks

Brent
 
S

Schteve

-----Original Message-----
ok... I'm trying to do.
I've got an all XP network.
I'm trying to use...

net use lpt2 \\pserver\laser1 /persistent:yes

So I can get a DOS program to print on a network printer.

I keep getting the following message:

The syntax of this command is:


NET USE
[devicename | *] [\\computername\sharename[\volume]
[password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]

Can someone please tell me what's going on here!!!

Thanks

Brent

.
You did better than me...I can't even get it to say the
syntax error. Mind you I am trying to print to a UNC
printer on a domain.

One thing you might try is to right click your printer,
and in ports, enable port pooling LPT1 and LPT2. This my
get something to print, but as far as formatting goes, I
think you may be SOL.
 
S

Schteve

-----Original Message-----
-----Original Message-----
ok... I'm trying to do.
I've got an all XP network.
I'm trying to use...

net use lpt2 \\pserver\laser1 /persistent:yes

So I can get a DOS program to print on a network printer.

I keep getting the following message:

The syntax of this command is:


NET USE
[devicename | *] [\\computername\sharename[\volume]
[password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]

Can someone please tell me what's going on here!!!

Thanks

Brent

.
You did better than me...I can't even get it to say the
syntax error. Mind you I am trying to print to a UNC
printer on a domain.

One thing you might try is to right click your printer,
and in ports, enable port pooling LPT1 and LPT2. This my
get something to print, but as far as formatting goes, I
think you may be SOL.
.
Since we are barking up the same tree, you may want to
look at
http://www.microsoft.com/technet/treeview/default.asp?
url=/technet/prodtechnol/winxppro/proddocs/net_use.asp

Also, there seem to be some other skulduggery going on
with XP changing exactly which LPT port is being
used..something to do with the BIOS making LPT1 OS
determined (auto) or enabled...maybe playing with this in
the BIOS would help.

AS you I am frustrated with the "simplicity" of XP.
 
L

Lem

Brent said:
ok... I'm trying to do.
I've got an all XP network.
I'm trying to use...

net use lpt2 \\pserver\laser1 /persistent:yes

So I can get a DOS program to print on a network printer.

I keep getting the following message:

The syntax of this command is:

NET USE
[devicename | *] [\\computername\sharename[\volume]
[password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]

Can someone please tell me what's going on here!!!

Thanks

Brent

I notice that in some MSKB articles
(http://support.microsoft.com/default.aspx?scid=kb;en-us;314499&Product=winxp
for example), the examples use -- as you did -- "lpt2" as the
"devicename". I always understood that the printer parallel ports had a
colon as part of their name. Thus -- "lpt2:" You might give that a try
and see if it works.
 

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