PDF file = SOLVED

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
smash
Posts: 99
Joined: Tue Aug 19, 2008 5:18 am

PDF file = SOLVED

Post by smash » Sun Jul 26, 2009 6:11 am

the more i read the more confused i become
i would like to "save" multiple fields and cards to a adobe PDF file.
i thought it would be relatively simple, not!!!
i try to find the path, but i just cant even do that,
i have read all the PDF stuff on here, i dont understand it, but tried it anyway, but nothing worked for me.
is anyone able to explain it to me IN SIMPLE terms ???
i have adobe reader 8 on my computer, and all i want to do, is have a button on each card that can send 1 field on each card to a PDF file (so the PDF will have several fields.
thank you to anyone who attempts to help me
Last edited by smash on Sun Jul 26, 2009 10:36 am, edited 1 time in total.

SparkOut
Posts: 2944
Joined: Sun Sep 23, 2007 4:58 pm

Post by SparkOut » Sun Jul 26, 2009 9:48 am

Adobe Reader just reads a file that's already created in a pdf format.
To make a pdf document in the first place, you will have to have the tools to make it. There is a (commercial) pdf library available on Rev Select from Quartam Software which you could use to set up inside Rev. That might be a bit technical for you to achieve the layout you need. Other alternatives are to use a virtual pdf "printer" which you can install on your PC (such as Primo PDF) where you choose the pdf file as the print destination instead of a regular printer that puts out a piece of paper.
To get something that handles all that inside Rev and/or then emails it off etc would need a bit more jiggery-pokery.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1239
Joined: Sat Apr 08, 2006 1:10 pm
Contact:

Post by BvG » Sun Jul 26, 2009 9:52 am

creating a pdf has no simple features in rev itself. however there is a third party add-on that allows you to create pdfs, made by jan schenkel: quartam pdf creator.

Another way is to install a pdf printer, and use the print commands to print into a pdf. there's a few choices of free open source ones for windows, and pdf printing is build into mac os x since version 10.2 or so.

Of course you could always learn how the pdf files are build, from the rfc and other online sources, and code your own pdf creation stack using baseconvert and binaryDecode/Encode. However, this is a very hard task, as pdfs are incredibly complex. I can't really recommend it.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

smash
Posts: 99
Joined: Tue Aug 19, 2008 5:18 am

Post by smash » Sun Jul 26, 2009 10:35 am

thank you both sparkie and BvG
ok, i dont feel so stupid now, knowing it is not that easy, as i hesitated for days before i posted.
i downloaded a virtual pdf printer so that has fixed my curiosity on that venture.
just trying to understand the language most speak on here, and i swear i am not the shapest tool in the shed at the best of times, but you guys make me look a blunt tool.
everytime i think i have a "little" understanding of how things work, i discover time and time again, that i just dont have the faintest idea.
so thank you both, for taking the time to answer my post

Post Reply