Remote printing using CISCO VPN

I'm trying to add a remote printer using my local printer for printing my remote connections documents. I've seen a few success stories of people using LPT1: but I'm having problems trying to get it to work for my situation.

I have an HP PSC2510 not connected to LPT1: but using a TCP/IP port of PSC2510, the printer has been shared with a share name of vpn_psc250.

I'm trying the following but with no success (net use PSC2510 \\kyhost00\vpn_psc250 /persistent:yes)

So, is it possible to get this thing going? When I print from my remote computer it seems happy with a printer on LPT1: so I guess I need a way to remap LPT1: to my TCP/IP port, can this be done?

Thanks for any light you can shed.

LVL 13
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You might need to edit the registry on the client computers to allow redirection of printers attached to network ports.  Normal redirection only applies to printers attached to COM and LPT ports. Here's the registry value you need to change:

HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client\Default\Addins\RDPDR

Value Name: FilterQueueType
Value type = REG_DWORD
Hex value: 0xffffffff

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Yes, there is a setting on a VPN Concentrator. It was a checkbox "allow local LAN access" for the client group, or it might have been moved to the split-tunneling policy section in the newer releases.

"To configure the Allow Networks in List to Bypass Tunnel option, choose **VPN Client Local LAN from the Split Tunnel Network List menu**
i suppose you can ping your office pc's from vpn. and can browse file shares via vpn.

if yes, then to print to remote printer as from lpt1 (needed for old DOS apps)
net use lpt1: \\server\printername [/persistent:yes]-if needed

if you want to add tcp printer port (do not want to use shared printer), please check that your vpn box allows port 9100 through.
because when you create standart (or any other) tcp/ip printer port, windows in most cases use port 9100 to exchange data with printer port. sure thing, port's ip address should be the same as for pc's in your office.

The IT Degree for Career Advancement

Earn your B.S. in Network Operations and Security and become a network and IT security expert. This WGU degree program curriculum was designed with tech-savvy, self-motivated students in mind – allowing you to use your technical expertise, to address real-world business problems.

nike_golfAuthor Commented:
It does appear from the client that I have the option to "allow local LAN access" how then is the printer setup, do I simply install the printer driver and away we go?


yepp, you vpn client virtually a part of your local network. so you install printer as usually.
nike_golfAuthor Commented:
Sorry another question related...

Reading through the Cisco site it appears I can edit the LMHOSTS file for local access to the printers (

from the doc:


Unable to Print or Browse by Name

When the VPN Client is connected and configured for local LAN access, you cannot print or browse by name on the local LAN. There are two options available to work around this situation:


      Browse or print by IP address.

            In order to browse, instead of using the syntax \\sharename, use the syntax \\x.x.x.x where x.x.x.x is the IP address of the host computer.

            In order to print, change the properties for the network printer to use an IP address instead of a name. For example, instead of the syntax \\sharename\printername, use \\x.x.x.x\printername, where x.x.x.x is an IP address.

      Create or modify the VPN Client LMHOSTS file. An LMHOSTS file on a Windows PC allows you to create static mappings between hostnames and IP addresses. For example, an LMHOSTS file might look like this:


      In Windows XP Professional Edition, the LMHOSTS file is located in %SystemRoot%\System32\Drivers\Etc. Refer to your Microsoft documentation or Microsoft KB Article 314108 for more information.


Do I need to share the printer and modify the LMHOSTS file or can I simply modify the LMHOSTS file?

nike_golfAuthor Commented:
I think I'm making some progress but am a little stumped?

After checking to "allow local LAN access" I'm still not able to ping the local LAN and it doesn't show up in the Route Details in the VPN client. So, there is another step somewhere...

In the link above there is a section called "Configure the VPN Concentrator" and it has a check box "Allow the networks in the list to bypass the tunnel" I'm guessing that this can't be done from the client only on the concentrator??? or is this in the .pcf file, can I simply add an item to it and get rolling?

How do I go about doing this?
nike_golfAuthor Commented:
I'm still trying to get this going, since I don't have access to the Concentrator I'm wondering if this can be done.


I'm curious about your post. Can you explain a little more on how this will work?

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Printers and Scanners

From novice to tech pro — start learning today.