In Acrobat 8.0, using VB.NET while printing a PDF file with printdialog , acrobat window shows and does not close after printing.
This behavior was not present with previous versions. Are there any commands that does not show the viewer using printdialog.
CODE :
Dim FrmPDFViewer As New frmPDFViewer()
FrmPDFViewer.pdfViewer.src = file_dir & file_name
FrmPDFViewer.pdfViewer.printWithDialog()
Your comments would be highly appreciated
Thanks in advance
Kelvin
You can use Windows APIs to "hide" it after the fact, but it will first pop up.
This can also be done via Javascript using a Trusted Function for silent printing. Look in the Acrobat JavaScript Reference for more information and samples:
http://www.adobe.com/devnet/acrobat/
Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.