Examples -- Transform configuration file entries for the AFP to PostScript transform

The following topic shows sample transform entries in the Infoprint Server transform configuration file (aopxfd.conf) for the AFP to PostScript transform.
Print on letter and legal size paper
This transform entry can be used for printers that print on letter and legal size paper. To use this entry, do not specify a transform class.
transform afpxps
 start-command = afpxpsd 
 minimum-active = 1
 maximum-active = 2
 maximum-idle-time = 300 # 5 minutes
 environment = {
  _BPX_JOBNAME -> afpxpsD
  AOP_CHARS -> 60d9
  AOP_FONTLIB -> "sys1.font300"
  AOP_FORMDEF -> F1CP0110
  AOP_FORMDEFLIB -> "sys1.fdeflib"
  AOP_MSGFORMDEF -> F1CP0110 
  AOP_MSGPAGEDEF -> P1P08682
  AOP_OVERLAYLIB -> "sys1.overlib"
  AOP_PAGEDEF -> P1P08682
  AOP_PAGEDEFLIB -> "sys1.pdeflib"
  AOP_PAGESEGLIB -> "sys1.pseglib"
  AOP_PAPER -> 
   "letter legal letter letter letter letter letter letter letter letter"
  AOP_TRAYID -> "1 4 1 1 1 1 1 1 1 2"

   }
;
Print on A3, A4, and C5 paper
This transform entry can be used for printers that print on A3, A4, and C5 paper. This transform entry creates transform class “eu”. To use this transform class, specify the class in the -c transform option as shown in these two examples:
  • afpxps -c eu -o myfile.ps myfile.afp
    lp -o "filter-options='-c eu'" -d myprinter myfile.afp
  • transform afpxps_eu
     start-command = afpxpsd
     minimum-active = 1
     maximum-active = 2
     maximum-idle-time = 300 # 5 minutes
     environment = {
       _BPX_JOBNAME -> afpxpsD
       AOP_CHARS -> 60d9
       AOP_FONTLIB -> "sys1.font300"
       AOP_FORMDEF -> F1CP0110
       AOP_FORMDEFLIB -> "sys1.fdeflib"
       AOP_MSGFORMDEF -> F1CP0110
       AOP_MSGPAGEDEF -> P1P08682
       AOP_OVERLAYLIB -> "sys1.overlib"
       AOP_PAGEDEF -> P1P08682
       AOP_PAGEDEFLIB -> "sys1.pdeflib"
       AOP_PAGESEGLIB -> "sys1.pseglib"
       AOP_PAPER -> "a4 a3 a4 a4 a4 a4 a4 a4 a4 c5"
       AOP_TRAYID -> "1 4 1 1 1 1 1 1 1 2"
     }
    ;