Hello Everyone, I kinda lost already at what I am doing

Here is the situation:

I need to display document in word format or print it programmatically.

Right now displaying and printing is already working but I just need to UNDISPLAY the print progress dialog and must do this inside the program.

why? Because if I am printing 10 separate documents, the progress dialog pops-up 10 times.

Is there a way to do this inside the program. What I found so far is to set the printers settings manually .

Thank you for any input/insights/suggestion ..