Hi,
I’ve regenerated my password and can now commit again.

It happened that I used podofoimpose these days and found some unexpected 
tricks I want to share with you.

*Add a stamp to a document*
Shame on me,  don’t even have a real stamp at my "office". So I tried 
something and it worked! Say you have that official one page A4 doc on which 
you want to add a nice stamp named official.pdf. You have your stamp in the 
file stamp.pdf. You first have to create two files :

== pdf.list ==
official.pdf
stamp.pdf
=========

==stamponator.plan==
597.6 842.4
1 1 0 0 0
2 1 0 350 100
===============

Now you can run:
podofoimpose  pdf.list stamped-official.pdf stamponator.plan 0

*Make a tiled poster*
I composed a 640x380 mm document in Scribus, I was thinking I could use the 
built-in Kprinter poster option to print it on my A4 laser printer. But no 
poster available on my OpenSuse box, so I thought I could give podofo a try.
Here is the plan file, it’s still not exact but since i get my poster printed 
I don’t bother too much :)

==poster.plan======
597.6 842.4
1 1 0 16.56 172.4
1 2 0 -547.92 172.4
1 3 0 -1112.4 172.4
1 4 0 -1676.88 172.4

1 5 0 16.56 -497.6
1 6 0 -547.92 -497.6
1 7 0 -1112.4 -497.6
1 8 0 -1676.88 -497.6
===============

I ran a regular:
podofoimpose large.pdf poster.pdf poster.plan 0

*Multiple business cards on a sheet*
Classical need

==carte.plan========
520.722 765.22
1 1 0 0 0
1 1 0 265.548 0
1 1 0 0 255.174
1 1 0 265.548 255.174
1 1 0 0 510.348
1 1 0 265.548 510.348
2 2 0 0 0
2 2 0 265.548 0
2 2 0 0 255.174
2 2 0 265.548 255.174
2 2 0 0 510.348
2 2 0 265.548 510.348
================

podofoimpose carte.pdf carte_imposed.pdf carte.plan 38.439

Note the sheet margin adjustment which lets room for the cut marks (if there 
is a relevant trim box[1] in the file), I can’t decide if it’s a bug or a 
feature! If the plan was generated automatically by a GUI app or something 
similar it would be a feature but when you have to compute it "by hand", it’s 
a real pain. Although it gives good results.

If it does not work for you, don’t hesitate to ask questions (hm, and write 
patches!).

[1] i don’t know if it’s documented somewhere but : "Trim" & "Crop" have the 
same length as for "Media" & "Bleed" so you can sometimes just use sed to do 
something useful without invalidate the XRef table. Think that a PDF/X-3 
generated by Scribus 1.3.3.x version has a mandatory TrimBox.

-- 
Pierre Marchand

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to