1

Scale pdf to add border for printing full size pages

view story
linux-howto

http://stackoverflow.com – When printing a pdf with no border (or margins), the printer choppes off around 1mm of the image data at the edges of the paper. I am therefore looking for a solution to scale/resize a pdf page slightly on the page to add a white border at the edges that will correspond with the white space at the edges produced by the printer. I have tried using gs so far.. For instance, suppose i have an A4 size pdf 1.pdf, then I used: gs -sDEVICE=pdfwrite \ -q -dBATCH -dNOPAUSE \ -dPDFFitPage \ -r300x300 \ -g2232x3157 \ -sOutputFile=1A.pdf \ 1.pdf Here, a full a4 paper is g (HowTos)