Friday, January 29, 2010

2up page formatting with pages scaled better

So I print a lot of stuff (I can't afford an A4 sized ebook reader) 2 pages per side. The large margins have always annoyed me. Here's the solution.

Two 2 pages per sheet ps document (convert pdf to ps with ps2pdf), with page borders reduced by 1cm:

psnup -2 infile.ps outfile-2up.ps -Pletter -pa4 -b-1cm

-P input paper size
-p output paper size
-b border (margin) change

Changing different borders by different amounts is more complicated but can be done with pstops, and is left as an exercise for the reader.

Sunday, January 17, 2010

Because I forgot how to type unicode characters

The last post is the only one worth reading:

Applications that use newer GTK+ libraries (which includes all applications written for Gnome) require a "U" before the Unicode digits. Either of the following sequences should work:

Ctrl-Shift-U, hex codes, Spacebar

Hold down Ctrl-Shift, U, hex codes, release Ctrl-Shift