#!/bin/sh exec magnifypdf "$1" 1.2 62.253 64.542 # voffset base 72pt # topmargin 22.215pt # headheight 8.0pt # headsep 14.0pt # so top starts at 116.215pt # i.e. 675.785pt from bottom of 11in paper # mag -> 810.942pt from bottom # textheight 584pt # so bottom starts at 700.215pt # i.e. 91.785pt from bottom of 11in paper # mag -> 110.142pt from bottom # move 64.542pt down to center mag # so new margins are 45.6pt # head is starting at 19.2pt # all modern printers should have <=18pt unprintable on top # (common: 12pt on top, 18pt on left/right, 36pt on bottom) # hoffset base 72pt # margin 54.8775pt # so left starts at 126.8775pt # mag -> 152.253pt # textwidth 360pt # so right starts at 486.8775pt # mag -> 584.253pt # move 62.253pt left to center mag