Confirmation of printed email

outlook

#1

Hello!

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?


#2

Hello there .
Does this help !


#3

Thanks,

I have looked at it, and it don’t quite understand the steps to recreate it. I’ll take a closer look at it today, but invoking my own VBA code isn’t my strongest side yet.