I'd like to do the same here, but we do not have Distiller available to all users. I was looking at using Ghostscript, specifically the ps2pdf utility as. The ps2pdf scripts are work-alikes for nearly all the functionality (but not the user interface) of Adobe's ps2pdf - Convert PostScript to PDF using ghostscript. [Gs-devel] Re: [Fwd: Re: [Bug-gs] ps2pdf: many duplicate fonts in resulting PDF 73% of file is font L. Peter Deutsch ghost at
|Published:||5 August 2015|
|PDF File Size:||43.36 Mb|
|ePub File Size:||50.20 Mb|
Ps2pdf man page
This behavior is intentional but can be overrided by: NeverEmbed should always specify the original CID font name. To specify these, you must use PostScript, either by including it in the PostScript source or by passing the -c command-line parameter ps2pdf ghostscript ghost ghostscript as described in Limitations below.
For example, including the PostScript string in your file in. This considerably improves the color handling in both pdfwrite and ps2write, particularly in the areas of Spearation and DeviceN color ps2pdf ghostscript ghost, and Indexed color spaces with images.
Despite lengthy careful testing it is possible that there will be bugs in this initial implementation and so the following switch is available. If you do encoutner any problems with the new color conversion code, please do open a bug report.
Ps2pdf command man page - ghostscript | ManKier
This switch is temporary and will be removed in future releases, do not rely on its availability. Note that, particularly for ps2pdf ghostscript ghost, LeaveColorUnchanged may still need to convert colors into a different space ICCbased colors cannot be represented in PostScript for example.
In this case the color space chosen will be whatever the current Ps2pdf ghostscript ghost is set to, so it is worth setting this as well, if it is important that the color space be controlled. All other color spaces are converted approproately.
Separation and DeviceN spaces will be preserved if possible ps2write cannot preserve DeviceN and if ps2pdf ghostscript ghost alternate space is not appropriate a new alternate space will be created.
This allows some distiller parameters to be set when a PostScript file is generated.
[gs-devel] question about ps2pdf (gs for windows binary distribution)
Print to FileHave Disk Specify the pdfwrite device or use the ps2pdf script. Specify the -dPDFX option.
It provides additional information to be included into the output document. The file follows Postscript syntax and uses the operator pdfmark to pass the special information.
They are explained below. OutputCondition string Defines an Ps2pdf ghostscript ghost value for the output intent dictionary. ICCProfile string May be omited if OutputConditionIdentifier specifies a registed identifier of characterized printing condition see http: Defines a file name of an ICC profile file to be ps2pdf ghostscript ghost into the output document.
You may specify either an absolute file name, or a relative path from the working directory. Ps2pdf ghostscript ghost string Defines the document title. Only useful if the source Postscript file doesnt define a title with DSC comments. Otherwise remove entire line from definition file.
Info string Defines an Info value for the output intent dictionary. This is ps2pdf ghostscript ghost array of four offsets that specify how the page is to be trimmed after it has been printed. Another page entry is the BleedBox. It gives the area of the page to which actual output items may extend; cut marks, color bars etc.
To address this problem, pdfwrite uses "weak pointers": This is a tradeoff: Font bookkeeping in pdfwrite is very complex, because the simple approaches produced either incorrect output or output that fails ps2pdf ghostscript ghost work around bugs in various versions of Acrobat.
I have no plans to do this, ps2pdf ghostscript ghost would be willing to answer questions if someone else was seriously interested in doing it. Helge's e-mail refers to adding -c save pop to the ps2pdfwr script.