Also we would like to display print dialog (windows) box when we call Print API, as currently when we call print, it prints immediately without displaying the print window or dialog.
One Response to “how to prompt user to print ms word”
Leave a Reply
You must be logged in to post a comment.
August 28th, 2009 at 1:10 am
you can call the follow method to replace the PrintOut method.
OA1.ShowDialog 4
typedef enum ShowDialogType
{
DialogNew = 0,
DialogOpen,
DialogSave,
DialogSaveCopy,
DialogPrint,
DialogPageSetup,
DialogProperties
} ShowDialogType;