Sign in with
Sign up | Sign in
Your question

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

Last response: in Windows XP
Share
Anonymous
April 8, 2004 8:55:18 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

I am currently running Windows XP SP1. There is an old DOS-based program
that I still use for certain accounting activities. The problem is that my
printer on this machine (local) is now connected to an ETHERNET router.
The DOS-based program is still trying to print to LPT1.

Is there any way I can get a print-out with my setup? I need to somehow
redirect the LPT1 output so it goes to my IP 192.168.0.11 (thats where the
printer resides).

Any help would be appreciated!
Anonymous
April 8, 2004 8:55:19 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

See Bruce Sanderson's article at
http://members.shaw.ca/bsanders/printfromdos.htm

Cari
www.coribright.com

"M. B." <REMOVETHESPAMmystic02@verizon.net> wrote in message
news:Wtfdc.13189$1y1.10320@nwrdny03.gnilink.net...
>I am currently running Windows XP SP1. There is an old DOS-based program
> that I still use for certain accounting activities. The problem is that
> my
> printer on this machine (local) is now connected to an ETHERNET router.
> The DOS-based program is still trying to print to LPT1.
>
> Is there any way I can get a print-out with my setup? I need to somehow
> redirect the LPT1 output so it goes to my IP 192.168.0.11 (thats where the
> printer resides).
>
> Any help would be appreciated!
>
>
Anonymous
April 9, 2004 4:10:08 AM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Cari,

Thanks for the suggestion but:

Well, I now know that my computer name is:
violin1.workgroup

and the printer nameis:
brother

so, I tried the following:

net use lpt1: \\violin1.workgroup\brother

but I get an "System Error 66". I also tried using lpt2 with, and without
the semicolon afterwards, but still getting this error.

Any advice?

"Cari (MS-MVP)" <Newsgroups1@coribright.com> wrote in message
news:ufsQHEcHEHA.3528@TK2MSFTNGP09.phx.gbl...
> See Bruce Sanderson's article at
> http://members.shaw.ca/bsanders/printfromdos.htm
>
> Cari
> www.coribright.com
>
> "M. B." <REMOVETHESPAMmystic02@verizon.net> wrote in message
> news:Wtfdc.13189$1y1.10320@nwrdny03.gnilink.net...
> >I am currently running Windows XP SP1. There is an old DOS-based
program
> > that I still use for certain accounting activities. The problem is
that
> > my
> > printer on this machine (local) is now connected to an ETHERNET router.
> > The DOS-based program is still trying to print to LPT1.
> >
> > Is there any way I can get a print-out with my setup? I need to
somehow
> > redirect the LPT1 output so it goes to my IP 192.168.0.11 (thats where
the
> > printer resides).
> >
> > Any help would be appreciated!
> >
> >
>
>
Related resources
Anonymous
April 9, 2004 4:10:09 AM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

See if this helps

http://www.mcse.ms/archive43-2004-2-347233.html

Cari
www.coribright.com

"M. B." <REMOVETHESPAMmystic02@verizon.net> wrote in message
news:ARldc.1221$d8.711@nwrdny01.gnilink.net...
> Cari,
>
> Thanks for the suggestion but:
>
> Well, I now know that my computer name is:
> violin1.workgroup
>
> and the printer nameis:
> brother
>
> so, I tried the following:
>
> net use lpt1: \\violin1.workgroup\brother
>
> but I get an "System Error 66". I also tried using lpt2 with, and
> without
> the semicolon afterwards, but still getting this error.
>
> Any advice?
>
> "Cari (MS-MVP)" <Newsgroups1@coribright.com> wrote in message
> news:ufsQHEcHEHA.3528@TK2MSFTNGP09.phx.gbl...
>> See Bruce Sanderson's article at
>> http://members.shaw.ca/bsanders/printfromdos.htm
>>
>> Cari
>> www.coribright.com
>>
>> "M. B." <REMOVETHESPAMmystic02@verizon.net> wrote in message
>> news:Wtfdc.13189$1y1.10320@nwrdny03.gnilink.net...
>> >I am currently running Windows XP SP1. There is an old DOS-based
> program
>> > that I still use for certain accounting activities. The problem is
> that
>> > my
>> > printer on this machine (local) is now connected to an ETHERNET router.
>> > The DOS-based program is still trying to print to LPT1.
>> >
>> > Is there any way I can get a print-out with my setup? I need to
> somehow
>> > redirect the LPT1 output so it goes to my IP 192.168.0.11 (thats where
> the
>> > printer resides).
>> >
>> > Any help would be appreciated!
>> >
>> >
>>
>>
>
>
Anonymous
April 13, 2004 2:14:46 AM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

