Anyone knows how to prevent the printer dialog shown up. Thanks in advance.
Printable View
Anyone knows how to prevent the printer dialog shown up. Thanks in advance.
Do you mean from within crystal reports ? Set the output property to printer???????????????????
When you want to print a word document to a printer, it will pop up a dialog to set up pages, printer, and so forth. Anyway, in my program, it involves with MS Word and it will print several documents. Everytime, before it prints out, it pop up that dialog. How can I hide that dialog? Thanks.
Being far out of my depth here (and since when did that stop anyone on this board?) I will note that in word the diaglog only pops up when you go thru the menu system. If you click on the little printer icon, it just does it.
I assume that you are printing from program code, but would it be possible to find the shortcut key for the printer? Sort of like clicking the printer icon rather than going thru the menu.
Hope this helps
Good Luck
DerFarm
I think the shortcut for the printer is CTRL+P, but I think it will then fire the menu Printing, so the dialog will pop-up..Quote:
would it be possible to find the shortcut key for the printer?
Show us the code, maybe I can find some constants for not showing the dialog.
Ok presumably you have opened word as an object in vb. Therefore there should be a couple of properties that you could set to achieve what you want.