Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pdf_export [2024/04/03 07:05] – [Release Notes] o2adminpdf_export [2024/04/03 07:35] o2admin
Line 1: Line 1:
 +==== PDF Options ====
  
 +  *   **Run spell checking before creating PD**F - Better to be safe!
 +  *   **Preserve Illustrator Editing Capabilitie**s - If turned off will reduce the size of the PDF 
 +  *  ** Secure with password** - Stops the PDF from being used, Uses the password set in the Settings tab. //Note that passwords in PDF files are not 100% secure; there are online tools to bypass passwords. This should be considered a deterrent, such as hindering the printing of a low-resolution proof but not protecting the artwork from copying.//
 +  *   **Open PDF after export** - Openings the PDF in the computers default reader after export
 +  *   **Open Folder after export** - Opens the destination in Windows Explorer or OSX Finder.
  
 +==== Artboard Range ====
  
-|Variable|Description|Example Output|+Select the pages to be exported. 
 + 
 +==== Additional Marks ==== 
 + 
 +Add an additional confidence strip to check for consistent printing. 
 + 
 +==== Save To==== 
 + 
 +Choose a Location where to save your PDF 
 + 
 +==== Javascript ==== 
 + 
 +You can run Extendscript (Illustrator's built-in version of Javascript) to modify the file and path. Your code will be wrapped in a function so ensure that you include a return statement with the required data structure. 
 + 
 +  * Return an array with the find and replace values such as [{ find: "ABC", replace: "123"},{find: "Cat", replace: "Dog"}], which will be applied to the filename template 
 +  * Return false to cancel without error 
 +  * Return string to show as an error. 
 + 
 +**Variables passed your code** 
 +  * 'path' is the destination path. 
 +  * 'filename' is the filename template. 
 +  * 'index' is the current artboard index. 
 +  * 'range' is the page range being used. i.e '2-4' 
 + 
 +**Functions** 
 +  * Call getData(variable) to get the standard data from the table below, such as getData('doc.filename')  
 +  * Call setPath(path) to change the destination path 
 +  * Call setFilename(filename) to set the filename template (overwriting the existing filename template) 
 +==== Filename ==== 
 + 
 +You can setup the filename template, and the values in the template will be replaced as the PDF file is exported. 
 + 
 +|**{Variable}**|**Description**|**Example Output*|
 |timestamp|Timestamp| 2024-02-03 14:33:12| |timestamp|Timestamp| 2024-02-03 14:33:12|
 |time|Time HH:MM:SS|14:33:12| |time|Time HH:MM:SS|14:33:12|
Line 26: Line 65:
  
 ==== Release Notes ==== ==== Release Notes ====
 +
 +===== 2.3.0 =====
 +  * Added a Javascript option to allow changing of the path and filename for more automated workflows; for example, use the filename to set the correct path to save to.
 +  * Allowed Subfolder creation in filename template.
  
 ===== 2.1.0 ===== ===== 2.1.0 =====