Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Printing from terminal server to client

Posted on 2006-07-06
12
Medium Priority
?
832 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
10 Comments
 
LVL 39

Expert Comment

by:hdhondt
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.
0
 

Author Comment

by:amerretz
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?
0
 
LVL 39

Expert Comment

by:hdhondt
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
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

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

0
 

Author Comment

by:amerretz
ID: 17070505
Here is a little diagram.

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

Hope it helps.
0
 
LVL 39

Expert Comment

by:hdhondt
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.
0
 

Author Comment

by:amerretz
ID: 17072240
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
ID: 17072260
Internet routers will trash any packets destined for a private IP....
0
 

Author Comment

by:amerretz
ID: 17072263
I do not have a VPN...
0
 
LVL 39

Accepted Solution

by:
hdhondt earned 2000 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
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

How to solve seemingly unsolvable printer issues. Users sometimes run into printing issues where all the normal steps do not seem to work. Well the steps below can show users how to take one extra step beyond the normal steps needed to remove old…
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…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

564 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