Prevent ghostscript from rasterized text?

I am trying to convert PDF files to PCL (using ghostscript, but I would like to hear alternative suggestions), and each driver (ghostscript device), including all the built-in ones and gutenprint, generates PCL files many times larger than the input PDF. (This is a problem - I need my PCL to be about as small as the input).

Given that the text does not appear in the PCL file, I assume that Ghostscript will rasterize the text. Is there a way to prevent GS at all, or just gutenprint, from doing this? Would I prefer it to insert fonts or not even insert fonts (leave it on the printer to display fonts)?

Unfortunately, at the moment, there seems to be no documentation.

+5
source share
2 answers

There are 3 (I think) font types in PCL. Raster images, TrueType fonts (in later versions), and the HPGL font appear.

PDF and PostScript are types 1, 2 (CFF), 3 and 42 (TrueType, but not the same as PCL), and CIDFonts based on any of the previous types.

The only type of font that has two is TrueType, so to save text, any font that was not TrueType would be converted to TrueType. This is not an easy task. Therefore, Ghostscript simply displays text that is guaranteed to work.

PDF, , , PCL < PDF- (, , / , ), PCL. , .

, , PXL Ghostscript , PCL . ( , )

, PCL , PDF Ghostscript.

+5

" Ghostscript ". PostScript. PostScript PCL5e .

PostScript, PDF PCL. - -dNOCACHE:

gs -o somepdf.ps -dNOCACHE -sDEVICE=pswrite somepdf.pdf

, , , "" - , , .

PostScript, PCL5e , PDF ( {Apache?} FOP).

, , ( ). .

...


Update

-, 9.15 ( / 2014 ) Ghostscript :

 -dNoOutputFonts

, pdfwrite, ps2write eps2write "" "" ( ) ".

, :

 gs -o somepdf.ps -dNoOutputFonts -sDEVICE=ps2write somepdf.pdf

: , Ghostscript, Git. .

+3

All Articles