Convert AFP to PDF on AIX

Previous topic - Next topic

frasert

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.

Alessandro Perucchi

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:

$ ./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
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

frasert

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.

Alessandro Perucchi

Quote from: frasert on January 24, 2011, 03:06:21 PM
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
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

frasert

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!