Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1725
  • Last Modified:

NET USE to an IP Printer

What is the syntax to direct LPT3: to IP Printer 192.168.1.150?  No matter how I style the command, I get a 'system error 66, network resource type is not correct'.

I have read similar questions and answers on this site, but many of the answers still seem to refer to the usual syntax of 'net use lpt3: \\server\printer' etc.  But this printer is not attached to a 'server' or any other physical computer.  It is an HP 4550 with a jetdirect card, whose only connection to the network is via a Cat5 cable going to the network hub.  When I look at it's properties, and the ports tab, it is defined with a port name of 'IP_192.168.1.150'.  Yet the NET USE /? help screen only talks about the usual syntax shown above, which would work fine if this printer were physically attached to a computer on the network...but it's not.

With Windows apps I can print to this printer just fine.  But how can I print to it in DOS?  Is it possible with NET USE?  What is the specific syntax, based on the info given above?  TIA
0
sasllc
Asked:
sasllc
  • 3
  • 2
1 Solution
 
TooKoolKrisCommented:
Does it work when you try to caputer LPT1 in the same manner?

TKK
0
 
sasllcAuthor Commented:
Yes, it does it with any LPTx I try.  But when you say '...in the same manner', that's the real point here: I don't know what syntax to use!  Since there is no \\comptuername\printername to refer to, since it's not connected to a computer, and only has an IP address, what syntax should I use?  I've tried things like 'net use lpt1: \\192.168.1.150' and other variations, but I get the errors described.  And, the net use help screen in xp doesn't show any syntax examples for anything other than the usual arrangement where a printer is physically attached to a computer on the network, which mine is not.
0
 
TooKoolKrisCommented:
If you have it connected to the network via HP Jet Direct then why not create a printer share for it off of the server? You can't use an IP in the syntax for this situation because the IP doesn't have a share just the IP.

See if this helps

How to Print to Network Printer from an MS-DOS-Based Program
http://support.microsoft.com/default.aspx?scid=kb;en-us;314499

TKK
0
 
sasllcAuthor Commented:
So obvious and easy, yet no one has been able to explain that simple concept to me until now.  Thank you!
0
 
TooKoolKrisCommented:
your welcome

tkk
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now