Solved

WAN printing via RDP

Posted on 2012-03-27
12
990 Views
Last Modified: 2012-04-16
We have a 32 bit Windows 2008 Server (SP2) running Terminal Services and hosting an application.  Remote users can connect and run the application without problem.  The remote users can print to an HP network printer on their local LAN (192.168.2.0) without problem from their Windows 7 PC and they can print to printers on the remote network (192.168.0.0) using their terminal services connection.  They CANNOT print back to their local network printer from the terminal services session using either the redirected printer or a printer setup on the terminal server.  

Terminal server IP is 192.168.0.4 -- can ping remote printer at 192.168.2.30 but cannot print to it from the Windows printer.

Remote user PC (W7) can ping printer at 192.168.2.30 and printer at 192.168.0.202

Two locations are connected by a Sonicwall VPN and all ports are explicitly open through the VPN.  

The printer we are trying to print to is an HP P2035N using a PCL5 driver.  

Any ideas?
0
Comment
Question by:synetron
12 Comments
 
LVL 15

Assisted Solution

by:Robert Sutton Jr
Robert Sutton Jr earned 125 total points
ID: 37772363
0
 

Assisted Solution

by:treddy_karra
treddy_karra earned 125 total points
ID: 37776602
Make sure the "Local Resources" is enabled in the RDP Options ?
0
 
LVL 5

Accepted Solution

by:
OOsorio earned 250 total points
ID: 37777290
1 - The HP P2035N has to be defined, exist, in the workstations printer configuration.
2 - In the RDP Options of the workstation, make sure that under the Local Resources the Printers box is checked.
3 - Each persons AD profile on the WinServer 2008 must have under Environment the two boxes checked for Connect to client printer at logon and Default to main client printer.
0
 
LVL 2

Author Comment

by:synetron
ID: 37781408
Perhaps I was not clear.  We are not trying to use a terminal services printer redirection (though I mentioned that that also does not work).  We are trying to print from a W2008 terminal server to a remote network printer.  Does not work regardless of whether or not in a terminal session.  Meaning I cannot sit at the console of the W2008 and print to that printer.  But a user on that remote LAN can print to that printer.  All ports are open on the VPN.  

The printer driver is installed on the W2008 server (using the correct IP port), and on the PC which connects via RDP.  

I also cannot browse to the printer interface from the server although I can from the remote workstation.  I can ping it from both locations.

The cited AD values are already checked as are the RDP connection options.
0
 
LVL 5

Expert Comment

by:OOsorio
ID: 37781863
Try removing the printer from the WinServer 2008 on your network. Make sure you are VPN connected to the other network. Again do an add printer. Add printer as a Network Printer. The browse should see the printer.
0
 
LVL 2

Author Comment

by:synetron
ID: 37783064
It finds the IP (after some delay), and asks for driver, which I provide, and installs without error.  Never prints the test page.  Settings are identical to the Windows printer I deleted.
0
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 
LVL 5

Expert Comment

by:OOsorio
ID: 37783726
Maybe you could try a basic printer driver like LaserJet 4P, with less overhead.
0
 
LVL 5

Expert Comment

by:OOsorio
ID: 37783731
This only on the server side.
0
 
LVL 2

Author Comment

by:synetron
ID: 37784505
Tried 4P but didn't expect much since it didn't support network printing.  But also tried 4Plus which does support network printing and no luck there either.  

I tried telnet 192.168.2.30  9100 without success - times out.  When I do that on a local network printer it prints whatever I type from the telnet prompt (after aborting the telnet session).  

We have power cycled the printer just in case.
0
 
LVL 5

Assisted Solution

by:OOsorio
OOsorio earned 250 total points
ID: 37784543
Need to look at the routers. I'll get back to you.
0
 
LVL 2

Author Comment

by:synetron
ID: 37784564
Both routers are Sonicwall TZ100 with latest firmware.  VPN is up and all ports LAN/VPN and VPN/LAN open on both sides.  Certainly could be a problem there somewhere but not on the surface.  We are printing through another Sonicwall VPN with no difficulty.
0
 
LVL 2

Author Closing Comment

by:synetron
ID: 37853936
Problem required multiple resolution steps.  Printer had inherited a gateway from an earlier network config -- changed that to current gateway (primary resolution of problem).  User was connecting RDP session through public IP while printer was accessible only through VPN.  RDP client printers were named similar to the server based printer causing confusion.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now