PMDF System Manager's Guide


Previous Next Contents Index

38.2.2 Accepting Input Formats Other than Text and PostScript

While PMDF-FAX itself only accepts text (ASCII) and PostScript based input, PMDF's conversion channel may be used to convert other input formats (e.g., word processing documents, TIFF, GIF, DDIF, etc.) to text or PostScript. To this end, PMDF-FAX provides the program to_ps which may be used to convert the GIF, PM, PBM, XBM, Sun Raster file, Utah Raster Toolkit RLE, JPEG (JFIF), TIFF, and PDS/VICAR image formats to PostScript. An example of using this utility with the conversion channel is given below.

Example 38-1 Sample CONVERSIONS Mapping

CONVERSIONS 
 
  IN-CHAN=*;OUT-CHAN=text_to_ps*;CONVERT             Yes 
  IN-CHAN=*;OUT-CHAN=ps_to_g3*;CONVERT               Yes 

Example 38-2 Sample Conversion Rules

out-chan=ps_to_g3*; in-type=image; in-subtype=gif; 
  out-type=application; out-subtype=postscript; out-mode=text; 
  out-encoding=NONE; command="@PMDF_COM:TO_PS.COM" 
 
out-chan=ps_to_g3*; in-type=image; in-subtype=tiff; 
  out-type=application; out-subtype=postscript; out-mode=text; 
  out-encoding=NONE; command="@PMDF_COM:TO_PS.COM" 
 
out-chan=ps_to_g3*; in-type=application; in-subtype=x-ddif; 
  out-type=application; out-subtype=postscript; out-mode=text; 
  out-encoding=NONE; 
  command="CONVERT/DOCUMENT 'INPUT_FILE'/FORMAT=X-DDIF 'OUTPUT_FILE'/FORMAT=PS" 
 
out-chan=text_to_ps*; in-type=image; in-subtype=gif; 
  out-type=application; out-subtype=postscript; out-mode=text; 
  out-encoding=NONE; command="@PMDF_COM:TO_PS.COM" 
 
out-chan=text_to_ps*; in-type=image; in-subtype=tiff; 
  out-type=application; out-subtype=postscript; out-mode=text; 
  out-encoding=NONE; command="@PMDF_COM:TO_PS.COM" 
 
out-chan=text_to_ps*; in-type=application; in-subtype=ddif; 
  out-type=application; out-subtype=postscript; out-mode=text; 
  out-encoding=NONE; 
  command="CONVERT/DOCUMENT 'INPUT_FILE'/FORMAT=DDIF 'OUTPUT_FILE'/FORMAT=PS" 


Previous Next Contents Index