Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • Last Modified:

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

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
birenshukla
Asked:
birenshukla
1 Solution
 
aelegreCommented:
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
 
birenshuklaAuthor Commented:
I was able to do this using Hamachi software VPN which solved our issues without opening ports in the main office.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now