I am currently working on a process where I am printing all email in a folder.
I manage to retrieve the emails, and also click on the print button.
However, I am not able to get a return value which tells me wether the mail acctually was printed or not.
If possible, I would have wanted to read the printer queue, or at least check if the mail was sent to the queue.
I would also like to have a way of checking which printer that is currently default. And if the wrong printer is default, the program should set the correct one to default.
Can anyone help me out with these two problems?