Hello all.
I have a call to ShellExecute within my VFP 7.0 app that opens a PDF that resides on a website. here is that code:
This works like a charm and opens up the PDF.
My question is...can I now programatically 'print' this page, ie, call something like javacript.window.print()?
I would like it to automatically print when the pdf opens.
Any and all help is appreciated!![[pipe] [pipe] [pipe]](/data/assets/smilies/pipe.gif)
CMCC
I have a call to ShellExecute within my VFP 7.0 app that opens a PDF that resides on a website. here is that code:
Code:
DECLARE INTEGER ShellExecute IN shell32.dll ;
INTEGER hndWin, ;
STRING cAction, ;
STRING cFileName, ;
STRING cParams, ;
STRING cDir, ;
INTEGER nShowWin
cFileName = "[URL unfurl="true"]http://seminoletax.org/Tags/Forms/82040.pdf"[/URL]
cAction = "open"
ShellExecute(0,cAction,cFileName,"","",1)
This works like a charm and opens up the PDF.
My question is...can I now programatically 'print' this page, ie, call something like javacript.window.print()?
I would like it to automatically print when the pdf opens.
Any and all help is appreciated!
![[pipe] [pipe] [pipe]](/data/assets/smilies/pipe.gif)
CMCC