Re: Removing a printer port

From: Ron Lowe (ron-msng_at_{d.e.l.e.t.e.}lowe-family.me.uk)
Date: 06/05/04


Date: Sat, 5 Jun 2004 09:24:26 +0100


"The One" <TheOne@nowhere.com> wrote in message
news:Xns94FF5978F9F38TheOnenowhere@207.46.248.16...
> Hi All,
>
> A friend has recently upgraded his PC from Win95 to XPHE. He has an old
DOS
> based application that prints to a matrix printer which works fine but it
> will only print on LTP1,2, or 3.
>
> The new PC only has USB connections so he bought a PCI card which connects
> the printer to a USB port and this works from a window application where
> you can choose the printer. The DOS application will only print to LPT1,2,
> or 3. I suggested he needs to re-install the card and assign it to on of
> these ports but he can not delete an existing LPTx port to assign it to
the
> card. He keeps getting an error saying the port can not be removed.
>
> Can anyone tell me how he can remove the port on either LPT1,2, or 3 ?
>
> TIA
> John Theone

I doubt you will be able to make the USB printer directly visible
to an old DOS-based application.
But here's a trick that _may_ work...

We are going to access it via the network redirector,
even though it's not on a network, it's on the local machine...

-Ensure the printer is working from within windows;
-Share the printer, even if you are not on a network;
    ( if there's no physical LAN card in the machine,
    you may need to install the 'loopback adapter' to
    get file and print sharing options to appear.)
-Give the printer a share name.
-Then issue the command:
    net use LPT1 \\pc-name\share-name

Then issue the command "net use".
Look to see if it worked.
This is the output on my machine, see how LPT1 is now
mapped to a shared printer on the same machine...

Status Local Remote Network
----------------------------------------------------------------------------

---
OK           LPT1      \\rons-pc\epson           Microsoft Windows Network
Printing from the dos app to LPT1 should now be captured and sent to
the network printer which just happens to be on this same machine.
No guarantees, but worth a try.
-- 
Best Regards,
Ron Lowe
MS-MVP Windows Networking


Relevant Pages

  • Re: Unable to open shared files on wireless network
    ... Windows XP PRO and a laptop also running Windows XP PRO. ... open the file and to check network connections etc. ... internet and my wireless card would not connect to my network. ...
    (microsoft.public.windowsxp.network_web)
  • Field Engineers Toolkit
    ... client site, troubleshoot the problem on the Windows boxes & find no issues, ... device and fail because they lack the correct tools to a)troubleshoot network ... not have all of these programs on your laptop. ... space, plenty of RAM, a network port, a modem port, wireless capability, and ...
    (microsoft.public.windows.server.networking)
  • Re: Unable to open shared files on wireless network
    ... Windows XP PRO and a laptop also running Windows XP PRO. ... open the file and to check network connections etc. ... internet and my wireless card would not connect to my network. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Unable to open shared files on wireless network
    ... Windows XP PRO and a laptop also running Windows XP PRO. ... open the file and to check network connections etc. ... internet and my wireless card would not connect to my network. ...
    (microsoft.public.windowsxp.network_web)
  • RE: Printing from Win9x clients stops
    ... since this issue only occurs on all Windows 9x ... Open Server Management Console, ... Verify basic network connectivity. ... >> Create a local printer and in the Ports section, ...
    (microsoft.public.windows.server.sbs)

Loading