Wikiposts
Search

Notices
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

net use

Thread Tools
 
Search this Thread
 
Old 3rd March 2013 | 11:49
  #1 (permalink)  
Thread Starter
 
Joined: Nov 2002
Posts: 1,630
Likes: 0
From: 39N 77W
net use

HELP please. I know my ignorance will be obvious, but....

NET USE has partially stopped working.

I have two databases written in dBase which I never run at the same time. They are run under XP. My problem is with printing the output. Both worked as desired up to few months ago. Both the dot_matrix and laser printers are set up to be shared. Both are connected to USB ports.

One still prints labels as desired on a dot matrix printer. I have set

net use lpt1: \\local_PC_name\MatrixName /persistent:Y

The other program will still "print" them to a file using an option within the dBase program. Until a few months ago, the other program used to print Thank-You letters correctly on a laser printer using.

net use lpt3: \\local_PC_name\LaserJ /persistent:Y

Now it doesn't print and I get "Write error on D:" instead. When I Cancel that, it responds with "Write error on A:". When I cancel that, I am in the dBase command box and type exit.

To repeat, the other program which uses the matrix printer through Net Use lpt1 still works fine.

I've tried this on two different PCs (running XP) with the same result.

The net use (alone) command lists all of my failed variations of the Net Use command. Might they be confusing things? How can I get rid of them? The /Delete /Y option doesn't remove them from the list.

Gxxgle has not been my friend in solving this problem.
seacue is offline  
Reply
Old 3rd March 2013 | 20:52
  #2 (permalink)  
 
Joined: Aug 2002
Posts: 3,663
Likes: 0
From: Earth
have you tried net use delete etc. ?
mixture is offline  
Reply
Old 3rd March 2013 | 23:24
  #3 (permalink)  
Thread Starter
 
Joined: Nov 2002
Posts: 1,630
Likes: 0
From: 39N 77W
have you tried net use delete etc. ?
since your suggestion, I have tried a number of variations of DELETE.

They didn't have any effect. I still get "Write error on D:" etc.

Later: Some progress. I find that the sharing name I was using for the local machine here at home was "not quite right". When I used the correct sharing name of the local machine there was no longer the "Write error on D:" and the output got to the printer. Apparently the net use tries various disks if it doesn't understand the computer name.

The production PC is 20 miles from here and I won't be there until Thursday. I can't believe that I got the computer sharing name correct for its net use LPT1 and always incorrect for the net use LPT3.`

So I call Time Out until this coming Thursday evening. Thank you for your interest.

seacue.
seacue is offline  
Reply
Old 7th March 2013 | 22:16
  #4 (permalink)  
15 Anniversary
 
Joined: Jan 2008
Posts: 1,133
Likes: 0
From: Bracknell, Berks, UK
Code:
net use lpt3: /d
...should work, should it not?
Mike-Bracknell is offline  
Reply
Old 7th March 2013 | 22:39
  #5 (permalink)  
Administrator
 
Joined: Mar 2001
Aviation Qualifications: PPL
Posts: 8,121
Likes: 686
From: Twickenham, home of rugby
Have you looked at the "Rundll32 printui.dll,PrintUIEntry" method of printer configuration?

I use it in preference to net use for many printer tasks.

SD
Saab Dastard is offline  
Reply
Old 7th March 2013 | 23:41
  #6 (permalink)  
Thread Starter
 
Joined: Nov 2002
Posts: 1,630
Likes: 0
From: 39N 77W
No SD, I am unaware of that.

I have discovered that the "Write error on D:" is the result if net use cannot resolve the "target". Apparently I must have misspelt "persistent" ... once changed to /P:Y things work OK.

Isn't Windows great ... the error message for a command which cannot be understood is just quietly to do an unrelated action.

Thanks all for your suggestions.

seacue
seacue is offline  
Reply

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 Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2026 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.