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}

pdfxpackage, see e.g. http://tex.stackexchange.com/a/616/586 and http://tex.stackexchange.com/q/255480/586 – Torbjørn T. Mar 02 '17 at 12:11\usepackage[x-1a]{pdfx}but the file cannot run the error is shown! Package kvsetkeys Error: Undefined keydraft,pdftex,pdfpagemode=UseNone,book marks=false,pdfversion=1.3,pdfstartview='.` – CS Kumar Mar 02 '17 at 12:26\usepackage[x-1a]{pdfx}
\begin{document} Hellow world \end{document}`
– CS Kumar Mar 02 '17 at 12:45pdflatex filename.texcommand – CS Kumar Mar 02 '17 at 12:46\pdfminorversion=5doesn't appear to do anything. And as I said, I've never used it, and I don't really know anything about it, so I don't think I can offer any more help. – Torbjørn T. Mar 02 '17 at 12:50