Re: PDF shell - batch opener
The shell command is a VB function that allows you to execute an external program. It has nothing to do with Excel or Adobe.
If the target program accepts command line parameters to perform the function you desire then you can use shell with the required parameters to make any program do as you wish so long as the program in question provides the interface for the command line parameters/switches needed.
Re: PDF shell - batch opener
You can license the SDK (supposedly) from Adobe.com, but if you talk about it, they KILL you
Re: PDF shell - batch opener
Hello,
So i have a way around it, im using the shellexecute, as seen by the following:
Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
ShellExecute Me.hwnd, "print", "c:\etc.pdf", vbNullString, vbNullString, SW_SHOW
My next question is, can i specify printing parameters when using this? im particulary interested to specify the paper orientation and paper size?
Thanks,
Jac
Re: PDF shell - batch opener
If you set the printer FIRST, the settings should remain for the remaining jobs in the queue