ps2pdf: Embedded files are removed

Andreas Nef <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>
Hi

I am trying to convert a pdf file containing an embedded office file to PDF/A(-1 or -2) – I know that this is not allowed by these versions of PDF/A – with the following command:

gs -dPDFA -dBATCH -dNOPAUSE -dNOOUTERSAVE -dPDFSETTINGS=/printer -dSubsetFonts=true -dEmbedAllFonts=true -dPDFACompatibilityPolicy=2 -sColorConversionStrategy=/UseDeviceIndependentColor -sProcessColorModel=DeviceRGB -sDEVICE=pdfwrite -sOutputFile=out.pdf PDFA_def.ps input.pdf

The thing that I would expect is that depending on the -dPDFACompatibilityPolicy switch I would receive different results. However, the resulting documents are currently always the same, regardless of this switch, and none of the output files contain the originally embedded office file anymore. How can I get the expected behaviour for -dPDFACompatibilityPolicy=2 (i.e. an error message) and -dPDFACompatibilityPolicy=0 (i.e. output is a regular pdf file still containing the embedded file)?

Any ideas are greatly appreciated,

Andreas
_______________________________________________
gs-devel mailing list
[email protected]
http://ghostscript.com/cgi-bin/mailman/listinfo/gs-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.