This is an old revision of the document!
[ Up To Index ]
iView API's
Purpose: Use the PRTPDF2Q command to print PDF files from a directory on the IFS of your IBMi. The command will convert the PDF into a spool file which is sent to an out queue for printing. The output out queue needs to have a writer attached to the out queue to print the output spool file. The printer used to print the file needs to be able to print PDF directly at the printer. Check your printer specifications to find out if your printer is PDF printing capable. Use the command in a CL, a program, or interactive.
Requirements: Specific iView IVIEWWEB Licensing required; iView version 7.00 or above.
To Use: Type PRTPDF2Q on the command line and select F4 to Prompt OR Call command and fill in the attribute values in your CL or program.
Fields to Fill in:
- IFS PDF File to print: Enter the directory path and name of the PDF file to send to the out queue to print
- Output Queue: Name of the out queue which has a writer attached to print the PDF
- Library: The library name of the out queue you are going to use
- Spool File Name: You can use the default name (FMGSPPDF) or use your own specific name for the spool file name that outputs to the output queue
- Form Type: You use the default type (*STD) or assign a different type
- Hold spool file: You can use the default spool file status of (*NO) or you can change to (*YES) to hold the output spool file in the output queue
Print PDF file to Queue (PRTPDF2Q) Type choices, press Enter. IFS PDF File to print . . . . . Output Queue . . . . . . . . . . QPRINT Name Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB Spool File name . . . . . . . . FMGSPPDF Character value Form Type . . . . . . . . . . . *STD Character value Hold spool file . . . . . . . . *NO *YES, *NO, *YES, *NO Bottom F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
[ Up To Index ]