A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Printing and Faxing with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How can I print in WinXP from a DOS-based program?



 
 
Thread Tools Display Modes
  #31  
Old April 18th 04, 03:37 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

What was displayed is a description of the possible forms of the command.
This means that what you keyed does not conform syntactically with what the
command (net use) expects. Things inside square brakets ([]) are optional -
you use one of these if it is useful for what you want to do. Note that ":"
is not the same thing as "|" which in the Command Prompt window shows as a
split vertical bar because of the font used. The "|" indicates
alternatives. The ":" means literally the ":" character. The "/" is used
as a prefix for a named optional parameter (e.g. /persistent:[y|n]).

See below; I've added extra spaces to make it easier to see where they go.

net use lpt1: \\toaster\HPLaserJ /persistent:yes

See the explanation of "print server" at
http://members.shaw.ca/bsanders/Glossary.htm. Most of the "mini print
servers" are of type 4, although some come with software that adds a new
"Port Type". You may find that using the "printer pooling" option (see
"pool" on the same web page) will work just fine and is easier to set up.

Does this help?

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
I've got the same issue at this time. System is wired lan, winxp home,
hplaserjet 1200, computer has lpt1 active in hardware profile although I
have no parallel port. I entered the following on the command line:
C:\ net use lpt1: \\toaster\HPLaserJ/ persistent:yes
The following was printed out on the screen:
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]

C:
I don't have any idea what all that means, help please.

Bill




Ads
  #32  
Old April 18th 04, 03:38 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

What was displayed is a description of the possible forms of the command.
This means that what you keyed does not conform syntactically with what the
command (net use) expects. Things inside square brakets ([]) are optional -
you use one of these if it is useful for what you want to do. Note that ":"
is not the same thing as "|" which in the Command Prompt window shows as a
split vertical bar because of the font used. The "|" indicates
alternatives. The ":" means literally the ":" character. The "/" is used
as a prefix for a named optional parameter (e.g. /persistent:[y|n]).

See below; I've added extra spaces to make it easier to see where they go.

net use lpt1: \\toaster\HPLaserJ /persistent:yes

See the explanation of "print server" at
http://members.shaw.ca/bsanders/Glossary.htm. Most of the "mini print
servers" are of type 4, although some come with software that adds a new
"Port Type". You may find that using the "printer pooling" option (see
"pool" on the same web page) will work just fine and is easier to set up.

Does this help?

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
I've got the same issue at this time. System is wired lan, winxp home,
hplaserjet 1200, computer has lpt1 active in hardware profile although I
have no parallel port. I entered the following on the command line:
C:\ net use lpt1: \\toaster\HPLaserJ/ persistent:yes
The following was printed out on the screen:
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]

C:
I don't have any idea what all that means, help please.

Bill




  #33  
Old April 18th 04, 03:38 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

What was displayed is a description of the possible forms of the command.
This means that what you keyed does not conform syntactically with what the
command (net use) expects. Things inside square brakets ([]) are optional -
you use one of these if it is useful for what you want to do. Note that ":"
is not the same thing as "|" which in the Command Prompt window shows as a
split vertical bar because of the font used. The "|" indicates
alternatives. The ":" means literally the ":" character. The "/" is used
as a prefix for a named optional parameter (e.g. /persistent:[y|n]).

See below; I've added extra spaces to make it easier to see where they go.

net use lpt1: \\toaster\HPLaserJ /persistent:yes

See the explanation of "print server" at
http://members.shaw.ca/bsanders/Glossary.htm. Most of the "mini print
servers" are of type 4, although some come with software that adds a new
"Port Type". You may find that using the "printer pooling" option (see
"pool" on the same web page) will work just fine and is easier to set up.

Does this help?

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
I've got the same issue at this time. System is wired lan, winxp home,
hplaserjet 1200, computer has lpt1 active in hardware profile although I
have no parallel port. I entered the following on the command line:
C:\ net use lpt1: \\toaster\HPLaserJ/ persistent:yes
The following was printed out on the screen:
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]

C:
I don't have any idea what all that means, help please.

Bill




  #34  
Old April 18th 04, 03:38 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

What was displayed is a description of the possible forms of the command.
This means that what you keyed does not conform syntactically with what the
command (net use) expects. Things inside square brakets ([]) are optional -
you use one of these if it is useful for what you want to do. Note that ":"
is not the same thing as "|" which in the Command Prompt window shows as a
split vertical bar because of the font used. The "|" indicates
alternatives. The ":" means literally the ":" character. The "/" is used
as a prefix for a named optional parameter (e.g. /persistent:[y|n]).

See below; I've added extra spaces to make it easier to see where they go.

net use lpt1: \\toaster\HPLaserJ /persistent:yes

See the explanation of "print server" at
http://members.shaw.ca/bsanders/Glossary.htm. Most of the "mini print
servers" are of type 4, although some come with software that adds a new
"Port Type". You may find that using the "printer pooling" option (see
"pool" on the same web page) will work just fine and is easier to set up.

Does this help?

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
I've got the same issue at this time. System is wired lan, winxp home,
hplaserjet 1200, computer has lpt1 active in hardware profile although I
have no parallel port. I entered the following on the command line:
C:\ net use lpt1: \\toaster\HPLaserJ/ persistent:yes
The following was printed out on the screen:
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]

C:
I don't have any idea what all that means, help please.

Bill




  #35  
Old April 18th 04, 03:38 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

