PDF convert

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bsouthuk
Posts: 261
Joined: Fri Dec 05, 2008 7:25 pm

PDF convert

Post by bsouthuk » Wed Jul 22, 2009 4:34 pm

Im developing a Quote Generating application. Basically it works by a user selecting their requirements and a quote will automatically be generated.

The quote then needs to be converted to PDF so users can email to their prosective customers.

I've tried 2 different PDF converters - primoPDF and PDF995 but when converting, some of the text is out of sync. For instance, at the bottom of each card of my quote there is some small print inside a field. Inbetween 2 words of the small print I have left a gap to allow a small field to sit on. This is where the current Date and time shows.

When looking at the small print in RunRev, the "date" field is perfectly alligned inbetween 2 words in the "Small print" field but when converting to PDF, the Date field moves around 10 spaces across.

Does anyone have any ideas in what is the best solution for this?

Cheers

Daniel

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Post by Klaus » Wed Jul 22, 2009 6:11 pm

Hi Daniel,

take a look that the PDF library here:
http://www.quartam.com

Very nice and completely Rev native and crossplatform.
You can "script" the resulting PDF page(s).


Best

Klaus

espais
Posts: 14
Joined: Thu Jun 22, 2006 12:16 am

Post by espais » Wed Jul 22, 2009 8:24 pm

Hi Daniel,

Maybe you can automate using some Applescript to control the PFD generation from Rev using Preview in Mac.
The spaces question check the font size and test with diferents sizes.

Salut,
Josep

Post Reply