See if item 2.a at http://members.shaw.ca/bsanders/printfromdos.htm works.

If not, I suspect you have either the computer name or the printer share
name not correct.

To find the computer name:

1. click Start
2. right click on My Computer and select Properties
3. the computer name is the text that follows "Full computer name:" but
without the trailing "." that may show. The text shown for "Workgroup:" is
NOT part of the computer name.

To find the printer's Share Name:

4. click Start, Printers and Faxes
5. right click on the printer and select "Sharing..."
6. the text in "Share name:" is the printer's Share Name. Note that if this
name has a space in it, you can not use it in a net use command. Make sure
that the Share Name does not have any embedded spaces.

--
Bruce Sanderson MVP Printing

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



"M. B." <REMOVETHESPAMmystic02@verizon.net> wrote in message
news:ARldc.1221$d8.711@nwrdny01.gnilink.net...
> Cari,
>
> Thanks for the suggestion but:
>
> Well, I now know that my computer name is:
> violin1.workgroup
>
> and the printer nameis:
> brother
>
> so, I tried the following:
>
> net use lpt1: \\violin1.workgroup\brother
>
> but I get an "System Error 66". I also tried using lpt2 with, and
> without
> the semicolon afterwards, but still getting this error.
>
> Any advice?
>
> "Cari (MS-MVP)" <Newsgroups1@coribright.com> wrote in message
> news:ufsQHEcHEHA.3528@TK2MSFTNGP09.phx.gbl...
>> See Bruce Sanderson's article at
>> http://members.shaw.ca/bsanders/printfromdos.htm
>>
>> Cari
>> www.coribright.com
>>
>> "M. B." <REMOVETHESPAMmystic02@verizon.net> wrote in message
>> news:Wtfdc.13189$1y1.10320@nwrdny03.gnilink.net...
>> >I am currently running Windows XP SP1. There is an old DOS-based
> program
>> > that I still use for certain accounting activities. The problem is
> that
>> > my
>> > printer on this machine (local) is now connected to an ETHERNET router.
>> > The DOS-based program is still trying to print to LPT1.
>> >
>> > Is there any way I can get a print-out with my setup? I need to
> somehow
>> > redirect the LPT1 output so it goes to my IP 192.168.0.11 (thats where
> the
>> > printer resides).
>> >
>> > Any help would be appreciated!
>> >
>> >
>>
>>
>
>
Anonymous
April 15, 2004 4:06:03 AM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Forgot to mention that the printer is on a mini printserver. I have tried to use the same command set using the print server's name (with and without colon after lpt1)

net use lpt1: \\PSED3336\HPLaserJ/ persistent:yes same results as above.

Thanks, Bill
Anonymous
April 15, 2004 4:06:05 AM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

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
Anonymous
April 15, 2004 7:11:03 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Bump
Anonymous
April 17, 2004 10:16:32 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

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" <anonymous@discussions.microsoft.com> wrote in message
news:832CF660-38A4-4D0F-BE40-7391C270F84A@microsoft.com...
> 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
>
>
Anonymous
April 19, 2004 3:11:05 PM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

Yes, that did the trick Bruce. Thank you very much!

Bill Neely
Anonymous
April 21, 2004 2:48:24 AM

Archived from groups: microsoft.public.windowsxp.print_fax (More info?)

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" <anonymous@discussions.microsoft.com> wrote in message
news:4266DC07-3F15-4516-ACD8-326C9518D1B4@microsoft.com...
> Yes, that did the trick Bruce. Thank you very much!
>
> Bill Neely
!