Planet PDF Forum Archive

Planet PDF ForumWowsers! This is page is old, head to the LIVE Planet PDF Forum. It features more than 10 conferences, covering everything from beginner to in-depth developer and pre-press discussions. If you wish to continue... one & two archive covers 1999-2011 (160,000 pages).


New Forum | Previous | Next | (P-PDF) Beginners


Topic: Heres a real challenge for everyone out there!, 1 Attachments
Conf: (P-PDF) Beginners, Msg: 154588
From: kiwisilva123
Date: 9/26/2006 12:20 PM

Hi there. I'm currently pulling my hair out at a pdf problem I am having.
First here is some background:

I'm running Filemaker on a mac computer, and part of my database
communicates with a website, grabs raw pdf code from the website
source, and stores it in a field in the filemaker database. (see attached
file for the raw pdf code in a text file).

So I have this raw code in a field in my database, I am then able to
export the field contents to a text file as per attachment. The code is
that of a pdf, but simply changing the extension from txt to pdf is not
enough to get it to open in preview.

Now, however if I open the same file in textwrangler, and file->save as -
> with a pdf extension, the resulting pdf file CAN be opened in preview
and is a pdf document.

What I want to know is - how can I perform this "conversion" that
textwranger does on the text file to actually turn it into a legitimate pdf
document.

if I open up a terminal window and use the "file" command on both, the
text file version says it is UTF-16 Big Endian format. the pdf saved using
textwranger is PDF document version 1.3.

You may be saying "so just open the text file in textwrangler and save it
as a pdf". BUT I want to be able to do this from entirely within the
filemaker solution as an automated process. The tools I have available
to me are applescript & whatever applescript is capable of (that I am
unsure of).

Is there a way to change a files character encoding from UTF to PDF -
mimicking what textwrangler is doing, but not actually doing it thru
textwrangler?

If you need any clarification - which you probably will - I will endeavour
to clear up any questions.

Click to open!rawcode.txt
raw pdf code (13,452 bytes)


PDF In-Depth Free Product Trials Ubiquitous PDF

Debenu Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link...

Download free demo

Debenu PDF Tools Pro

It's simple to use and will let you preview and edit PDF files, it's a Windows application that makes...

Download free demo

Back to the past, 15 years ago! Open Publish 2002

Looking back to 2002, it's amazing how much of the prediction became a reality. Take a read and see what you think!

September 14, 2017
Platinum Sponsor





Search Planet PDF
more searching options...
Planet PDF Newsletter
Most Popular Articles
Featured Product

Debenu PDF Aerialist

The ultimate plug-in for Adobe Acrobat. Advanced splitting, merging, stamping, bookmarking, and link control. Take Acrobat to the next level.

Features

Adding a PDF Stamp Comment

OK, so you want to stamp your document. Maybe you need to give reviewers some advice about the document's status or sensitivity. This tip from author Ted Padova demonstrates how to add stamps with the Stamp Tool along with related comments.