![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
![]()
Yes I still have a fairly large Program I wrote myself many years ago in
QuickBasic, which I use every week. Some three years ago I found Bruce Sanderson's web page with instructions on how to do it. The printer is connected to the computer with a USB cable. His solution works perfectly. I wrote a small batch program net use \\computername\printername /permanent:yes Problenm is now that the printer needs a new drum, which costs more than a new small laser printer, installed it. gave it a network name and tried to run the batch file with The new printer name. I got the error message "the device is already allocated to another Printer". I shut down. Ran the original batch file again with "remember:no", shut down and restarted and tried again: Ihis time "it said another printer name has already been remembered. How can I get rid of it ? I can't change the batch file to use "lpt2" since the program apparently won't print to "lpt2". I'm using WindowsXP with SP3. Can anyone help. I know I could perhaps cahange the names but I still want to keep the old printer connected until the drum gives up. It is still working fine. Stuart |
Ads |
#2
|
|||
|
|||
![]()
Delete the printer mapping and persistent connection at the Command Prompt:
net use /persistent:no net use \\server\printer /d John Stuart Grant wrote: Yes I still have a fairly large Program I wrote myself many years ago in QuickBasic, which I use every week. Some three years ago I found Bruce Sanderson's web page with instructions on how to do it. The printer is connected to the computer with a USB cable. His solution works perfectly. I wrote a small batch program net use \\computername\printername /permanent:yes Problenm is now that the printer needs a new drum, which costs more than a new small laser printer, installed it. gave it a network name and tried to run the batch file with The new printer name. I got the error message "the device is already allocated to another Printer". I shut down. Ran the original batch file again with "remember:no", shut down and restarted and tried again: Ihis time "it said another printer name has already been remembered. How can I get rid of it ? I can't change the batch file to use "lpt2" since the program apparently won't print to "lpt2". I'm using WindowsXP with SP3. Can anyone help. I know I could perhaps cahange the names but I still want to keep the old printer connected until the drum gives up. It is still working fine. Stuart |
#3
|
|||
|
|||
![]()
Delete the printer mapping and persistent connection at the Command Prompt:
net use /persistent:no net use \\server\printer /d John Stuart Grant wrote: Yes I still have a fairly large Program I wrote myself many years ago in QuickBasic, which I use every week. Some three years ago I found Bruce Sanderson's web page with instructions on how to do it. The printer is connected to the computer with a USB cable. His solution works perfectly. I wrote a small batch program net use \\computername\printername /permanent:yes Problenm is now that the printer needs a new drum, which costs more than a new small laser printer, installed it. gave it a network name and tried to run the batch file with The new printer name. I got the error message "the device is already allocated to another Printer". I shut down. Ran the original batch file again with "remember:no", shut down and restarted and tried again: Ihis time "it said another printer name has already been remembered. How can I get rid of it ? I can't change the batch file to use "lpt2" since the program apparently won't print to "lpt2". I'm using WindowsXP with SP3. Can anyone help. I know I could perhaps cahange the names but I still want to keep the old printer connected until the drum gives up. It is still working fine. Stuart |
#4
|
|||
|
|||
![]()
John
Thank you for the prompt assistance. I don't think I succeeded in deleting the printer mapping and the persistent connection however. The server name is "otto". The old printer is "orwell". The new computer is "bowwow". I apologise if the names seem puerile ! I entered "net use /persistent:no" and got the response "the command completed successfully" I entered "net use \\otto\orwell /d" and got the response "The connection \\otto\orwell has been deleted" I thought I was home and dry but when I entered "net use lpt1: \\otto\bowwow" I got the response "the local device has a remembered connection to another network resource" It must be my fault but what am I doing wrong ? Stuart John John - MVP wrote: Delete the printer mapping and persistent connection at the Command Prompt: net use /persistent:no net use \\server\printer /d John |
#5
|
|||
|
|||
![]()
John
Thank you for the prompt assistance. I don't think I succeeded in deleting the printer mapping and the persistent connection however. The server name is "otto". The old printer is "orwell". The new computer is "bowwow". I apologise if the names seem puerile ! I entered "net use /persistent:no" and got the response "the command completed successfully" I entered "net use \\otto\orwell /d" and got the response "The connection \\otto\orwell has been deleted" I thought I was home and dry but when I entered "net use lpt1: \\otto\bowwow" I got the response "the local device has a remembered connection to another network resource" It must be my fault but what am I doing wrong ? Stuart John John - MVP wrote: Delete the printer mapping and persistent connection at the Command Prompt: net use /persistent:no net use \\server\printer /d John |
Thread Tools | |
Display Modes | |
|
|