I recently purchased Building Wireless Sensor Networks in electronic form. O’Reilly offered it for download in several electronic formats, including ePub (for my iPhone) and PDF formats. After looking at the content, I decided I wanted to print out the first couple chapters to make it easier to work with the devices without having to continually fiddle around with my phone.
I used the following commands. psresize enlarges each page, in this case by 20%, and pstops is used to move the right-side page to the left by an inch. For the cover page, and other full-bleed content, this will cause the right-side page to overlap the left, but because of the margins around the text block throughout the majority of the book, this overlap doesn’t matter and it allows us to make the text bigger when it’s printed two pages per side.
$ pdftops Building_Wireless_Sensor_Networks.pdf $ cat Building_Wireless_Sensor_Networks.ps \ | psresize -W8.5in -H11in -w10.20in -h13.20in \ | pstops "2:0(0,0),1(-72,0)" \ | psnup -2 > wireless_networks_nup.ps $ ps2pdf wireless_networks_nup.ps
To print, choose double-sided, flip on short edge.