1
I think that it would be well worth your time to explore the Python Sphinx-Doc infrastructure but for just what you asked for you could simply use Pygments & rst2pdf:
With a python 3 installation you can simply pip install rst2pdf Pygmments rst2pdf will also install ReportLab.
Pygments is a syntax highlighting package written in Python.
It is a generic ...
1
have you tried : FreePDF for Windows - A simply and free virtual PDF printer
https://freepdf-xp.en.softonic.com/
or
https://freepdf.en.lo4d.com/windows
I have been using this for >10 years.
It will install a printer service(i.e. virtual printer) and if you click on menu-> printer(e.g. word or any), it will pop-up as a real printer and print your content ...
1
You can use the command line tool, docx2pdf to batch convert word documents to pdf on Windows or macOS: https://github.com/AlJohri/docx2pdf
Install:
pip install docx2pdf
Run:
docx2pdf myFolderOfWordDocs
Disclaimer: I wrote this tool.
1
I tried Chrome itself successfully.
This is the command line specimen I used:
chrome.exe --headless --print-to-pdf=out.pdf file:///input.html
Actual command line example (Windows):
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --headless --print-to-pdf=C:\reports\example.pdf file:///C:\reports\example.html
As usual you have to wrap ...
Only top voted, non community-wiki answers of a minimum length are eligible
Related Tags
pdf-generation × 47pdf × 29
pdf-editor × 8
gratis × 6
javascript × 4
document-converter × 4
windows × 3
linux × 3
library × 3
java × 3
c# × 3
pdf-viewer × 3
forms × 3
python × 2
.net × 2
ocr × 2
markdown × 2
documentation-generator × 2
vb.net × 2
open-source × 1
database × 1
html × 1
images × 1
php × 1
api × 1