Friday 8 August 2014

Printing documents on user's behalf from remote machine



In this post I will describe real requirements case of our customer (pharmaceutical company).

http://nalpharma.com/wp-content/uploads/2014/01/6.jpgGenerally the requirement was to improve printing performance by changing the way documents were printed through running print from remote Print Server. In previous configuration printing application was ran on RDP server where Role Tailored Client was installed, then the app sent a PDF document of medical specifications from Print Server remote machine (pretty large size) to user's default printer. To improve performance there could be an option to create a job queue and run NAS and Print Server which would send documents from queue directly to printer, but the following limitation made unsuitable such a nice option: the printer device had sophisticated security system which collected sent documents by all users to a queue, and only after user came to it and used an electronic security badge to perform authorization all the documents sent on user's behalf were printed. So after some research the following solution was applied: printing utility was ran on Printing Server instead of RDP server by using Windows Powershell Command:

where in argument list print device name and path to required document were passed.

So in the case it's absolutely required to run remote printing process on behalf of the user this solution can be applied due to it's simplicity and quite good performance and security.

No comments:

Post a Comment