<font></font>2012/9/15 john Culleton <span dir="ltr"><<a href="mailto:John@wexfordpress.com" target="_blank">John@wexfordpress.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Fri, 14 Sep 2012 20:51:42 -0300<br>
José Antonio Rocha <<a href="mailto:joseantoniorocha@gmail.com">joseantoniorocha@gmail.com</a>> wrote:<br>
<br>
> 2012/9/14 john Culleton <<a href="mailto:John@wexfordpress.com">John@wexfordpress.com</a>><br>
><br>
> > Scribus 1.4.x won't produce an output in PDF X/1-a:2001 format<br>
><br>
><br>
> Ghostscript > 9 now does the job:<br>
><br>
> C:\> gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite<br>
> -sColorConversionStrategy=CMYK -sOutputFile=doc_CMYK.pdf<br>
> -dProcessColorModel=/DeviceCMYK -dCompatibilityLevel=1.3 "C:\Program<br>
> files\gs\gs9.06\lib\PDFA_def.ps" doc.pdf<br>
><br>
> In the file PDFA_def.ps, set the apropriate ICC.<br>
><br>
<br>
</div>PDF/A and PDF X/a-1 are different animals. To pass muster at LSI<br>
the following tags must be present:<br>
<br>
%PDF-1.3<br>
...<br>
/GTS_PDFXVersion (PDF/X-1:2001)<br>
/GTS_PDFXConformance (PDF/X-1a:2001)<br>
etc.<br>
<br>
Will Ghostscriipt embed those tags?<br clear="all"></blockquote></div><br>I hope so. You can try put this in PDFA_def.ps file. <br><br>From GS docs (c:/Program files/gs/gs9.06/doc/Ps2pdf.htm#PDFA):<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">

<h2>8 Creating a PDF/A document</h2><p>
To create a PDF/A document, please follow the instructions for <a>creating a PDF/X-3 document</a>,
with the following exceptions :

</p><ul><li> Specify the <code>pdfwrite</code> device or use the <code>ps2pdf</code> script.
</li><li> Specify the <code>-dPDFA</code> option to specify PDF/A-1 or PDF/A-2.
</li><li> Specify <code>-sProcessColorModel=DeviceGray</code>,  <code>-sProcessColorModel=DeviceRGB</code> or <code>-sProcessColorModel=DeviceCMYK</code>
     You must specify a ProcessColorModel, even if you plan
     to create a device-independent colour PDF file using -dUseCIEColor.
</li><li> Specify the <code>-dUseCIEColor</code> option if necessary (see PDF/X above).
</li><li> Specify a PDF/A definition file before running the input document.
     It provides additional information to be included in the output document.
     A sample PDF/A definition file may be found in <code>gs/lib/PDFA_def.ps</code>.
     You will need to modify the content of this file; in particular you must alter the
     /ICCProfile so that it points to a valid ICC profile for your OutputIntent. The 
     string '(...)' defining the ICCProfile must be a fully qualified device and path
     specification appropriate for your Operating System.
</li></ul>

There is one additional control for PDF/A output:

<dl><dt><code>PDFACompatibilityPolicy</code> <em>integer</em>
</dt><dd>When an operation (eg pdfmark) is encountered which cannot be 
emitted in a PDF/A compliant file, this policy is consulted, there are 
currently three possible values:

<blockquote>0 - (default) Include the feature or operation in the output
 file, the file will not be PDF/A compliant. Because the document 
Catalog is emitted before this is encountered, the file will still 
contain PDF/A metadata but will not be compliant. A warning will be 
emitted in this case.
</blockquote>
</dd><dd>
<blockquote>1 - The feature or operation is ignored, the resulting PDF 
file will be PDF/A compliant. A warning wil be emitted for every elided 
feature.
</blockquote>
</dd><dd>
<blockquote>2 - Processing of the file is aborted with an error, the exact error may vary
depending on the nature of the PDF/A incompatibility.
</blockquote>
</dd></dl>

Here is a sample command line to invoke Ghostscript for generating a PDF/A document :
<blockquote><code>
gs -dPDFA=1 -dBATCH -dNOPAUSE -dNOOUTERSAVE -dUseCIEColor 
-sProcessColorModel=DeviceCMYK -sDEVICE=pdfwrite -sOutputFile=out-a.pdf 
PDFA_def.ps <a href="http://input.ps">input.ps</a>
</code></blockquote></blockquote>

<br><br>-- <br>
<font style="font-family:Helvetica,Arial,sans-serif" color="#888888"><font style="font-family:Helvetica,Arial,sans-serif" color="#888888"><font style="font-family:Helvetica,Arial,sans-serif" color="#888888"><font size="1"><font><img style="width:75px;min-height:100px" alt="Meira" src="http://lh4.ggpht.com/_75EesisxR5g/TENbAQVXMLI/AAAAAAAADHs/ChNQzn8eOT0/meira-75x100.jpg" align="left" hspace="8" vspace="6"></font></font></font></font><hr>


</font><span style="font-family:Helvetica,Arial,sans-serif">nome: "</span><span style="font-weight:bold;font-family:Helvetica,Arial,sans-serif">José Antonio Meira da Rocha</span><span style="font-family:Helvetica,Arial,sans-serif">" </span><br style="font-family:Helvetica,Arial,sans-serif">



<small style="font-family:Helvetica,Arial,sans-serif">googletalk: email: MSN: <a href="mailto:joseantoniorocha@gmail.com" target="_blank">joseantoniorocha@gmail.com</a><br>
veículo: [ <a href="http://meiradarocha.jor.br/" target="_blank">http://meiradarocha.jor.br</a>
] <br>fones: 55-8411-3047 / 55-3744-2994<br></small>
<hr style="width:100%;height:2px;font-family:Helvetica,Arial,sans-serif">
<br>