I need a windows application which when installed in a computer, handles print configuration differently.
Say for example, I am booking an airlines ticket from booking.com. Once ticket is booked, we can print the ticket using the default printer configured for the system. This is the default functioning currently.
Now, I want an application which uses Smartcard to alter this configuration. When Smartcard is swiped in to the card reader, instead of printing the ticket to the default physical printer, it should print to a file (a .jpg image in particular) and get saved to a network location. No dialogue box should appear asking to select the printer and location to save the file.
This means, when there is no Smartcard used, hitting ctrl+p should print a physical copy of the file. But when, Smartcard is swiped in, instead of physically printing, the file instantly gets saved to a network location as a jpg image and there should be no manual intervention required (i.e. no dialog box).
The network path should be predefined. The file should be saved to this drive but to a folder which is nothing but Smartcard number (say 16-digit card number). For example, say printer in this case is configured to drop the files to a network path: C:/temp. The Smartcard has a value say, 1234567890123456. So, this file should be saved to folder:
There is no constraint on programming language being. You can code in Java, .NET whatever you please.
Let me know, if you face difficulty in understanding of the exact requirement.