Can't Do A Print Preview From Print Dialog? 追蹤
I am using a Trial version of Automation edition, version 10.1.
I am automating a label from Delphi 7 using the Active X interface, and it is working quite well with one odd exception.
If I call
I get the normal print dialog. The 'Print Preview' button on the dialog is enabled.
However, if I click the button, the print dialog just disappears and I am returned to the next statement in my program. Also, I have noticed that when I do this, and quit the program, even though the program is doing a .Quit on the application object, BarTender.exe keeps running in the background, which otherwise does not happen.
Programmatically doing a PrintPreview as: