UNIX
Mac OS X
IBM z/OS
TCP/IP on z/OS
VTAM
z/OS UNIX
z/OS LINUX
Windows
You are currently using a web browser that does not support HTML 5.
Please try the XHTML 1 or XHTML 1 Mobile version of this page instead.
Converting an image to IOCA format
AFP printers use images in IOCA (Image Object Content Architecture) format.
To convert an image to a page segment, follow this procedure:
- Download the appropriate AFP printer driver from
IBM AFP drivers.
The downloaded file should be a self-extracting archive.
- Extract the files into a folder. The default name of the folder
is AFP Driver.
- Go to Printers and Faxes in the Control Panel
or Start Menu and select Add a Printer
to start the Add Printer Wizard.
Use the following options:
- Local printer attached to this computer
- (not "Plug and Play")
- Use the following port:
- File: (Print to File)
- Have Disk...
- Browse to the AFP Driver directory
and select the cwbafp.inf file.
- Printers:
- Select the actual printer model or a generic one such
as Generic IBM 600dpi AFP.
- Do you want to use this printer as the default printer?
- No
- Do not share this printer
- Do you want to print a test page?
- No
Then click Finish to install the printer driver.
- Create the image in any image editing tool, save it
(using the image editor's native format is fine) and then
print the image to a file using the installed AFP driver.
- Select File then
Print... from the menu bar.
- Select the name of the AFP printer.
- Click Properties...
- Change the Output type
to Page Segment.
- Select Print to file in order to
get the dialog box that allows browsing to a specific directory.
- Click OK. Select the
directory where the file is to be created and enter a file name.
The file extension for an IOCA image is normally
.ica
- Allocate a PDS with record format VB
record length 27994 and
block size 27998.
- Use FTP to upload the
.ica file in binary format
to a member of the PDS.
- Reblock the file with one AFP structured field per line.
allocate file(sysuexec) dataset('sys1.sapsexec') shr
altlib activate user(exec)
exec 'sys1.sapsexec(afrreblk)' 'username.afpupld.ica(member) afp.test.pseglib(s1segname)'
Notice that the second set of quotation marks are around both parameters to the afrreblk exec.
back to top
Last updated Tuesday November 29, 2006
Printer-friendly PDF* format:
Advanced Function Printing
This Section
You are currently viewing this page in HTML 5 Style Sheet* format (* see Clicklets for more infomation). This document is also available in HTML 5 XML*HTML 5 non-XML*XHTML 1 Style Sheet*XHTML 1*XML* HTML 4* XHTML 2* XHTML Mobile* WML Mobile* and printer-friendly PDF* formats. This is accomplished with Single Source Publishing, a content management system that uses templates in XSLT style sheets provided by XML Styles .com to transform the source content for various content delivery channels. There is also RDF* metadata that describes the content of this document.