Chapter 1 - The AFPTOOL Command

Convert AFPDS to PDF (AFPTOOL)

                           Convert AFP to PDF (AFPTOOL)         

Type choices, press Enter.

Spooled File Name . . . . . . . Name
Job Name . . . . . . . . . . . . * Name, *
User Name . . . . . . . . . . Name
Job Number . . . . . . . . . . 000000-999999
Spooled File Number . . . . . . *LAST 000000-999999, *ONLY, *LAST
Output Stream File . . . . . . .

Replace object . . . . . . . . . *NO *YES, *NO
Manufacturer type and model . . *WSCST
WSCST Name . . . . . . . . . . . QWPTIFFG4 Character value, *NONE
WSCST Library . . . . . . . . . QSYS Character value, *LIBL
Temp path . . . . . . . . . . . '/tmp'

Page width . . . . . . . . . . . 8.5 Number
Page length . . . . . . . . . . 11 Number
Page rotation . . . . . . . . . 0 0, 90, 180, 270
Margin offset . . . . . . . . . 20 Number
Left margin offset . . . . . . . 0 Number
Top margin offset . . . . . . . 0 Number



F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys
  • Spooled file - Enter the spooled file name the identifies the spooled file.
  • Job Name - Enter the job name that identifies the spooled file.
  • User - Enter the user name that identifies the spooled file.
  • Number - Enter the job number that identifies the spooled file.
  • Output Stream File - Specify the fully qualified path and name of the stream file you wish to create.
  • Replace object - Specifies whether if the file specified in the STMF parameter should be replaced if it already exists. If *YES is specified and the file already exists, it will be removed and the new file will replace it.
  • Manufacturer type and model - Enter the manufacturer type and model to be used for the conversion. It is recommended that his value is *WSCST and a WSCST is specified in the following parameters.
  • WSCST Name - Enter the name of the workstation customization object to be used for the conversion if *WSCST is specified on the MFRTYPMDL parameter. If you are If you are performing a conversion to PDF or TIFF this value should be QWPTIFFPB or QWPTIFFG4. I have also found that *WSCSTLETTER or *WSCSTLEGAL should work for TIFF or PDF conversion. If you are performing a conversion to PCL this value should be the name of a workstation customization object.
  • WSCST Library - Enter the name of the library where the WSCST specified in the previous parameter is located.
  • Temp path - Enter the name of the temporary path to use for conversions.
  • Page width - Specify the page width (in inches).
  • Page length - Specify the page length (in inches).
  • Page rotation - Determines the page rotation to be performed. For example, if your document is landscape and you wish it to be viewed horizontally, you would specify the value 270. This would rotate the document's default view in the PDF viewer.
  • Margin offset - Enter a value to offset margin values. If margins seem too large, attempt to correct with this before using the LMARO and TMARO parameters. Reducing this number will reduce the margin sizes in effect making more room for the image to be placed into the document. Raising this number will have the opposite affect.
  • Left margin offset - Enter a value to offset the left margin. A positive number will make the left margin larger. A negative number will make the left margin smaller. Keep in mind that if your document is actually landscape, this will affect what will become the top margin, so a positive number will descrease the top margin.
  • Top margin offset - Enter a value to offset the top margin. A positive number will make the top margin smaller. A negative number will make the top margin larger. Keep in mind that if your document is actually landscape, this will affect what will become the left margin, so a positive number will descrease the left margin.
Comments