What was displayed is a description of the possible forms of the command.
This means that what you keyed does not conform syntactically with what the
command (net use) expects. Things inside square brakets ([]) are optional -
you use one of these if it is useful for what you want to do. Note that ":"
is not the same thing as "|" which in the Command Prompt window shows as a
split vertical bar because of the font used. The "|" indicates
alternatives. The ":" means literally the ":" character. The "/" is used
as a prefix for a named optional parameter (e.g. /persistent:[y|n]).

See below; I've added extra spaces to make it easier to see where they go.

net use lpt1: \\toaster\HPLaserJ /persistent:yes

See the explanation of "print server" at
http://members.shaw.ca/bsanders/Glossary.htm. Most of the "mini print
servers" are of type 4, although some come with software that adds a new
"Port Type". You may find that using the "printer pooling" option (see
"pool" on the same web page) will work just fine and is easier to set up.

Does this help?

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
I've got the same issue at this time. System is wired lan, winxp home,
hplaserjet 1200, computer has lpt1 active in hardware profile although I
have no parallel port. I entered the following on the command line:
C:\ net use lpt1: \\toaster\HPLaserJ/ persistent:yes
The following was printed out on the screen:
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]

C:
I don't have any idea what all that means, help please.

Bill




  #36  
Old April 18th 04, 03:43 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

What was displayed is a description of the possible forms of the command.
This means that what you keyed does not conform syntactically with what the
command (net use) expects. Things inside square brakets ([]) are optional -
you use one of these if it is useful for what you want to do. Note that ":"
is not the same thing as "|" which in the Command Prompt window shows as a
split vertical bar because of the font used. The "|" indicates
alternatives. The ":" means literally the ":" character. The "/" is used
as a prefix for a named optional parameter (e.g. /persistent:[y|n]).

See below; I've added extra spaces to make it easier to see where they go.

net use lpt1: \\toaster\HPLaserJ /persistent:yes

See the explanation of "print server" at
http://members.shaw.ca/bsanders/Glossary.htm. Most of the "mini print
servers" are of type 4, although some come with software that adds a new
"Port Type". You may find that using the "printer pooling" option (see
"pool" on the same web page) will work just fine and is easier to set up.

Does this help?

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
I've got the same issue at this time. System is wired lan, winxp home,
hplaserjet 1200, computer has lpt1 active in hardware profile although I
have no parallel port. I entered the following on the command line:
C:\ net use lpt1: \\toaster\HPLaserJ/ persistent:yes
The following was printed out on the screen:
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]

C:
I don't have any idea what all that means, help please.

Bill




  #37  
Old April 18th 04, 03:43 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

What was displayed is a description of the possible forms of the command.
This means that what you keyed does not conform syntactically with what the
command (net use) expects. Things inside square brakets ([]) are optional -
you use one of these if it is useful for what you want to do. Note that ":"
is not the same thing as "|" which in the Command Prompt window shows as a
split vertical bar because of the font used. The "|" indicates
alternatives. The ":" means literally the ":" character. The "/" is used
as a prefix for a named optional parameter (e.g. /persistent:[y|n]).

See below; I've added extra spaces to make it easier to see where they go.

net use lpt1: \\toaster\HPLaserJ /persistent:yes

See the explanation of "print server" at
http://members.shaw.ca/bsanders/Glossary.htm. Most of the "mini print
servers" are of type 4, although some come with software that adds a new
"Port Type". You may find that using the "printer pooling" option (see
"pool" on the same web page) will work just fine and is easier to set up.

Does this help?

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
I've got the same issue at this time. System is wired lan, winxp home,
hplaserjet 1200, computer has lpt1 active in hardware profile although I
have no parallel port. I entered the following on the command line:
C:\ net use lpt1: \\toaster\HPLaserJ/ persistent:yes
The following was printed out on the screen:
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]

C:
I don't have any idea what all that means, help please.

Bill




  #38  
Old April 21st 04, 10:11 AM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

Your welcome. Thanks for telling us you now have success. Most times we
don't get any response, so don't know whether the person was helped or what!

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
Yes, that did the trick Bruce. Thank you very much!

Bill Neely



  #39  
Old April 21st 04, 03:11 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

Your welcome. Thanks for telling us you now have success. Most times we
don't get any response, so don't know whether the person was helped or what!

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
Yes, that did the trick Bruce. Thank you very much!

Bill Neely



  #40  
Old April 21st 04, 03:11 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

Your welcome. Thanks for telling us you now have success. Most times we
don't get any response, so don't know whether the person was helped or what!

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
Yes, that did the trick Bruce. Thank you very much!

Bill Neely



  #41  
Old April 21st 04, 03:11 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

Your welcome. Thanks for telling us you now have success. Most times we
don't get any response, so don't know whether the person was helped or what!

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
Yes, that did the trick Bruce. Thank you very much!

Bill Neely



  #42  
Old April 21st 04, 03:11 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

Your welcome. Thanks for telling us you now have success. Most times we
don't get any response, so don't know whether the person was helped or what!

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
Yes, that did the trick Bruce. Thank you very much!

Bill Neely



  #43  
Old April 21st 04, 03:11 PM
Bruce Sanderson
external usenet poster
 
Posts: n/a
Default How can I print in WinXP from a DOS-based program?

Your welcome. Thanks for telling us you now have success. Most times we
don't get any response, so don't know whether the person was helped or what!

--
Bruce Sanderson MVP Printing

It is perfectly useless to know the right answer to the wrong question.



"Bill N" wrote in message
...
Yes, that did the trick Bruce. Thank you very much!

Bill Neely



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 02:16 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.