Summary: | Provide ps2pdfa | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Liam Morland <liam> |
Component: | General | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | till.kamppeter |
Priority: | P4 | ||
Version: | 9.04 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: |
ps2pdfa script
ps2pdfwr patch PDFA_def file for grey PDFA_def file for CMYK |
Description
Liam Morland
2012-01-29 14:16:20 UTC
Created attachment 8310 [details]
ps2pdfwr patch
Created attachment 8311 [details]
PDFA_def file for grey
Created attachment 8312 [details]
PDFA_def file for CMYK
I think that the required input for PDF/A output is really too complex t make into a script that we will support. The scripts are intended to allow *simple* tasks to be performed without recourse to the Ghostscript command line, this is not a simple task as evidenced by the fact that your modified shell script requires an additional input file. A more minor point; ps2pdfwr doesn't exist on non-Unix platforms, and shell scripts don't work on those platforms either. You are correct that removing the /PUT pdfmark means that the file won't be a valid PDF/A file. The default device space profiles supplied with Ghostscript are definitely *not* acceptable ICC profiles to use as the output profile in a PDF/A file. You haven't quoted the error message, so its difficult to be certain of the problem you are experiencing, but I would imagine that its more likely to be file existence than file permissions. The line you wuote: [{icc_PDFA} ICCProfile (r) file /PUT pdfmark doesn't have a fully qualified path to the ICC profile 'icc_pdfa'. Thanks for the explanation. Would be willing to just apply the patch to ps2pdfwr? The would permit me and others much more flexibility in creating our own scripts. (In reply to comment #5) > Would be willing to just apply the patch to ps2pdfwr? The would permit me and > others much more flexibility in creating our own scripts. I'll put it up to the other developers on Tuesday but personally I'm not in favour. It complicates the script without adding anything significant in the way of functionality. You are obviously comfortable writing shell scripts, why not just stick with writing your own instead of using our own limited ones ? Thanks. I was hoping for something simple and to have to write as little as possible. I had wanted to use PDF/A for a long time, but I didn't know how. I expect there are many others not familiar with shell scripting who would use a simple PDF/A converter if it existed. (In reply to comment #7) > Thanks. I was hoping for something simple and to have to write as little as > possible. I had wanted to use PDF/A for a long time, but I didn't know how. I > expect there are many others not familiar with shell scripting who would use a > simple PDF/A converter if it existed. The problem is that it isn't possible to write a simple PDF/A conversion because there are many decisions that need to be taken. Naturally you don't need a shell script, you can do it all from teh Ghostscript command line, the procedure is documented in : /ghostpdl/gs/doc/Ps2pdf.htm#PDFA which also includes an example command line. |