Solved

Printing from terminal server to client

Posted on 2006-07-06
12
824 Views
Last Modified: 2010-04-12
Hi,

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...
0
Comment
Question by:amerretz
  • 6
  • 4
12 Comments
 
LVL 38

Expert Comment

by:Herman D'Hondt
Comment Utility
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.
0
 

Author Comment

by:amerretz
Comment Utility
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?
0
 
LVL 38

Expert Comment

by:Herman D'Hondt
Comment Utility
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
0
 

Author Comment

by:amerretz
Comment Utility
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.

0
 

Author Comment

by:amerretz
Comment Utility
Here is a little diagram.

ftp://kbssydney.dyndns.org/experts/Printing.JPG

Hope it helps.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 38

Expert Comment

by:Herman D'Hondt
Comment Utility
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.
0
 

Author Comment

by:amerretz
Comment Utility
Did you see the diagram????????

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

0
 

Author Comment

by:amerretz
Comment Utility
Internet routers will trash any packets destined for a private IP....
0
 

Author Comment

by:amerretz
Comment Utility
I do not have a VPN...
0
 
LVL 38

Accepted Solution

by:
Herman D'Hondt earned 500 total points
Comment Utility
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
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

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…
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

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

15 Experts available now in Live!

Get 1:1 Help Now