question

FrankVanEygen-7858 avatar image
0 Votes"
FrankVanEygen-7858 asked CeasarChenMSFT-3458 edited

Print a PDF using Foxit ActiveX SDK pro

Does anybody have experience with Foxit ActiveX SDK pro in Excel VBA?
I would like to print a PDF silent using Foxit ActiveX SDK pro but I can not even open the PDF.

Can somebody please help?

The code I have for now is this, but it does not work:

 Sub Test_Foxit_Print()
     Dim s As String
     Dim sCmd As String
     Dim PDFPrinter As FoxitPDFSDKProLib.PDFPrinter
     Dim sPDFfile As String
    
     Set PDFPrinter = CreateObject("FoxitPDFSDKProLib.PDFPrinter")
     sPDFfile = "C:\Users\frank\Documents\PDF files\Test Frank.pdf"
     Call PDFPrinter.printWhat(0, sPDFfile)
     Call PDFPrinter.PrintQuiet(sPDFfile)
    
 End Sub
office-vba-devoffice-excel-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, @FrankVanEygen-7858
Foxit ActiveX SDK pro is not a Microsoft product. The Q&A forum supports Microsoft products, and I'm in charge of Office General issues. It is recommended that you obtain relevant information through other channels.

0 Votes 0 ·

1 Answer

JohnKorchok avatar image
0 Votes"
JohnKorchok answered

FoxIt Pro is not a Microsoft product. Here is their SDK support page, where you may find an answer to your problem: https://developers.foxit.com/developer-hub/

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.