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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.


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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Causes of paper jams:The following are the main causes of paper jams. Guides:If the guides for the paper are not set correctly they may cause the paper to enter at an angle. You should ensure that the guides are set correctly for the paper type a…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

634 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