Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pdf_export [2024/04/03 07:07] – [2.1.0] o2admin | pdf_export [2024/04/04 08:59] – [PDF Options] o2admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== PDF Export ====== | ||
+ | n a production environment, | ||
+ | ==== PDF Options ==== | ||
- | |Variable|Description|Example Output| | + | * **PDF Preset** - We recommend creating some custom PDF settings in Illustrator for your workflow, Such as a PDF setting dedicated for printing or proofing, you can set these in Illustrator in the [EDIT > Adobe PDF Presets...] Menu |
+ | * **Run spell checking before creating PDF**- Better to be safe! | ||
+ | * | ||
+ | * ** Secure with password** - Stops the PDF from being used and 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.// | ||
+ | * | ||
+ | * | ||
+ | * **Copy filenames to Clipboard after export** - Once the files as successfully exported copy the filenames to the clipboard, If you want to copy the full filename including path see the history below | ||
+ | |||
+ | ==== Artboard Range ==== | ||
+ | |||
+ | Select the pages to be exported. | ||
+ | |||
+ | ==== Additional Marks ==== | ||
+ | |||
+ | Add an additional confidence strip to check for consistent printing. | ||
+ | |||
+ | The artwork scale setting only affects the scale of the marks, it does not scale the PDF file. | ||
+ | |||
+ | ==== Save To==== | ||
+ | |||
+ | Choose a Location where to save your PDF | ||
+ | |||
+ | ==== Javascript ==== | ||
+ | |||
+ | You can run Extendscript (Illustrator' | ||
+ | |||
+ | * Return an array with the find and replace values such as [{ find: " | ||
+ | * Return false to cancel without error | ||
+ | * Return string to show as an error. | ||
+ | |||
+ | **Variables passed your code** | ||
+ | * ' | ||
+ | * ' | ||
+ | * ' | ||
+ | * ' | ||
+ | |||
+ | **Functions** | ||
+ | * Call getData(variable) to get the standard data from the table below, such as getData(' | ||
+ | * 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. | ||
+ | |||
+ | * {doc.filename} - {artboard.name}.pdf | ||
+ | * {doc.filename} - {artboard.name} - {doc.colorSpace} - [{pdf.preset}] - {artboard.number} of {artboard.count}.pdf | ||
+ | * {doc.filename} - {artboard.name} - {artboard.number} of {artboard.count}.pdf | ||
+ | * {doc.filename} - PROOF Ver{?Proof Version}.pdf** (This will ask for the version number)** | ||
+ | * {doc.filename} - PAGE {artboard.number} - {artboard.width}x{artboard.height} {doc.rulerunits}.pdf | ||
+ | * {doc.filename} - {export.number} of {export.count} PROOF.pdf | ||
+ | * * Archive of {doc.filename} - [{weekday} {day}-{month}-{year}].pdf | ||
+ | |||
+ | |**{Variable}**|**Description**|**Example Output*| | ||
|timestamp|Timestamp| 2024-02-03 14:33:12| | |timestamp|Timestamp| 2024-02-03 14:33:12| | ||
|time|Time HH: | |time|Time HH: | ||
Line 8: | Line 63: | ||
|shortweekday|Short Weekday|Mon| | |shortweekday|Short Weekday|Mon| | ||
|day|Day|3| | |day|Day|3| | ||
- | |month~Month|7| | + | |month|Month|7| |
- | |year~Year|2024| | + | |year|Year|2024| |
- | |linked.filename~Filename of First Linked File|*Empty if none found| | + | |linked.filename|Filename of First Linked File|*Empty if none found| |
|pdf.preset|PDF Preset Name| | | |pdf.preset|PDF Preset Name| | | ||
|artboard.width|Artboard Width in document units | | | |artboard.width|Artboard Width in document units | | | ||
|artboard.height|Artboard Height in document units| | | |artboard.height|Artboard Height in document units| | | ||
|artboard.number|Artboard Page Number| | |artboard.number|Artboard Page Number| | ||
- | |artboard.name|Artboard Name| | | + | |artboard.name|The first Artboard Name in the range| | |
|artboard.count|Total Artboard Count| | | |artboard.count|Total Artboard Count| | | ||
|export.number|Current count of pages being exported| | | |export.number|Current count of pages being exported| | | ||
Line 24: | Line 79: | ||
|? | |? | ||
+ | ==== History ==== | ||
+ | The script will save the last 100 items exported to a history list, you can view the exported files, copy the filename or full filename with paths, and open the file (double click on the filename) or open the folder | ||
==== Release Notes ==== | ==== Release Notes ==== | ||
- | ===== 2.3.0 ===== | + | ===== 2.3.3 ===== |
* 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. | * 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. | * Allowed Subfolder creation in filename template. | ||
+ | * Added History to record exported files and reopen them. | ||
===== 2.1.0 ===== | ===== 2.1.0 ===== |