i use this copde to print a pdf file
...
Dim lngRet As Long
lngRet = ShellExecute(0, "print", PATHPDF, vbNullString, vbNullString, SW_SHOWNORMAL)
...
but i need to dont show the Acrobat window, i need need in a silent mode!
Peraphs i neeed to use SW_HIDE
hide windows
-
- Administrator
- Posts: 77253
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- PlatinumLounger
- Posts: 4266
- Joined: 26 Apr 2010, 17:36
-
- Administrator
- Posts: 77253
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- PlatinumLounger
- Posts: 4266
- Joined: 26 Apr 2010, 17:36
-
- PlatinumLounger
- Posts: 4266
- Joined: 26 Apr 2010, 17:36
-
- Administrator
- Posts: 77253
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
-
- 4StarLounger
- Posts: 449
- Joined: 27 Jun 2021, 10:46
Re: hide windows
>print a PDF without Acrobat program
If the PDF is not too complicated*, you can load it into Word and print from there. You can do all this through automation.
*If the document is complex you might lose some of the fidelity that a PDF is meant to ensure, I.e what you print out may differ in layout from the input
If the PDF is not too complicated*, you can load it into Word and print from there. You can do all this through automation.
*If the document is complex you might lose some of the fidelity that a PDF is meant to ensure, I.e what you print out may differ in layout from the input