Create a PDF from the print area defined in the current Excel workbook.
Syntax
CHGVAR |
VAR(&CMD) VALUE('PDFFRXL') |
CHGVAR |
VAR(&PARM1)
VALUE(' |
CHGVAR |
VAR(&PARM2) VALUE(' ') |
CALL |
PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 + &PARM2 &RESULT) |
Parameters
Parameters |
|
Parm1 |
File: Complete path of the PDF file to create.
The PDF will be based on the print area of the current Excel workbook.
|
Example
Definition of the print area and creation of the PDF.
LNCCMD CMD(XLGOTOSH) PARM1('Sheet2')
LNCCMD CMD(XLCELLS) PARM1('Ref="$A$1";RefTo="$J$27";Name="Print_Area"')
LNCCMD CMD(PDFFRXL) PARM1('File="C:\temp\resPDFFRXL.pdf"')