Printing from terminal server to client

Posted on 2006-07-06
Last Modified: 2010-04-12

I would like to print to from a terminal server back to a client computers local label printer.

The label printer will be connected to the client machine via USB and will be printing to a Generic Text Driver. I have found that when bringing across the printers via the RDP client that they do not appear on the terminal server through the session. Yes, I have installed the driver on both client and TS computers.

I would like to setup a TCP/IP port which prints via LPR to the client computer. I have heard this is a more reliable way to print over the internet back to clients local printer, RDP mapping the local printer in its session is not too consistent.

I have the option of using a netgear print server instead of USB on the label printer to connect on the client side.

Am I right in saying that on the client side. If I add a TCP/IP printer port and assign it to the printer server IP address of the label printer, then forward port 515 from my router to the print server. Create a dyndns address for the client side internet connection.

Terminal Server Side: Add a printer via a new TCP/IP port and type in the name of the dyndns address of the client connection as the IP address. Then select custom and use LPR with a print queue name of "LP", along with a generic text print driver.

With this setup, when I connect from the client to the terminal server and want to print from an application to the label printer, will this all work correctly?

Is this the right way to acheive reliable internet printing? Can someone please explain the steps?

Thank you...
Question by:amerretz
  • 6
  • 4
LVL 38

Expert Comment

ID: 17056469
Set the printer up with a print server, and ignore the local PC.

If you want to print from the server, all you need to do is create a standard TCP/IP port on the server for it. You have to make sure that the routers are set up to pass port 9100 or port 515 (lpr/lpd) traffic to the printers. You should not have to do anything to the client PC because, once the print server is installed, the local PC is no longer in the loop.

As far as the client is concerned, this is then just another printer attached to the server.

Author Comment

ID: 17065480
Ok, what I have done so far is this...

Print Server side: Fowarded both ports 9100 & 515 to printers IP address x.x.x.x.

Client Computer: Added a new printer using a standard TCP/IP port with the internet IP addess of the router my print server is connected to.  I have selected RAW with port 9100 in the custom options. I have installed the correct driver from the manufacturers website.

Tried a test page and it goes to the print queue then receives an error. The print job constantly restarts itself and receives a print error until I physically cancel it from the queue.

Is there something I am getting wrong here?
LVL 38

Expert Comment

ID: 17069622
Why do you use the IP addrss of the router instead of that of the printer? The port will send direct to the printer, not to the router. Please change the Standard TCP/IP port to use the printer's IP address

Author Comment

ID: 17070383
The terminal sever is located at a different physical location to the client computer which is logging into the TS. They each have internet connections and sperate routers. The printer I am trying to print to is located on the client side.

I want to create a port on the TS side to print via TCP/IP, over the internet, hit the client side router, and have the router forward the packets to the printers IP address on the client side.

I am doing this so that when I login to the terminal server from the client (over the internet), I can print back to my local printer.

Sorry for the misunderstanding.


Author Comment

ID: 17070505
Here is a little diagram.

Hope it helps.
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.

LVL 38

Expert Comment

ID: 17070834
The router is transparent to the network traffic. You need to send the packets to the printer and that's why the Standard TCP/IP Port you create has to use the IP address of the printer. The Standard TCP/IP Port uses the LPD (port 515) or Appsocket (port 9100) protocols, which are printer protocols, and have nothing to do with the router.

Have you tried giving the Standard TCP/IP port the IP address of the printer?

The only thing you may have to do is to make sure the router does not block those ports. Some routers are set that way, but again this has nothing to do with the IP address used in the Standard TCP/IP port.

Author Comment

ID: 17072240
Did you see the diagram????????

How can I add a printer to the terminal server (TCP/IP port) and send it to on a totally different network across the internet??? It wont work!


Author Comment

ID: 17072260
Internet routers will trash any packets destined for a private IP....

Author Comment

ID: 17072263
I do not have a VPN...
LVL 38

Accepted Solution

hdhondt earned 500 total points
ID: 17077732
Now it's starting to make some sense: you don't have a VPN. As your drawing shows different subnets for the 2 locations, I automatically assumed a VPN. However, you method still won't work.

There are a couple of things you can do.

1. Install a VPN

2. Some printers allow you to send print jobs to them via email. Check if your printer supports that

3. Use IPP (internet printing protocol). This can be done either via a PC server, or direct to the printer - if it supports it

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you use a Brother DCP 130C or similar Brother printer, at some point you might encounter the following problem: after you change the ink cartridge, the printer displays an "ink empty" message. Sometimes you just need to follow the instructions…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
A short film showing how OnPage and Connectwise integration works.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

948 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

20 Experts available now in Live!

Get 1:1 Help Now