Solved

WAN printing via RDP

Posted on 2012-03-27
12
987 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:The_Warlock
The_Warlock 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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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…

744 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

16 Experts available now in Live!

Get 1:1 Help Now