Author | Topic: Printing with Acrobat control | |
---|---|---|
Rudolf Reinthaler | Printing with Acrobat control on Mon, 27 Aug 2012 17:51:45 +0200 Hello, has someone a sample how to open a pdf file with acrobat control without any dialog and printing to a defined printer (not standard printer) ? regards Rudolf | |
Thomas Braun | Re: Printing with Acrobat control on Tue, 28 Aug 2012 08:11:47 +0200 Am Mon, 27 Aug 2012 17:51:45 +0200 schriebst du in public.xbase++.activex: > Hello, > has someone a sample how to open a pdf file with acrobat control without > any dialog and printing to a defined printer (not standard printer) ? FWIW, this should be a good starting point on how to automate Acrobat & Acrobat Reader in general: http://www.adobe.com/devnet/acrobat/interapplication_communication.html | |
AUGE_ OHR | Re: Printing with Acrobat control on Tue, 28 Aug 2012 10:30:29 +0200 hi, > has someone a sample how to open a pdf file with acrobat control without > any dialog and printing to a defined printer (not standard printer) ? http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat10_SDK_HTMLHelp&file=DevFAQ_UnderstandingSDK.22.31.html The following switches are available: a.. /n - Launch a new instance of Reader even if one is already open b.. /s - Don't show the splash screen c.. /o - Don't show the open file dialog d.. /h - Open as a minimized window e.. /p <filename> - Open and go straight to the print dialog f.. /t <filename> <printername> <drivername> <portname> - Print the file the specified printer. BUT : After printing from command line, adobe will leave aleast one window open which can hang your script. open a non related pdf or adobe window. it might have change in never Version so search for your Version greetings by OHR Jimmy | |
Rudolf Reinthaler | Re: Printing with Acrobat control on Tue, 28 Aug 2012 16:23:50 +0200 Hello, thank you all, found also in JAZZE some code for printing. regards Rudolf Am 28.08.2012 10:30, schrieb AUGE_ OHR: > hi, > >> has someone a sample how to open a pdf file with acrobat control without >> any dialog and printing to a defined printer (not standard printer) ? > > http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat10_SDK_HTMLHelp&file=DevFAQ_UnderstandingSDK.22.31.html > > The following switches are available: > a.. /n - Launch a new instance of Reader even if one is already open > b.. /s - Don't show the splash screen > c.. /o - Don't show the open file dialog > d.. /h - Open as a minimized window > e.. /p <filename> - Open and go straight to the print dialog > f.. /t <filename> <printername> <drivername> <portname> - Print the file > the specified printer. > BUT : > After printing from command line, adobe will leave aleast one window open > which can hang your script. open a non related pdf or adobe window. > > it might have change in never Version so search for your Version > > greetings by OHR > Jimmy > > |