Cannot print if showdialog is false.

I have written an application that uses edrawings to print solidworks drawings.  the application goes from one drawing to the next when the printing of one drawing is complete.  This works fine if the showdialog parameter is true, but this requires the user to click the ok button within the print dialog.  Is there a trick to getting the drawing to print without this user action?

SolidworksEdrawings