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@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:hjk0u312go1uran4jgrsvd2js9nuqd9qms@xxxxxxxxxx

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


.



Relevant Pages

  • Remote Printing from a DOS app
    ... The program prints to LPT1, LPT2 and LPT3. ... On the local network, this is not ...
    (microsoft.public.windows.terminal_services)
  • Re: printready() in WinXP return TRUE, but there is no printer
    ... >WinXP, there is no printer nor on LPT1, neither on LPT2 ... >LPT1 & LPT2 ports also not redirected to any network printer. ... valusoft AT optusnet DOT com DOT au ...
    (comp.lang.clipper)
  • Re: Druckerinstallation schlägt fehl, LPT1: (Standard TCP/IP-Port)
    ... bei der Installation eines Canon BJC-250 an LPT1: unter WinXP ... Druckerinstallation den LPT1: als Standard TCP/IP-Port meldet. ... Sooo kaputt kann Windows gar nicht sein! ...
    (de.comp.hardware.drucker)
  • LPT1 Missing
    ... found LPT1 is missing. ... Then there is a LPT2 and LPT3 that ... but says there was an error installing. ...
    (microsoft.public.windowsxp.general)
  • Re: Dos programs usage on printing lpt1 & lpt2 ports.
    ... IF the "old program" will only print to LPT1. ... Then the thing to do is have the printers physically attached to LPT2 and LPT3,share them, then NET USE LPT1 \\computername\sharedprintername for which ever printer you want to print the output. ... Printer that is hooked with LPT2 Port. ... All printers; Lpt1 & Lpt22, will work flowlessly with any Window base programs. ...
    (microsoft.public.win2000.general)

Quantcast