Solved

Can I share a printer using a logon script that was created from an RDP Session?

Posted on 2010-09-22
2
454 Views
Last Modified: 2013-11-21
Our client has a terminal server that they RDP into from multiple sites. One site's firewall died and was replaced by a basic router by the ISP. There was a VPN setup so that the users could print from a dos based program back to their local printers. The program can only print to lpt printers, so we have to use a login script with something like net use lpt1 \\computer\printer so they can print to their printer.

The problem is now without the VPN the server cannot print back to the local client printer (they are setup manually on the server and shared so we can map them to an lpt port using a login script). What I want to know is if it is possible to create a login script of some kind to take the client's default RDP session created printer and share it, so that we can map the printer to an lpt port for printing to work. Setting up a VPN on the server or replacing the dead firewall with a new one would solve the issue, but due to cost and other reasons I want to set it up without doing so if possible.
0
Comment
Question by:birenshukla
2 Comments
 
LVL 3

Expert Comment

by:aelegre
ID: 33741594
The only solution I could come up with was a software app called PrintFil: http://www.printfil.com
It has a free trial and with it I was able to re-direct output from LPT1 to an auto-created printer with a virtual port (TS001). I turned off 'choose' and 'preview' in the options so it just sends the job to the printer without prompting. I'd say if there's a tool out there that costs $$$ to do this then odds are a free solution would be hard to come by but maybe somebody else knows of one. I looked at NET USE and CHANGE PORT and neither of them looked like they can do what you need.


 
0
 

Accepted Solution

by:
birenshukla earned 0 total points
ID: 33853228
I was able to do this using Hamachi software VPN which solved our issues without opening ports in the main office.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
Know what services you can and cannot, should and should not combine on your server.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

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

12 Experts available now in Live!

Get 1:1 Help Now