z/OS Infoprint Server User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Examples -- remotexf

z/OS Infoprint Server User's Guide
SA38-0695-00

Examples -- remotexf

Transform a file

To transform the PDF file myfile.pdf into an AFP data stream and write the result to a file called myfile.afp, enter:

remotexf -o myfile.afp myfile.pdf

Transform and print a file

To transform the PDF file myfile.pdf into an AFP data stream and send the result to the default printer with the lp command, enter:

remotexf myfile.pdf | lp

Transform a file, specifying image size

To transform the PostScript file myfile.ps into an AFP data stream, with an image that is 8 inches high and 5 inches wide, and write the result to a file called myfile.afp, enter:

remotexf -j "filter-options='-l 8i -w 5i'" -o myfile.afp myfile.ps 

Transform a file, specifying paper size

To transform the GIF file myfile.gif into an AFP data stream for A4 paper and write the result to a file called myfile.afp, enter:

remotexf -j "filter-options='-paper a4'" -o myfile.afp myfile.gif

Transform a file, specifying resolution

To transform the PostScript file myfile.ps into an AFP data stream in 300-pel resolution and write the result to a file called myfile.afp, enter:

remotexf -j "filter-options='-r 300'" -o myfile.afp myfile.ps

Transform a file, specifying resolution and omitting errors

To transform the TIFF file myfile.tiff into an AFP data stream in 300-pel resolution, specifying that data stream error messages should not be included on the trailer error page, and write the result to a file called myfile.afp, enter:

remotexf -j "filter-options='-r 300' xf-options='trailer-error-page=no'"
         -o myfile.afp myfile.tiff

Transform a file, creating output only if data stream is error-free

To transform the GIF file myfile.gif into an AFP data stream, specifying that the output is created only if it does not have data stream errors, and write the result to a file called myfile.afp, enter:

remotexf -j "xf-options='fail-on-datastream-error=yes'" -o myfile.afp myfile.gif

Transform a file using redirection

To transform the PostScript file input.ps into the AFP output file called output.afp, enter:

remotexf < input.ps > output.afp 
Note:
You can use redirection operators only with UNIX files.

Transform a UNIX file to an MVS data set

To transform file input.pcl into an existing, cataloged MVS™ output data set called hlq.OUTPUT.AFP(member), where hlq is your user ID, enter:

remotexf -o "//'hlq.OUTPUT.AFP(member)'" input.pcl

Transform an AFP document to PDF format

To transform the AFP document in file myfile.afp into PDF format and write the result to a file called myfile.pdf, enter:

remotexf -j "xf-options='output-format=pdf'" -o myfile.pdf myfile.afp

Transform an AFP document in an MVS data set to PDF format

To transform the AFP document in MVS data set hlq.INPUT.AFP(member), where hlq is your user ID, into PDF format and write the result to a file called output.pdf, enter:

remotexf -j "xf-options='output-format=pdf'" -o output.pdf "//'hlq.INPUT.AFP(member)'"

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014