Hi,

my company is using an application that runs on a Windows 20003 Server. It is written in Java. There is a configuration file where a printer name can specified - no printer dialog is shown at all, only this printer is used.

And here is my problem: The program is used by three different persons - one is using the softare directly logged in on the server and the other two are connected using the MS Terminal Server Client.
They are all located on different locations and have their own printer. Additionally they are working (and printing) with that software at the same time.

This is really annyoing for them, so I want to develop a solution for them. I would really prefer a quick solution and also prefer to use a .NET language. If it can only be realize using C++, this will be possible as well.

These are the two ways I think it can be realized (maybe you know another one?)
  • Creating a virtual printer or a printer port just like this one
  • Creating a disabled default printer and then moving the printjobs programatically from the disabled printer to the right one - dependent on the username who created the job


Maybe the second solution is the easier and safer one? What would you propose?

Thank you in advance!