how to convert ms word to pdf code example
Example 1: word to pdf
// In menu of word document select "File"
// Under File select "Print"
// In Print form, expand the "Printer" selection box.
// Select "Microsoft Print to PDF"
// Click "Print" and select a destination folder to save your PDF Document.
Example 2: phpword word to pdf
//DomPDF
save('document.pdf', 'PDF');