Reputation
6,486
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 24 42
Newest
 Yearling
Impact
~1.3m people reached

May
25
comment Add gutter (binding margin) to existing PDF file
I know, I was just hinting at its difference to /ImageShift .
May
25
comment Add gutter (binding margin) to existing PDF file
This should also work: gs -o out.pdf -sDEVICE=pdfwrite -c "<</PageOffset [100 -100]>>setpagedevice" -f in.pdf. The /ImageShift pagedevice parameter is only available in PostScript 3 and may not be supported by Ghostscript.
May
24
revised Merge PDFs in the correct order
added 14 characters in body
May
24
awarded  Guru
May
24
revised PDF Manipulation: “2-Up” page layout
make headline more expressive about the subject of the question
May
24
comment Add gutter (binding margin) to existing PDF file
Where did you find the original solution? :-) (Good improvement with PostScript-coding the automatic translation for odd pages, BTW) :)
May
24
revised How to convert TIFF to PDF using Ghostscript
added 27 characters in body; edited title
May
24
answered Merge PDFs in the correct order
May
24
revised Merge PDFs in the correct order
added 1 character in body; edited title
May
24
comment Merge PDFs in the correct order
@MichaelKjörling: OMG, you may want to delete your comment again, despite of the upvote it got. To create multipage PDFs with convert is a crime! It's a crime against sobriety and common sense, because it will mince-meat all nice vector elements from PDF contents into full page raster images. Especially the form of the command you gave -- it will use the default resolution of 72 DPI, loosing lots and lots and lots of the original quality, and throwing away all font information, searchability and accessibility. I can't even...
May
22
comment How to convert .PDF to .eps (on Windows)
@nimcap: You can use gswin64c.exe -o inputpdf-page_%03d.eps -sDEVICE=eps2write -r300 -dPDFFitPage input.pdf and just accept the page size it outputs...
May
22
revised How to convert .PDF to .eps (on Windows)
Update with info about `eps2write`.
May
14
comment Error opening PDF files and change the size when copying from one PC to another
@Karan: C'mon, get reasonable again. No-one said he's lying. And asking for clarification I was. Also repeated in the answer "Are you, by any chance, ..."
May
14
comment Error opening PDF files and change the size when copying from one PC to another
Whatever he says... Maybe "policy" has forbidden to transfer files. So he is "clever" and opens file in text editor and copy'n'pastes. Been there, done that...
May
13
answered Error opening PDF files and change the size when copying from one PC to another
Apr
13
comment How to embed fonts into PDF
If setdistillerparams is ignored, the whole first -c "<<...>>" is also void. Ghostscript may then still complete the command successfully, albeit not producing the intended, but a different output (i.e., fonts not embedded).
Apr
13
comment How to embed fonts into PDF
@slhck: On what OS platform did you test this? The -c "...." is to hold a snippet of PostScript code. The quotes are there to work around spaces inside the snippet. That snippet could be divided into two snippets, but then each one should have its own -c and its own quotes, like -c "<< ... >>" -c "setdistillerparams". (So, yes, for the last -c the quotes could go, because the argument setdistillerparams does not include a space...)
Apr
13
comment How to embed fonts into PDF
@slhck: Thanks for spotting the missing quotes. I now added them at the correct location.
Apr
13
revised How to embed fonts into PDF
Quotes were indeed missing, but previous correction added them at wrong spot
Mar
17
awarded  Good Answer