PDA

View Full Version : Printing from DOS Application


Nancy
July 24th 04, 07:06 AM
I have a DOS application that will only print to LPT
ports. I would like to print to a networked printer using
XP. The networked printer shows the port as an IP
address. In Win98 you could still connect a networked
printer to a LPT port. Can you do this in XP? I haven't
figured out how to do this.

Hal Hostetler [MVP DTS]
July 24th 04, 07:06 AM
This page might help:

http://members.shaw.ca/bsanders/printfromdos.htm
Printing from DOS with Windows 2000 or XP

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Nancy" > wrote in message
...
> I have a DOS application that will only print to LPT
> ports. I would like to print to a networked printer using
> XP. The networked printer shows the port as an IP
> address. In Win98 you could still connect a networked
> printer to a LPT port. Can you do this in XP? I haven't
> figured out how to do this.

Hal Hostetler [MVP DTS]
July 24th 04, 07:06 AM
This page might help:

http://members.shaw.ca/bsanders/printfromdos.htm
Printing from DOS with Windows 2000 or XP

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Nancy" > wrote in message
...
> I have a DOS application that will only print to LPT
> ports. I would like to print to a networked printer using
> XP. The networked printer shows the port as an IP
> address. In Win98 you could still connect a networked
> printer to a LPT port. Can you do this in XP? I haven't
> figured out how to do this.

Hal Hostetler [MVP DTS]
July 24th 04, 07:06 AM
This page might help:

http://members.shaw.ca/bsanders/printfromdos.htm
Printing from DOS with Windows 2000 or XP

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Nancy" > wrote in message
...
> I have a DOS application that will only print to LPT
> ports. I would like to print to a networked printer using
> XP. The networked printer shows the port as an IP
> address. In Win98 you could still connect a networked
> printer to a LPT port. Can you do this in XP? I haven't
> figured out how to do this.

Hal Hostetler [MVP DTS]
July 24th 04, 07:06 AM
This page might help:

http://members.shaw.ca/bsanders/printfromdos.htm
Printing from DOS with Windows 2000 or XP

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Nancy" > wrote in message
...
> I have a DOS application that will only print to LPT
> ports. I would like to print to a networked printer using
> XP. The networked printer shows the port as an IP
> address. In Win98 you could still connect a networked
> printer to a LPT port. Can you do this in XP? I haven't
> figured out how to do this.

Hal Hostetler [MVP DTS]
July 24th 04, 07:06 AM
This page might help:

http://members.shaw.ca/bsanders/printfromdos.htm
Printing from DOS with Windows 2000 or XP

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Nancy" > wrote in message
...
> I have a DOS application that will only print to LPT
> ports. I would like to print to a networked printer using
> XP. The networked printer shows the port as an IP
> address. In Win98 you could still connect a networked
> printer to a LPT port. Can you do this in XP? I haven't
> figured out how to do this.

Hal Hostetler [MVP DTS]
July 24th 04, 07:06 AM
This page might help:

http://members.shaw.ca/bsanders/printfromdos.htm
Printing from DOS with Windows 2000 or XP

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Nancy" > wrote in message
...
> I have a DOS application that will only print to LPT
> ports. I would like to print to a networked printer using
> XP. The networked printer shows the port as an IP
> address. In Win98 you could still connect a networked
> printer to a LPT port. Can you do this in XP? I haven't
> figured out how to do this.

Hal Hostetler [MVP DTS]
July 24th 04, 07:06 AM
This page might help:

http://members.shaw.ca/bsanders/printfromdos.htm
Printing from DOS with Windows 2000 or XP

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Nancy" > wrote in message
...
> I have a DOS application that will only print to LPT
> ports. I would like to print to a networked printer using
> XP. The networked printer shows the port as an IP
> address. In Win98 you could still connect a networked
> printer to a LPT port. Can you do this in XP? I haven't
> figured out how to do this.

Hal Hostetler [MVP DTS]
July 29th 04, 05:48 PM
How about from a command prompt:

Copy /b (filename) LPT1

The /b switch indicates a binary copy, so control characters will be passed
to the printer. This is the normal way to send printer files (print to
file, filename.PRN) to a printer. more inf on Copy command options is
available by typing Copy /? at a command prompt.

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Gene Meiners" > wrote in message
...
> Nancy,
> I am a Dos user. I picked up on this site this solution
> for the LPT1 redirection, if this is possible. Use
> the "net use" command after sitting the printer up as a
> share device on your pc if you desire to or allowed to.
>
> To see the parameters in Dos do a NET /? and then a NET
> USE /?
> The full command I use is "net use lpt1:
> \\computername\printersharename /persistent:yes"
>
> Maybe you can help me. I like to print/copy files to
> LPT1 which contain printer control characters,(HP). Have
> you heard of an editor in windows that allows the control
> character thru the print processors. Notepad, etc always
> change the contol characters.
>
> Hope my comments help.
>
> GM.
> >-----Original Message-----
> >I have a DOS application that will only print to LPT
> >ports. I would like to print to a networked printer
> using
> >XP. The networked printer shows the port as an IP
> >address. In Win98 you could still connect a networked
> >printer to a LPT port. Can you do this in XP? I
> haven't
> >figured out how to do this.
> >.
> >

Hal Hostetler [MVP DTS]
July 29th 04, 05:48 PM
How about from a command prompt:

Copy /b (filename) LPT1

