OnDemand User Group

Support Forums => MP Server => Topic started by: frasert on January 20, 2011, 01:48:41 PM

Title: Convert AFP to PDF on AIX
Post by: frasert on January 20, 2011, 01:48:41 PM
Looking to write a script that will extract AFP files from CMOD on AIX and convert the files to PDF.

I don't believe there is any provided utility in AIX to do this conversion. Does anyone know of a way to do this?

We do use the AFP2PDF transform during retrievals from our Windows custom client, but I want to be able to run this directly on AIX.
Title: Re: Convert AFP to PDF on AIX
Post by: Alessandro Perucchi on January 21, 2011, 09:18:34 AM
Hi,

So if you have the AFP2PDF Transform software install on your AIX server, then you can find the software "afp2pdf" and launch it to convert from AFP to PDF:

Code: [Select]
$ ./afp2pdf 
Invalid input file specified

Usage: ./afp2pdf [-a] [-e] [-f] [-g] [-i] [-l] [-m] [-n] [-o] [-p] [-r] [-s] [-t] [-u] [-v] inputfile
   -a <perms>      Encryption permissions pcsa
                   (p=no printing, c=no changes,
                    s=no selecting, a=no adding notations)
   -e <password>   Encryption Owner Password
   -f <file>       Formdef file
   -g <time stamp> Create Time Stamp
   -i <file>       Conversion options file
   -l              Force all messages to file
   -m              Linearize PDF
   -n <path>       Location of font directory
   -o <file>       Output file name
   -p <page>       Transform a single page (number) in the document
   -r <file>       Resource group file
   -s <time stamp> Sign Time Stamp
   -t <turn>       Page orientation ( 0 | 90 | 180 | 270 )
   -u <password>   Encryption User Password
   -v <file>       ImageMap file

Does it help?

Cheers,
Alessandro
Title: Re: Convert AFP to PDF on AIX
Post by: frasert on January 24, 2011, 08:06:21 AM
Well, we do have AFP2PDF for Windows, but not AIX.  Not sure where to get the AIX version ... I do not see it on Passport Advantage.
Title: Re: Convert AFP to PDF on AIX
Post by: Alessandro Perucchi on January 25, 2011, 05:38:10 AM
Well, we do have AFP2PDF for Windows, but not AIX.  Not sure where to get the AIX version ... I do not see it on Passport Advantage.

Silly question..., but how did you get AFP2PDF? Do you have a license by IBM or a IBM Business Partner?

You should ask the same people who've selled you this license for Windows.
They should be able to give/sell you the AIX version.

From what I've seen in Switzerland, the AFP2PDF (or AFP2WEB) is licensed by CPU, and/or by Server...
You need to check how it is for you.

Best regards,
Alessandro
Title: Re: Convert AFP to PDF on AIX
Post by: frasert on January 28, 2011, 01:42:27 PM
Yes, we will have to track that down for sure.  I was just wondering if there might have been another method that anyone knew of.  Thanks!