?
Solved

NET USE to an IP Printer

Posted on 2003-03-12
5
Medium Priority
?
1,717 Views
Last Modified: 2012-06-27
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
Comment
Question by:sasllc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 9

Expert Comment

by:TooKoolKris
ID: 8119698
Does it work when you try to caputer LPT1 in the same manner?

TKK
0
 
LVL 3

Author Comment

by:sasllc
ID: 8119768
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
 
LVL 9

Accepted Solution

by:
TooKoolKris earned 500 total points
ID: 8119882
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
 
LVL 3

Author Comment

by:sasllc
ID: 8120044
So obvious and easy, yet no one has been able to explain that simple concept to me until now.  Thank you!
0
 
LVL 9

Expert Comment

by:TooKoolKris
ID: 8120094
your welcome

tkk
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question