Capture LPT1 to JetDirect in DOS

  • Thread starter James Shilstone
  • Start date
J

James Shilstone

I have checked the archives and this message has come up before, but
apparently never answered completely. Please help.

I have a customer who is trying to get our DOS application to print to
an HP LaserJet connected to a network via JetDirect from a Windows XP
computer. We can't do the typical:

NET USE LPT1: \\Servername\printername /persistent:yes

because there is no servername. When we look at the printer properties
for the port, we see "IP_192.168.1.45". If I type:

NET USE LPT1: \\IP_192.168.1.45

I get an error message.

If I type "NET VIEW \\192.168.1.45" I get an error message.

I suppose I need to say that the printer works fine with Windows apps.

Unfortunately, I can't easily get all the error message because my
client is in another state (while I currently reside in the state of
"confusion").

From what I can tell, I may be running into a problem with not being
able to communicate with the printer or it may relate to the problem
about getting XP to capture a printer port that exists as a physical
printer port on the computer.

Any ideas?
Thanks,
Jay Shilstone
 
D

Duncan Newell

James Shilstone said:
I have checked the archives and this message has come up before, but
apparently never answered completely. Please help.

I have a customer who is trying to get our DOS application to print to
an HP LaserJet connected to a network via JetDirect from a Windows XP
computer. We can't do the typical:

NET USE LPT1: \\Servername\printername /persistent:yes

because there is no servername. When we look at the printer properties
for the port, we see "IP_192.168.1.45". If I type:

NET USE LPT1: \\IP_192.168.1.45

I get an error message.

If I type "NET VIEW \\192.168.1.45" I get an error message.

I suppose I need to say that the printer works fine with Windows apps.

Unfortunately, I can't easily get all the error message because my
client is in another state (while I currently reside in the state of
"confusion").

From what I can tell, I may be running into a problem with not being
able to communicate with the printer or it may relate to the problem
about getting XP to capture a printer port that exists as a physical
printer port on the computer.

Any ideas?
Thanks,
Jay Shilstone

Have you done :

net use lpt1 \\192.168.1.45\printername /persistent:yes

or Try it on another PC, make sure your on the correct network segment etc
etc etc

Duncan
 
B

Bruce Chambers

Greetings --

Have you tried using HP's JetAdmin utility to assign a host name
to the JetDirect device? After doing so, the Net Use command should
work.

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
 

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