how do you capture printer ports

G

Guest

I just upgraded one of my users to windows XP, and we use a Visual Pro 5
program that prints to specific local ports. I am trying to map LPT1 to a
networked printer. I have tried using the commands: 1) net use lpt1:
\\computer\printer /persistent:yes & 2) net use lpt1 \\computer\printer
/persistent:yes in cmd.exe. They both give me a message that the command
completed successfully but after I try to print from my Visual Pro program to
LPT1, I get an error that the printer was not found.
Any suggestions,

Thanks,
Justin Vandenberg
MCP in XP
 
G

Guest

What do you see when you just type 'net use'? Does LPT1 show up with the
right printer assignment?
 
G

Guest

I have the correct printer drivers installed, I can print a test page from xp
to the printer. When I use "net use" command, it shows status ok for my LPT1
port and it is mapped to the corrected location.
I also tried something new, after I mapped LPT1 with the net use command, I
went and added a new local printer to LPT1 that is same as the shared
printer. I printed a test page and it came out fine, but I still can't print
through the Visual Pro/5 program.

I also read about using printer pooling, but from the shared printer, the
"enable printer pooling" option is not available. Also when I try to "enable
printer pooling" from the new local LPT1 printer I created to the shared
printer, I receive an error message "Printer settings could not be saved.
The specified port is unknown."

Thanks,
Justin
 
R

Ron Martell

Justin said:
I just upgraded one of my users to windows XP, and we use a Visual Pro 5
program that prints to specific local ports. I am trying to map LPT1 to a
networked printer. I have tried using the commands: 1) net use lpt1:
\\computer\printer /persistent:yes & 2) net use lpt1 \\computer\printer
/persistent:yes in cmd.exe. They both give me a message that the command
completed successfully but after I try to print from my Visual Pro program to
LPT1, I get an error that the printer was not found.
Any suggestions,

Thanks,
Justin Vandenberg
MCP in XP

You will have to reconfigure the built in printer port to either use a
different port number or disable it in the computer's BIOS setup.

Good luck

Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

In memory of a dear friend Alex Nichol MVP
http://aumha.org/alex.htm
 
G

Guest

Ron Martell said:
You will have to reconfigure the built in printer port to either use a
different port number or disable it in the computer's BIOS setup.

Good luck

Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

In memory of a dear friend Alex Nichol MVP
http://aumha.org/alex.htm
How do you reconfigure the built in printer port and after I do that how
would I map to it? Would I still use the net use.... command?

Thanks,
Justin
 
B

Bruce Chambers

Justin said:
I just upgraded one of my users to windows XP, and we use a Visual Pro 5
program that prints to specific local ports. I am trying to map LPT1 to a
networked printer. I have tried using the commands: 1) net use lpt1:
\\computer\printer /persistent:yes & 2) net use lpt1 \\computer\printer
/persistent:yes in cmd.exe. They both give me a message that the command
completed successfully but after I try to print from my Visual Pro program to
LPT1, I get an error that the printer was not found.
Any suggestions,

Thanks,
Justin Vandenberg
MCP in XP


Is there a firewall on the computer acting as print server?


--

Bruce Chambers

Help us help you:



You can have peace. Or you can have freedom. Don't ever count on having
both at once. - RAH
 
G

Guest

Bruce Chambers said:
Is there a firewall on the computer acting as print server?


--

Bruce Chambers

Help us help you:



You can have peace. Or you can have freedom. Don't ever count on having
both at once. - RAH

There is no firewall, the print server is just a win98 client machine. It's
a dot matrix printer.

Thanks,
Justin
 
B

Bob I

First, on the XP box, "install" the printer on LPT1 using the Add
Printer Wizard. Then map it. Then print to it.
 
G

Guest

Thanks, I got it to work, To recap on how to fix this here are the steps.
1) Install the networked printer.
2) Map LPT1 to the networked printer "net use lpt1 \\computer\printer
/persistent:yes
3) Install the printer locally on LPT1
4) You should be able to print through your Visual Pro or Dos based programs

Justin
 
R

Ron Martell

How do you reconfigure the built in printer port and after I do that how
would I map to it? Would I still use the net use.... command?

Thanks,
Justin

You would go into the BIOS setup of the computer to reconfigure the
printer port. It will be in the "Integrated peripherals" or similar
section. Check your computer's documentation for instructions on
accessing the BIOS setup. It is most often done by pressing a
specific key or combination of keys immediately after powering on the
computer.

Try disabling the built-in printer port first and then see if the "net
use" command gets the DOS app printing as desired. Then when printing
is working you can try reconfiguring the built-in printer port to a
different LPT number such as LPT2.

Good luck

Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

In memory of a dear friend Alex Nichol MVP
http://aumha.org/alex.htm
 

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