196 reputation
12
bio website
location UK
age
visits member for 3 years, 3 months
seen May 3 at 9:31

May
3
awarded  Constituent
May
3
awarded  Caucus
Jun
14
answered GhostScript “Unrecoverable error, exit code 1” when using embeded fonts in .pdf
Oct
17
comment Create PDF with print page scale of none
Martin, your answer is exactly the correct way to do this with pdfmark, I believe, with one small problem. As I said, Ghostscript doesn't emit ViewerPreferences in the Catalog dictionary and since it builds the Catalog as required (at the end of the process) you can't add anything to the Catalog dictionary in the course of the job. The only way to do this with Ghostscript, as far as I can see, is to get out your favourite editor and C compiler and start coding. The Catalog is written in gdevpdf.c, pdf_close() at around line 2421.
Oct
17
comment Create PDF with print page scale of none
ps2pdf (in at least one incarnation by that name) is just a script that calls Ghostscript. If Ghostscript is involved then anything else will be using it, not the other way around. Ghostscript is the underlying technology.
Oct
16
answered Create PDF with print page scale of none
Oct
13
comment Create PDF with print page scale of none
Note also that PDFFitPage doesn't do what you seem to think it does. It scales an incoming PDF file so that it fits to a different media size. There is nothing in Ghostscript's pdfwrite device which alters the default printing behaviour of a PDF viewer. In fact I'm not aware of any way to do this. If you have a PDF file for which this is possible, then I suggest that you make it publicly available, so that we can look at it.
Jan
17
answered Ghostscript: how do I find out what fonts are available?
Sep
29
answered GhostScript - attempting to reduce the file size of a PDF - error
May
26
awarded  Teacher
May
24
answered PDF has an extra blank in all words after running through Ghostscript
May
17
answered PDF has an extra blank in all words after running through Ghostscript