I have written a web form that needs to change the default printer during the run based on a file that the machine uses,
so when a user fills out the form and hit the print button, the app checks the file for the machine name and then checks the file for the appropriate printers,
it then needs to change the default printer to the printer name on the file.using the printfile application which is set to use the default printer.
unless anyone is familiar with printfile to change the printername in that.
I tried the setdefaultprinter() Method but it isn't chnaging the default printer.
Thanks in advance