The /b switch indicates a binary copy, so control characters will be passed
to the printer. This is the normal way to send printer files (print to
file, filename.PRN) to a printer. more inf on Copy command options is
available by typing Copy /? at a command prompt.

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Gene Meiners" > wrote in message
...
> Nancy,
> I am a Dos user. I picked up on this site this solution
> for the LPT1 redirection, if this is possible. Use
> the "net use" command after sitting the printer up as a
> share device on your pc if you desire to or allowed to.
>
> To see the parameters in Dos do a NET /? and then a NET
> USE /?
> The full command I use is "net use lpt1:
> \\computername\printersharename /persistent:yes"
>
> Maybe you can help me. I like to print/copy files to
> LPT1 which contain printer control characters,(HP). Have
> you heard of an editor in windows that allows the control
> character thru the print processors. Notepad, etc always
> change the contol characters.
>
> Hope my comments help.
>
> GM.
> >-----Original Message-----
> >I have a DOS application that will only print to LPT
> >ports. I would like to print to a networked printer
> using
> >XP. The networked printer shows the port as an IP
> >address. In Win98 you could still connect a networked
> >printer to a LPT port. Can you do this in XP? I
> haven't
> >figured out how to do this.
> >.
> >

Hal Hostetler [MVP DTS]
July 29th 04, 06:35 PM
How about from a command prompt:

Copy /b (filename) LPT1

The /b switch indicates a binary copy, so control characters will be passed
to the printer. This is the normal way to send printer files (print to
file, filename.PRN) to a printer. more inf on Copy command options is
available by typing Copy /? at a command prompt.

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Gene Meiners" > wrote in message
...
> Nancy,
> I am a Dos user. I picked up on this site this solution
> for the LPT1 redirection, if this is possible. Use
> the "net use" command after sitting the printer up as a
> share device on your pc if you desire to or allowed to.
>
> To see the parameters in Dos do a NET /? and then a NET
> USE /?
> The full command I use is "net use lpt1:
> \\computername\printersharename /persistent:yes"
>
> Maybe you can help me. I like to print/copy files to
> LPT1 which contain printer control characters,(HP). Have
> you heard of an editor in windows that allows the control
> character thru the print processors. Notepad, etc always
> change the contol characters.
>
> Hope my comments help.
>
> GM.
> >-----Original Message-----
> >I have a DOS application that will only print to LPT
> >ports. I would like to print to a networked printer
> using
> >XP. The networked printer shows the port as an IP
> >address. In Win98 you could still connect a networked
> >printer to a LPT port. Can you do this in XP? I
> haven't
> >figured out how to do this.
> >.
> >

Hal Hostetler [MVP DTS]
July 30th 04, 01:47 AM
How about from a command prompt:

Copy /b (filename) LPT1

The /b switch indicates a binary copy, so control characters will be passed
to the printer. This is the normal way to send printer files (print to
file, filename.PRN) to a printer. more inf on Copy command options is
available by typing Copy /? at a command prompt.

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Gene Meiners" > wrote in message
...
> Nancy,
> I am a Dos user. I picked up on this site this solution
> for the LPT1 redirection, if this is possible. Use
> the "net use" command after sitting the printer up as a
> share device on your pc if you desire to or allowed to.
>
> To see the parameters in Dos do a NET /? and then a NET
> USE /?
> The full command I use is "net use lpt1:
> \\computername\printersharename /persistent:yes"
>
> Maybe you can help me. I like to print/copy files to
> LPT1 which contain printer control characters,(HP). Have
> you heard of an editor in windows that allows the control
> character thru the print processors. Notepad, etc always
> change the contol characters.
>
> Hope my comments help.
>
> GM.
> >-----Original Message-----
> >I have a DOS application that will only print to LPT
> >ports. I would like to print to a networked printer
> using
> >XP. The networked printer shows the port as an IP
> >address. In Win98 you could still connect a networked
> >printer to a LPT port. Can you do this in XP? I
> haven't
> >figured out how to do this.
> >.
> >

Hal Hostetler [MVP DTS]
July 30th 04, 10:56 AM
How about from a command prompt:

Copy /b (filename) LPT1

The /b switch indicates a binary copy, so control characters will be passed
to the printer. This is the normal way to send printer files (print to
file, filename.PRN) to a printer. more inf on Copy command options is
available by typing Copy /? at a command prompt.

Hal
--
Hal Hostetler, CPBE --
Senior Engineer/MIS -- MS MVP-DTS -- WA7BGX
http://www.kvoa.com -- "When News breaks, we fix it!"
KVOA Television, Tucson, AZ. NBC Channel 4
Got Blues? - www.badnewsbluesband.com

"Gene Meiners" > wrote in message
...
> Nancy,
> I am a Dos user. I picked up on this site this solution
> for the LPT1 redirection, if this is possible. Use
> the "net use" command after sitting the printer up as a
> share device on your pc if you desire to or allowed to.
>
> To see the parameters in Dos do a NET /? and then a NET
> USE /?
> The full command I use is "net use lpt1:
> \\computername\printersharename /persistent:yes"
>
> Maybe you can help me. I like to print/copy files to
> LPT1 which contain printer control characters,(HP). Have
> you heard of an editor in windows that allows the control
> character thru the print processors. Notepad, etc always
> change the contol characters.
>
> Hope my comments help.
>
> GM.
> >-----Original Message-----
> >I have a DOS application that will only print to LPT
> >ports. I would like to print to a networked printer
> using
> >XP. The networked printer shows the port as an IP
> >address. In Win98 you could still connect a networked
> >printer to a LPT port. Can you do this in XP? I
> haven't
> >figured out how to do this.
> >.
> >

Google