Lasso Soft Inc. > Home

[PDF_Read->Save]

[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
  • Parameters
[Var; 'myPDF' = (PDF_Read: -FIle='myPDF.pdf')]
...
[$myPDF->(Save:-File= 'myNewPDF.pdf')]
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 PDF chapter in the Lasso 8 Language Guide for examples of how to use this tag. Many of the PDF examples require lengthy descriptions and the use of several related tags and are better suited to presentation in the Language Guide.

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

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft