I am using pdflatex filename.tex
command to create the PDF document.
But the pdf file produced by default version 1.5.
But i need a PDF/X-1a
version.
I am using below commands to change the pdf version:
\pdfminorversion=5
\pdfobjcompresslevel=5
But I am unable to change the PDF version. The below preflight Error report for your reviews. I am highlighting problem found errors.
How to get get PDF/X-1a version through the pdflatex commands.
MWE:
\documentclass{article}
\usepackage{pdfx}
\pdfminorversion=5
\pdfobjcompresslevel=5
\begin{document}
Hello World
\end{document}
pdfx
package, see e.g. tex.stackexchange.com/a/616/586 and tex.stackexchange.com/q/255480/586\usepackage[x-1a]{pdfx}
but the file cannot run the error is shown! Package kvsetkeys Error: Undefined key
draft,pdftex,pdfpagemode=UseNone,book marks=false,pdfversion=1.3,pdfstartview='.`\documentclass{article} \usepackage[x-1a]{pdfx} \begin{document} Hellow world \end{document}
pdflatex filename.tex
command