PC Review


Reply
Thread Tools Rate Thread

Capture LPT1 to JetDirect in DOS

 
 
James Shilstone
Guest
Posts: n/a
 
      9th Apr 2004
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
 
Reply With Quote
 
 
 
 
Duncan Newell
Guest
Posts: n/a
 
      9th Apr 2004

"James Shilstone" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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


 
Reply With Quote
 
Bruce Chambers
Guest
Posts: n/a
 
      9th Apr 2004
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:
http://dts-l.org/goodpost.htm
http://www.catb.org/~esr/faqs/smart-questions.html


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


"James Shilstone" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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



 
Reply With Quote
 
Alan Morris\(MSFT\)
Guest
Posts: n/a
 
      9th Apr 2004
Unless HP has enabled some version of SMB on their print servers this will
never work.

try this
http://members.shaw.ca/bsanders/printfromdos.htm

--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.

"Bruce Chambers" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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:
> http://dts-l.org/goodpost.htm
> http://www.catb.org/~esr/faqs/smart-questions.html
>
>
> You can have peace. Or you can have freedom. Don't ever count on
> having both at once. -- RAH
>
>
> "James Shilstone" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> >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

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Capture LPT1 to a USB printer Bill Meyer Windows XP Customization 14 15th Apr 2008 04:18 PM
DOS capture to Jetdirect printer bill allemann Windows XP Print / Fax 2 11th Aug 2004 08:29 PM
Capture LPT1 to JetDirect in DOS James Shilstone Windows XP General 4 9th Apr 2004 08:44 PM
Need a way to capture or redirect the LPT1 port to a network printer in Windows XP Pro......TIA This is so that an old DOS program can print to a network printer on a jetdirect. Ralph Malph Windows XP General 6 13th Mar 2004 07:16 AM
Why can't I capture LPT1 any more Mark Farmiloe Windows XP Print / Fax 2 29th Nov 2003 07:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:58 PM.