Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Dos printing stops and disconnects printer mapping

Posted on 2001-07-27
Medium Priority
Last Modified: 2007-12-19
We have a urgent printing problem is starting to anoy the endusers.  They have two PC's (Windows 98), trying to print to the network HP 8000 N printer, which is shared on the network via HP JetDirect Print server.

The problem that they are having is happening to both of the two PC's, when trying to print to a HP 8000 N printer via their DOS package (SUN 426).  They belive to have the printer mappings built into the login script:

NET USE LPT2: \\dellboy\FINANCE$ <\\dellboy\FINANCE$>  /YES

What is happening is that when users print to the printer they receive a SUN program error:


This message normally appears because there is no printer port capture (ie NET USE LPT2 ....)
They close sun and when they go back into the program it is ok again, around 30 minutes later they receive the same error message again when trying to print.
When the problem ocurs they can print to the printer in word etc but the connection in DOS is always recaptured when entering the program.

Has anyone encountered issues similar to this in other DOS applications? Any information no matter how small would be really appreciated :)
Question by:Mickey_Nunes
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

Expert Comment

ID: 6330173
Hi Mickey,

My company is using SUN 424 and 425 on Novell NetWare server.  My users are printing to Novell NetWare print queue.  I use the NetWare capture command in system login script as below:
#capture l=2 q=xxxx nt nff nb ti=30
l=2 - Capture map to LPT2
q=xxx - Print queue name in NetWare server
nt - No TAB
nff - No form feed
nb - No banner
ti=30 - time interval = 30 second
It works for all my users using SUN accounting.

I am not sure how the 'NET USE' command works.  But, as long as you have LPT port captured for DOS application, SUN should work properly.  Thus, I believe your problem is on Windows side.

My suggestion will be use the 'Add New Printer' and follow the instruction to add the network printer to LPT3 or LPT4 for test (make printer configuration in SUN change also to LPT3 or LPT4). Make sure the support DOS printing option is selected.  If problem still occur, try to make option change from printer properties.

Hope this help.


Author Comment

ID: 6333438
Excellent, a reply from someone who knows SUN.  The NET USE command is the NT Server 4.0 version of Novell's CAPTURE command.  They can still print in windows when the problem happens in the application(when the DOS capture is lost), via word etc.  Have you encountered any problems like this with the Jet Direct Print Servers.  I will check the printer options but it may be a problem with the jet direct print server.

Expert Comment

ID: 6335321
JetDirect works petty good in my NetWare environment.  DOS capture from login script will not disconnect.  SUN just works fine here.  I really has no idea on NT login script.

Have you tried my suggestion to use 'Add New Printer' wizard to capture LPT3 or LPT4 and use SUN accounting to print to LPT3 or LPT4?

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.


Expert Comment

ID: 6420321
You might also want to make sure that your users are not running a program that "recaptures" the ports.  I have a customer with the same problem, different OS, but anyway it turned out that they were running  a DOS program that recaptured the ports when it started, bascially disconnecting the network login captures.  It was a CAD program, BTW.  So, check to make sure that none of their programs are doing a recapture when run.

Author Comment

ID: 6591440
Thank you for your suggestions everybody but I sorted it when I went on site.  

What we did was to setup an enviromental variable on the NT Server and got the user to use this when printing, instead of printing by capturing printer ports.

thank you all :)
LVL 27

Expert Comment

by:Asta Cu
ID: 7401349

This question is very old.  Please take a moment to revisit this question & reward your points or post additional commentary, as appropriate. If no further action is taken with this question within 7 days, Community Support will be requested to finalize this and unless there is objection or further activity, I will request that question be closed.


**Expert input always appreciated if a different outcome should result and Asker does not finalize**

If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post a request in Community support (with a link to this page) to refund your points. The link to the Community Support area is:

Thank you,
":0) Asta

Accepted Solution

Jgould earned 0 total points
ID: 7406018
user resolved moved to PAQ and points refunded

[What we did was to setup an enviromental variable on the NT Server and got the user to use this when printing, instead of printing by capturing printer ports]

JGould-EE Moderator

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.

Question has a verified solution.

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

This seems to be a very common error related to the Samsung printer driver. First, this is the error we're talking about: Log: System Type: Error Event: 7000 Agent Time: 3:37:24 am 22-Apr-09 Event Time: 6:07:24 pm 21-Apr-09 UTC Source: Se…
When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

721 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