A Windows XP help forum. PCbanter

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.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Printing and Faxing with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Printing from DOS



 
 
Thread Tools Display Modes
  #1  
Old March 19th 10, 02:10 PM posted to microsoft.public.windowsxp.print_fax
Stuart Grant[_2_]
external usenet poster
 
Posts: 18
Default Printing from DOS

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  
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

  #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

  #4  
Old March 20th 10, 11:49 AM posted to microsoft.public.windowsxp.print_fax
Stuart Grant[_2_]
external usenet poster
 
Posts: 18
Default Printing from DOS

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  
Old March 20th 10, 11:49 AM posted to microsoft.public.windowsxp.print_fax
Stuart Grant[_2_]
external usenet poster
 
Posts: 18
Default Printing from DOS

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 01:06 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.