How to print in DOS application in Windows 2000

  • Thread starter Thread starter Athar
  • Start date Start date
A

Athar

Dear Experts,

I am trying to capture a network printer in windows 2000
to print directly from my DOS application.
I am using
NET USE LPTx: \\computername\sharename /PERSISTENT:YES

but it is giving the following error:
System error 67 has occured
The network name cannot be found

I checked the network name and share name both are there.

In windows 98 SE I was using the printer properties detail
tab for capturing the network printer.
In Windows 2000 how to capture a network printer.
Please help.

Regards,
Athar
 
Can you browse to \\computername and see the printer share?
How long is the printer share name? Are you sure you're typing it in
correctly?
 
I could get the print on my network printer by using
net use lpt1 //printer/hp8100n

now there is another problem arised.

I cannot print on my local printer hplj 1220c.
when I use the command: net use
i c it is still connected to lpt1 on port \\printer\hp8100n

How can i disconnect this now?

Regards,
Athar
 
I could get the print on my network printer by using
net use lpt1 //printer/hp8100n

Hmmm - ok.
now there is another problem arised.

I cannot print on my local printer hplj 1220c.

How is it connected, and what port is it using?
when I use the command: net use
i c it is still connected to lpt1 on port \\printer\hp8100n

How can i disconnect this now?

net use lpt1: /del <enter>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top