google
yahoo
bing

Upcoming Classes

RSS Feeds

Categories

Archive

Site search

PagePacker Open-Sourced

I am celebrating the arrival of Mac OS X 10.5 by making the source code to PagePacker available. Here is the compiled application.

Don’t know what PagePacker is? Check this posting.

Comments

Comment from Timothy Knox
Time: November 5, 2007, 7:55 pm

Ever since I told my wife about PagePacker, she has been a huge fan. She runs a writer’s group at a local community center, and uses PagePacker to print up incredibly cool little booklets advertising it. All the other groups are jealous, and when they ask how she did it, she tells them “I used PagePacker.” “Where can I get it?” she is asked. “Buy a Mac!” she tells them. I just thought you’d like to hear a fan review. Double thanks for open-sourcing it. You are cool! :-)

Comment from Deborah McLaughlin
Time: November 5, 2007, 8:12 pm

How wonderful! This is such a great application. My husband and I use it enthusiastically.

Comment from Stephen C. Johnson
Time: November 5, 2007, 8:49 pm

Good for you.

Comment from Tim Burks
Time: November 7, 2007, 12:05 pm

Hi Aaron,

Thanks for sharing this!

A minor note: in GeometryUtilities.m, distanceSquaredBetweenPoints should add the squared deltas instead of subtracting them.

float distanceSquaredBetweenPoints(NSPoint p1, NSPoint p2)
{
float deltaX = p1.x – p2.x;
float deltaY = p1.y – p2.y;
return (deltaX * deltaX) – (deltaY * deltaY);
}

Comment from Fery
Time: November 8, 2007, 9:08 am

Hi, where can i get a version to run on my iMac G3 Tiger, this one wont run, thank you

Comment from Administrator
Time: November 8, 2007, 10:39 am

D’oh! I hate it when I do stupid stuff and then put it out for the world to see. :(

I’ll fix that in the next release.

Comment from Tim Burks
Time: December 19, 2007, 7:57 pm

Aaron, your source code is a great resource. You might be interested in this rewrite that I did to see how PagePacker would look if it were written in my Nu scripting language: http://programming.nu/posts/2007/12/12/nupagepacker

Comment from Gerard Hickey
Time: May 29, 2009, 7:57 pm

OK. I have been knocking my head up against a wall for a while now trying to figure out what is going on. I you have standard 8.5 x 11 page in PDF and place it in position 1, 2, 5 or 6 the page will be resized a little bit smaller than one placed in 3, 4, 7 or 8.

At first I thought it might have been top and bottom margins that need to be decreased. I still can not find a spot where the margin information is getting set, but that seems to be a wild goose chase at this point. I tried placing pages from the catalog on all positions and none of the positions got resized.

So I started looking at what is different between the pages in catalog.pdf and the ones that I have. The pages in catalog.pdf are 3 in. x 5 in. Which is a different aspect ratio than a standard 8.5 in. x 11 in. page. It seems to be a problem with the width of the PDF page being inserted and the top and bottom margin.

Anyone have an idea where to look at to see this happening and understand it?

Thanks.

Write a comment