AS/400 Printing: AFP Printing 

Prerequisites

Before you can print with AFP, you must have:

Procedure

  1. To create an AFP printer, use the AS/400 command CRTDEVPRT . Here is an example of what the command might look like:

CRTDEVPRT DEVD(IBM3916) DEVCLS(*LCL) TYPE(*IPDS) MODEL(0) AFP(*YES) PORT(1) SWTSET(1) CTL(CTL01) FONT(011)

  1. To start the printer, enter AS/400 command STRPRTWTR . Here is an example of what the command might look like:

STRPRTWTR DEV(IBM3916)

In the R/3 System, two EBCDIC-AFP device types have been defined for AS/400: IBMEFP and IBMEFP3.

AFP Printing using Access Method 'L'

As of Release 4.0A, an OTF-AFP converter can be installed on an AS/400 to provide support for AFP printing from the R/3 System. This converter is accessed using access method "L", which requires the following settings:

  1. Call transaction SPAD.
  2. On the screen Spool Administration: Initial Screen, choose Configuration ® Output device.

The screen Spool Administration: List of Output Devices appears.

  1. Choose Change.
  1. Choose Output device ® Create.

The screen Create Spool Administration: Output Device appears.

  1. In the field Output device, enter a name to identify the output device.
  1. In the field Device type, select a suitable device.
  2. In the field Spool server, select a server.
  3. Choose HostSpoolAccMethod.
  1. Enter access method L .
  2. Choose Edit ® Command set.
  3. In the Command recordID, field enter a letter and double-click the field.
  4. The dialog box Create Output Device appears.

  5. In the field Command to transfer print data, enter: /QSYS.LIB/QPRTTOOL.LIB/CVTPRTDTA.CMD OBJ(&F) OUT(&P).
  6. Choose Enter.

 

To be able to print with AFP on AS/400, you must have installed IBM's AFP converter. The converter consists of the following products: 5798-AF3 PrintSuite/400, 5769SS1 PSF/400 and the corresponding font libraries.

Result

The R/3 spool system considers an output request completed once it has been passed to the AFP converter. Therefore, the option Do not query host spooler for output status must be activated.

For more information about AFP printing, see the IBM documentation SAP R/3 AFP: Printing on the AS/400 (Document S544-5412).