PreviousNext
Help > Programming with LAUNCHER Office > LNCCMD commands > Commands list > PDFFRXL command
PDFFRXL command

Create a PDF from the print area defined in the current Excel workbook.

 

Syntax

 

CHGVAR

VAR(&CMD) VALUE('PDFFRXL')

CHGVAR

VAR(&PARM1) VALUE('
File="Complete path of the PDF file"
')

CHGVAR

VAR(&PARM2) VALUE(' ')

CALL

PGM(LNCCMD) PARM(&HANDLE &CMD &OPT &PARM1 +

&PARM2 &RESULT)

 

 

Parameters

 

 

Parameters

 

Parm1
ou
Parm2

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"')