LassoScript Utility
Basics Browse Detail

[PDF_Read->Save]

Tag Link [PDF_Read->Save] Category PDF
Type Member Source Available Yes
Support Preferred Version 8.1
Change Unchanged Data Source Any
Output Type None Security None
Implementation LJAPI Sets Lasso 8.5, Lasso 8.0

Description

[PDF_Read->Save] saves the current PDF document into a new file. If [PDF_Read->SetPageRange] has been called then only the specified range of pages will be saved into the new document. The tag requires one parameter -File which specifies the path to the new file.

Optional -UserPassword, -OwnerPassword, -Permissions, and -EncryptStrong parameter specify encryption options for the new file.

Syntax

[Var; 'myPDF' = (PDF_Read: -FIle='myPDF.pdf')]
...
[$myPDF->(Save:-File= 'myNewPDF.pdf')]

Parameters

Required Parameters
-File The name of the file to save the current PDF document into.
Optional Parameters
-OwnerPassword The password which is required to open the file in an editor. If specified then the file will be encrypted.
-UserPassword The password which is required to open the file in a reader. If specified then the PDF will be encrypted.
-EncryptStrong If specified then the PDF will be encrypted using 128-bit encryption. Otherwise, 40-bit encryption will be used.
-Permissions A comma delimited list of permissions for the PDF file. Values include Print, Modify, Copy, or Annotate. Four additional options are available only if -EncryptStrong is use including FillIn, Assemble, ScreenReader, and DegradedPrint.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Related Tags

Category Tags

Substitution
[PDF_Barcode]
[PDF_Color]
[PDF_Doc]
[PDF_Font]
[PDF_Image]
[PDF_List]
[PDF_Table]
[PDF_Text]
Process
[PDF_Serve]
Member
[PDF_Barcode->GenerateChecksum]
[PDF_Barcode->GetBarHeight]
[PDF_Barcode->GetBarMultiplier]
[PDF_Barcode->GetBarWidth]
[PDF_Barcode->GetBaseline]
[PDF_Barcode->GetCode]
[PDF_Barcode->GetFont]
[PDF_Barcode->GetSize]
[PDF_Barcode->GetTextAlignment]
[PDF_Barcode->GetTextSize]
[PDF_Barcode->GetType]
[PDF_Barcode->SetBarHeight]
[PDF_Barcode->SetBarMultiplier]
[PDF_Barcode->SetBarWidth]
[PDF_Barcode->SetBaseline]
[PDF_Barcode->SetCode]
[PDF_Barcode->SetFont]
[PDF_Barcode->SetGenerateChecksum]
[PDF_Barcode->SetShowChecksum]
[PDF_Barcode->SetTextAlignment]
[PDF_Barcode->SetTextSize]
[PDF_Barcode->ShowChecksum]
[PDF_Barcode->ShowCode39StartStop]
[PDF_Barcode->ShowEANGuardBars]
[PDF_Doc->Add]
[PDF_Doc->AddBarcode]
[PDF_Doc->AddChapter]
[PDF_Doc->AddCheckBox]
[PDF_Doc->AddComboBox]
[PDF_Doc->AddHiddenField]
[PDF_Doc->AddImage]
[PDF_Doc->AddList]
[PDF_Doc->AddPage]
[PDF_Doc->AddParagraph]
[PDF_Doc->AddPasswordField]
[PDF_Doc->AddPhrase]
[PDF_Doc->AddRadioButton]
[PDF_Doc->AddRadioGroup]
[PDF_Doc->AddResetButton]
[PDF_Doc->AddSection]
[PDF_Doc->AddSelectList]
[PDF_Doc->AddSubmitButton]
[PDF_Doc->AddTable]
[PDF_Doc->AddText]
[PDF_Doc->AddTextArea]
[PDF_Doc->AddTextField]
[PDF_Doc->Arc]
[PDF_Doc->Circle]
[PDF_Doc->Close]
[PDF_Doc->ClosePath]
[PDF_Doc->CurveTo]
[PDF_Doc->DrawText]
[PDF_Doc->GetColor]
[PDF_Doc->GetFormat]
[PDF_Doc->GetHeaders]
[PDF_Doc->GetMargins]
[PDF_Doc->GetPageNumber]
[PDF_Doc->GetSize]
[PDF_Doc->InsertPage]
[PDF_Doc->Line]
[PDF_Doc->Rect]
[PDF_Doc->SetColor]
[PDF_Doc->SetFont]
[PDF_Doc->SetLineWidth]
[PDF_Doc->SetPageNumber]
[PDF_Font->GetColor]
[PDF_Font->GetEncoding]
[PDF_Font->GetFace]
[PDF_Font->GetFullFontName]
[PDF_Font->GetPSFontName]
[PDF_Font->GetSize]
[PDF_Font->GetSupportedEncodings]
[PDF_Font->IsTrueType]
[PDF_Font->SetColor]
[PDF_Font->SetEncoding]
[PDF_Font->SetFace]
[PDF_Font->SetSize]
[PDF_Font->SetUnderline]
[PDF_Font->TextWidth]
[PDF_List->Add]
[PDF_Table->Add]
[PDF_Table->GetAbsWidth]
[PDF_Table->GetAlignment]
[PDF_Table->GetBorderColor]
[PDF_Table->GetBorderWidth]
[PDF_Table->GetColumnCount]
[PDF_Table->GetPadding]
[PDF_Table->GetRowCount]
[PDF_Table->GetSpacing]
[PDF_Table->Insert]
[PDF_Table->Remove]
[PDF_Table->SetAlignment]
[PDF_Table->SetBorderColor]
[PDF_Table->SetBorderWidth]
[PDF_Table->SetPadding]
[PDF_Table->SetSpacing]
[PDF_Text->Add]