Ok, let me explain. /usr/bin/margen-offset.ps It is a postscript that I created to fix a little problem that appears when I try to print the pdf on a laser printer hp, where the text in the pdf document starts from the left edge to right edge, regardless margins!. When the PDF page exits the printer the text is cut by a margin around the text, is the unprintable area of the printer, I think! So when you add the margin-offcet.ps file in the conversion command line, gs merge it with the ps print jobs and ensures a margin or bleed in the pdf doc.
content of /usr/bin/margen-offset.ps is: <</.HWMargins [18 18 18 13] /Margins [-75 0]>> setpagedevice <</PageOffset [18 -9]>> setpagedevice
I think the first line does not help much.
The information come from this page: http://www.bobdbob.com/~deneb/doc/ghostscript_margins.html http://www.humbug.in/stackoverflow/es/como-para-cambiar-pagina-de-pdf-que-ut... (can be read in English)
Saludos! Mario.
El 30/08/2011 05:28 a.m., Mike Gabriel escribió:
Hi Mario,
On Do 25 Aug 2011 18:53:48 CEST Mario OROZ wrote:
/usr/bin/margin-offset.ps is a postscript to add margins to the print job.
Could you shortly explain where this file comes from, and what it looks like etc. I did an apt-file search on a Debian squeeze system and could not find this file.
You say it adds margin... Why do we want that. What will happen to the print area (scaled shrinking?)...
Thanks, Mike