View Single Post
  #3  
Old March 19th 10, 04:09 PM posted to microsoft.public.windowsxp.print_fax
John John - MVP
external usenet poster
 
Posts: 780
Default Printing from DOS

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

Ads