Sonic007 Posted June 28, 2022 Posted June 28, 2022 Hi, Does anyone know of a good way to convert Word documents to PDF. We have about 700 documents that need PDF'ing. Thanks all.
TechMonkey Posted June 28, 2022 Posted June 28, 2022 Powershell? $documents_path = 'c:\doc2pdf' $word_app = New-Object -ComObject Word.Application # This filter will find .doc as well as .docx documents Get-ChildItem -Path $documents_path -Filter *.doc? | ForEach-Object { $document = $word_app.Documents.Open($_.FullName) $pdf_filename = "$($_.DirectoryName)\$($_.BaseName).pdf" $document.SaveAs([ref] $pdf_filename, [ref] 17) $document.Close() } $word_app.Quit() From https://stackoverflow.com/questions/16534292/basic-powershell-batch-convert-word-docx-to-pdf 1
DalekSec Posted June 28, 2022 Posted June 28, 2022 Adobe? I can right click on multiple Docx files in file explorer and hit convert to Adobe PDF, then it goes through them. Do have to save each one manually so will take a bit of time. But with 700 its going to take awhile no matter what! 2
slugshead Posted June 28, 2022 Posted June 28, 2022 Ctrl + A > right click > Convert to Adobe PDF * Requires Acrobat Pro
mavhc Posted June 28, 2022 Posted June 28, 2022 Simplest? Install pdf printer that can be configured to auto save, select multiple, right click, print I used https://github.com/AlJohri/docx2pdf which I've modifed to also do pdf2docx 1
Sonic007 Posted June 28, 2022 Author Posted June 28, 2022 Ctrl + A > right click > Convert to Adobe PDF * Requires Acrobat Pro Yeah that would be good but don't have Adobe Pro. - - - Updated - - - I tried the Print to PDF printer but it will only let you select about 10 files at a time. Any more and the Print option dissapears.
DalekSec Posted June 28, 2022 Posted June 28, 2022 Print them out, scan to PDF? You joke, we legit had a PE teacher do this awhile back
robyholmes Posted June 28, 2022 Posted June 28, 2022 Microsoft Flow can do this too. We use it to export school policies automatically ready for the website. Now just need to get it to replace them on the website!
mavhc Posted June 28, 2022 Posted June 28, 2022 Print them out, scan to PDF? What's the opposite of Thank Post?
Danp Posted June 28, 2022 Posted June 28, 2022 You joke, we legit had a PE teacher do this awhile back Seen this too
andy_b Posted June 28, 2022 Posted June 28, 2022 https://www.gmayor.com/document_batch_processes.htm (Merge and split is useful too https://www.gmayor.com/MergeAndSplit.htm)
fiza Posted June 28, 2022 Posted June 28, 2022 We use the method 1 (vb script) shown on this site. Works really well. https://www.winhelponline.com/blog/how-to-batch-convert-word-documents-into-pdf-files/ 1
Sonic007 Posted June 29, 2022 Author Posted June 29, 2022 Thanks all. I ended up finding a free piece of software called MultiDoc Convertor made by Pawel Idzikowski. This does the job and doesnt add any watermarks or have any limits so is great!
jthompson Posted June 29, 2022 Posted June 29, 2022 Format Factory has this option. Never actually tried it for docx to pdf, but it's my goto for any bulk transcoding. 1
3s-gtech Posted June 29, 2022 Posted June 29, 2022 In PS: # Acquire a list of DOCX files in a folder $Files=GET-CHILDITEM "\\server\share\foldersource\*.DOCX" -Recurse $Word=NEW-OBJECT –COMOBJECT WORD.APPLICATION Foreach ($File in $Files) { # open a Word document, filename from the directory $Doc=$Word.Documents.Open($File.fullname) # Swap out DOCX with PDF in the Filename $Name=($Doc.Fullname).replace("docx","pdf") # Save this File as a PDF in Word 2010/2013/2016/2019/2022 $Doc.saveas([ref] $Name, [ref] 17) $Doc.close() } 1
Sonic007 Posted June 30, 2022 Author Posted June 30, 2022 Thanks all. MultiDoc convertor sorted me out.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now