Combine all documents With PDFCombineProX and Ruby

Please, download and install PDFCombineProX. Using the sample code below you will be able to PDF files.

 

  Example Ruby:

require 'win32ole'
c = WIN32OLE.new('PDFCombine.PDFCombineProX')

src="C:\\test\\test1.xlsx\nC:\\test\\test2.docx";
dest="C:\\test\\DestCombine.pdf";

c.convert(src,dest, "-c PDF -log c:\\test\\PDFCombine.log");

if not File.exist?(dest)
  puts c.ErrorMessage
end

If you need examples on other languages please contact us. We will create any example specially for you.