Jump to content

File and Printer Sharing error: "The network location cannot be reached"


Recommended Posts

Guest Bill in Co.
Posted

I'm trying to print a .prn file, using the copy command, to a USB printer,

and following the appropriate copy command syntax religiously.

 

I get this weird error, even after allowing my printer to be shared (and

giving it a share name, etc). Anyone know what's wrong? I've been

searching for the solution via Google, so far, no go.

  • Replies 5
  • Created
  • Last Reply

Popular Days

Posted

Re: File and Printer Sharing error: "The network location cannot be reached"

 

Re: File and Printer Sharing error: "The network location cannot be reached"

 

Can you capture LPT2 to the shared printer \\ip.address\printer then print

to LPT2?

 

"Bill in Co." <not_really_here@earthlink.net> wrote in message

news:%23gZXBpUiIHA.3556@TK2MSFTNGP04.phx.gbl...

> I'm trying to print a .prn file, using the copy command, to a USB printer,

> and following the appropriate copy command syntax religiously.

>

> I get this weird error, even after allowing my printer to be shared (and

> giving it a share name, etc). Anyone know what's wrong? I've been

> searching for the solution via Google, so far, no go.

Guest Ken Blake, MVP
Posted

Re: File and Printer Sharing error: "The network location cannot be reached"

 

Re: File and Printer Sharing error: "The network location cannot be reached"

 

On Tue, 18 Mar 2008 16:48:55 -0600, "Bill in Co."

<not_really_here@earthlink.net> wrote:

> I'm trying to print a .prn file, using the copy command, to a USB printer,

> and following the appropriate copy command syntax religiously.

>

> I get this weird error, even after allowing my printer to be shared (and

> giving it a share name, etc). Anyone know what's wrong? I've been

> searching for the solution via Google, so far, no go.

 

 

 

Set the printer to Shared, and make note of the name that you give it.

 

Then go to Start | Run, and enter the line

 

NET USE LPT1 \\name of your computer\shared name of printer

 

You will now be able to issue the command

 

COPY /b \path\filename.prn LPT1:

 

 

--

Ken Blake, Microsoft MVP - Windows Desktop Experience

Please Reply to the Newsgroup

Posted

Re: File and Printer Sharing error: "The network location cannot be reached"

 

Re: File and Printer Sharing error: "The network location cannot be reached"

 

That might be a problem if the OS is WinXP.

WinXP won't let you capture LPT1. You'll have to use LPT2 or LPT3 etc.

I'm not sure about Vista. I've never used it.

 

This might work too (if used on the same PC where the shared USB printer is

installed):

net use lpt2 \\127.0.0.1\printer

where printer = the name of shared printer

 

 

"Ken Blake, MVP" <kblake@this.is.an.invalid.domain> wrote in message

news:hjk0u312go1uran4jgrsvd2js9nuqd9qms@4ax.com...

>

> Set the printer to Shared, and make note of the name that you give it.

>

> Then go to Start | Run, and enter the line

>

> NET USE LPT1 \\name of your computer\shared name of printer

>

> You will now be able to issue the command

>

> COPY /b \path\filename.prn LPT1:

>

>

> --

> Ken Blake, Microsoft MVP - Windows Desktop Experience

> Please Reply to the Newsgroup

Guest Nepatsfan
Posted

Re: File and Printer Sharing error: "The network location cannot be reached"

 

Re: File and Printer Sharing error: "The network location cannot be reached"

 

"Bill in Co." <not_really_here@earthlink.net> wrote in message

news:%23gZXBpUiIHA.3556@TK2MSFTNGP04.phx.gbl...

> I'm trying to print a .prn file, using the copy command, to a USB printer, and

> following the appropriate copy command syntax religiously.

>

> I get this weird error, even after allowing my printer to be shared (and

> giving it a share name, etc). Anyone know what's wrong? I've been

> searching for the solution via Google, so far, no go.

>

 

 

For a USB printer, try the following substituting the correct info for File.prn

along with the name of your computer and printer.

 

COPY /B File.prn \\computername\printer

 

Take a look at this article for references.

 

Printing a .PRN file

http://askbobrankin.com/printing_a_prn_file.html

 

Good luck

 

Nepatsfan

Guest Bill in Co.
Posted

Re: File and Printer Sharing error: "The network location cannot be reached"

 

Re: File and Printer Sharing error: "The network location cannot be reached"

 

OK, that's the error I made. Thanks.

I used the /B (binary copy switch) AFTER the file name, instead of BEFORE

the file name. Seems kinda weird that one switch (/B) goes BEFORE the

file name, but that seems to work. (Well, on second thought, maybe it's

not so weird. I'll have to think about that. :-)

 

And I didn't have to use LPT1 or LPT2 or "NET USE", fortunately (which

simplifies things). (Why not, I have no idea, but this works).

 

Thanks to all.

 

Nepatsfan wrote:

> "Bill in Co." <not_really_here@earthlink.net> wrote in message

> news:%23gZXBpUiIHA.3556@TK2MSFTNGP04.phx.gbl...

>> I'm trying to print a .prn file, using the copy command, to a USB

>> printer,

>> and following the appropriate copy command syntax religiously.

>>

>> I get this weird error, even after allowing my printer to be shared (and

>> giving it a share name, etc). Anyone know what's wrong? I've been

>> searching for the solution via Google, so far, no go.

>>

>

>

> For a USB printer, try the following substituting the correct info for

> File.prn along with the name of your computer and printer.

>

> COPY /B File.prn \\computername\printer

>

> Take a look at this article for references.

>

> Printing a .PRN file

> http://askbobrankin.com/printing_a_prn_file.html

>

> Good luck

>

> Nepatsfan


×
×
  • Create New...