netPDF on the command line
For batch processing and scripts, netPDF also runs without a user interface. The return value indicates the result.
Commands
netPDF --validate rechnung.pdf --report=bericht.html
netPDF --rechnungen eingang
netPDF --convert rechnung.xml peppol.xml Peppol
netPDF --zugferd rechnung.pdf rechnung.xml zugferd.pdf
netPDF --pdfa bericht.pdf archiv.pdf 2b
netPDF --barrierefrei bericht.pdf barrierefrei.pdf de-DE
netPDF --ocr scan.pdf durchsuchbar.pdf de
netPDF --umwandeln bericht.pdf bericht.docx
netPDF --vergleichen alt.pdf neu.pdf bericht.pdf
netPDF --text bericht.pdf
netPDF --render bericht.pdf 1 seite1.png 150
netPDF --info datei.pdf
--validatechecks an e-invoice (PDF or XML) and optionally writes a report;--rechnungenchecks an entire folder.--convertconverts an XML invoice to another profile, for exampleXRechnungUbl,PeppolorFacturXEN16931.--zugferdembeds an XML invoice into a PDF.--pdfaconverts to PDF/A; variants1a 1b 2a 2b 2u 3a 3b 3u 4 4e 4f, default3b.--pdfuaand--barrierefreivalidate or generate accessible PDF files.--ocrrecognizes text in scanned pages;--umwandelnconverts based on file extensions (docx, xlsx, pptx, html, txt, png, jpg, tif and back to pdf).--signierenand--signaturensign or verify signatures,--optimierenreduces file size.--textoutputs the text,--rendera page as PNG,--infothe key metadata.--helplists all commands.
Return value
0 means OK, 1 indicates findings or errors, 2 indicates an incorrect invocation. With --out=datei.txt netPDF also writes the output into a file. Under Linux the command is called netpdf.
