Solved

print from DOS apps using jetdirect 500x

Posted on 2003-10-23
10
847 Views
Last Modified: 2013-11-29
I have client with a small Windows network using TCP/IP, NETBEUI, IPX/SPX sharing printers through a HP Jetdirect 500x. Here's the problem: All these computers are sometimes off the network, so printer sharing through a workstation is not a solution. Two computers are WIn2k/WinXP. They can print Windows apps no problem and DOS apps using the "net use" command line. The remaining two machines are Win98. Windows apps print fine, but I have been unable to print from DOS apps wiith either of these machines. The client says it worked fine before he got the blaster worm on the two Win2K/XP machines. I really need some help on this one. The client does not have  the tech or user manuals for the jetdirect. I HAVE to get this DOS print problem resolved in the next two or three days. It is worth 500 points to whoever helps me.
0
Comment
Question by:bigsnake
[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
  • 2
  • +3
10 Comments
 
LVL 3

Expert Comment

by:dshuang5858
ID: 9611149
Hi, bigsnake,

Have you try using this command under Win98 machines:

net use lpt1 \\servername\printsharename

dshuang5858
0
 
LVL 3

Expert Comment

by:dshuang5858
ID: 9611159
Hi, bigsnake,

DOS apps only recognize LPT1, LPT2, etc., so if you try the command above, DOS apps will think you have local printer connect on the system, but yet print to network printer.

See if it help!

dshuang5858
0
 

Author Comment

by:bigsnake
ID: 9611384
Hi dshuang5858, Thanks for your response. I think I already tried that, but I'll try again and let you know. I won't be back on that site until Monday so it will be a few days before you hear back from me.

0
IoT Devices - Fast, Cheap or Secure…Pick Two

The IoT market is growing at a rapid pace and manufacturers are under pressure to quickly provide new products. Can you be sure that your devices do what they're supposed to do, while still being secure?

 
LVL 31

Expert Comment

by:qwaletee
ID: 9611600
one other thing to note... oftentimes, a DOS program's prnt request will not get sent to the network until the DOS window closes.
0
 
LVL 14

Accepted Solution

by:
kronostm earned 500 total points
ID: 9613075
OK bigsnake,  here's what I did in my company to be able to print from DOS based contab. program.
First, I installed the printer (a network printer) on the IP.
The printer worked fine from windows based apps, but not from the DOS app. It needed to print on lpt1.
Then , I  installed the same printer for the second time on that computer, but this time on lpt1 port.
So, I shared the first install of the printer on the local machine, and then mapped the LPT1 port to this local share ....something like this:
 NET USE lpt1 \\my_IP\share_name_of_printer

You can use the capture port feature in Win98 too (this cannot be find in printer proprieties in 2k or XP)

Hope this helps

Kronos
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9615556
Use the software that came with the jetdirect print server to install the local jetdirect client.  Use the HP Network Printer Wizard.  Then, in the printer properties, select "capture printer port" checkbox and pich which LPT port you want to capture.
0
 
LVL 3

Expert Comment

by:lst-yves
ID: 9617039
You should use the command that way :

net use lpt1: \\server_name\share_name /persistent:yes

Laurence.
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9617087
If you use the HP Network Printer Wizard, there should be a button for capture.  Once the capture is done in that setup, it's done.

No need to issue a net use ommand.

Net use is only useful, imho, as part of an NT or higher Microsoft login script.
0
 
LVL 35

Expert Comment

by:ShineOn
ID: 9617103
Capture port does work in 2K/XP when the driver knows it's a network printer, in my experience...
0
 
LVL 14

Expert Comment

by:kronostm
ID: 9677596
bigsnake........please spare a moment and come back here to Experts-Exchange. We'd like to know if our answers helped you or not. If some answer helped you, please accept that as correct (or split points among experts that you consider helped you)  in order to reward the expert(s) and close the question. Also, if it's not too difficult, please make a brief of problem and solution. That will help others solve similar problems just doing a google search.
      If the problem wasn't solved please come back with questions or test results if you're still interested in that answer, and we'll try to figure it out; or post a 0 points question in community support asking for this Q to be deleted/PAQed.


*****PLEASE DO NOT ACCEPT THIS AS ANSWER*********


Kronos
0

Featured Post

Ready to trade in that old firewall?

Whether you need to trade-up to a shiny new Firebox or just ready to upgrade from whatever appliance you're using now, WatchGuard has the right appliance for you! Find your perfect Firebox today with appliance sizing tool!

Question has a verified solution.

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

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

617 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