Create PDF Map (CRTPDFMAP)

The Create PDF Map (CRTPDFMAP) command creates a PDF map.

This PDF map can be used by Infoprint Server and PSF/400 when converting spooled files to PDF. Each PDF map can be made up of several PDF map entries. The PDF map entries allow you to specify how spooled files should be processed after they have been converted.

These functions for processing are available:

Add an entry to the PDF map using the WRKPDFMAPE command for each type of processing you want. For example, if you want to e-mail some spooled files, respool some as AFP files, and do both actions on some spooled files, you will need at least three PDF map entries.

Restrictions:

  1. Infoprint Server for iSeries is required to use this command.
  2. *IOSYSCFG authority is required to use this command.

Parameters

Keyword Description Choices Notes
PDFMAP PDF Map Qualified object name Required, Positional 1
Qualifier 1: PDF Map Name
Qualifier 2: Library Name, *CURLIB, *LIBL
TEXT Text 'description' Character value, *BLANK Optional, Positional 3
AUT Authority Name, *LIBCRTAUT, *CHANGE, *ALL, *USE, *EXCLUDE Optional, Positional 2

PDF Map (PDFMAP)

Specifies the name of the PDF map.

This is a required parameter.

Qualifier 1: PDF Map

pdf-map-name
Specifies the name of the PDF map.

Qualifier 2: Library

*CURLIB
The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
*LIBL
All libraries in the job's library list are searched until the first match is found.
library-name
Specifies the name of the library to be searched.

Text 'description' (TEXT)

Specifies the text that briefly describes the PDF map.

*BLANK
No text is specified.
'text description'
Specify no more than 50 characters of text, enclosed in apostrophes.

Authority (AUT)

Specifies the authority you are giving to users who do not have specific authority to the PDF map, who are not on an authorization list, and whose group profile has no specific authority to the PDF map.

*LIBCRTAUT
The system determines the authority for the PDF map by using the value specified on the Create authority prompt (CRTAUT parameter) on the Create Library command (CRTLIB) for the library containing the PDF map to be created. If the value specified on the Create authority prompt (CRTAUT parameter) is changed, the new value will not affect any existing PDF maps.
*CHANGE
Change authority allows the user to change and perform basic functions on the PDF map. Change authority provides PDF map operational authority and all data authorities.
*ALL
The user can perform all operations except those limited to the owner or controlled by authorization list management authority. The user can control the PDF map's existence, specify the security for the PDF map, change the PDF map, and perform basic functions on the PDF map. The user can change ownership of the PDF map.
*USE
Use authority provides PDF map operational authority, read authority, and execute authority.
*EXCLUDE
The user cannot access the PDF map.
authorization-list-name
Specify the name of an authorization list to be used for authority to the PDF map. Users included in the authorization list are granted authority to the PDF map as specified in the list. The authorization list must exist when the PDF map is created.

Examples

CRTPDFMAP    PDFMAP(QGPL/BIGSALES)
             TEXT('High-end sales letters')


This example shows how to create a PDF map.

Error messages

*ESCAPE Messages

CPF2283
Authorization list &1 does not exist.
CPF88C1
Printer resource type &1 &2 was not created in library &3.
CPF9810
Library &1 not found.
CPF9820
Not authorized to use library &1.