• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 710
  • Last Modified:

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.

2 Solutions
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
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.

Identify and Prevent Potential Cyber-threats

Become the white hat who helps safeguard our interconnected world. Transform your career future by earning your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

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 (http://www.cisco.com/en/US/products/hw/vpndevc/ps2284/products_configuration_example09186a00806f34e6.shtml#byname)

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 leavingcisco.com 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?

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Become an IT Security Management Expert

In today’s fast-paced, digitally transformed world of business, the need to protect network data and ensure cloud privacy has never been greater. With a B.S. in Network Operations and Security, you can get the credentials it takes to become an IT security management expert.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now