Creating Multi-Page PDF from a Layerd Illustrator file (script)
Often times when designing a logo I create different versions and variable options on layers. This can result in several layers in one Illustrator file. Is there an easy way or an existing script that will allow me to (with one click) create a multi-page PDF consisting of all the layers within my .ai file? The current method is turning on each layer, performing a save-as (PDF), then turning off said layer and turning on the next layer and repeating the task and so-on-and-so-forth, etc … It becomes tedious and quite often I save over the previous version, forgetting to re-name it or forget to perform a save on a certain layer. Can anyone help with some advice? I have never written my own script before but am not opposed to trying, where do I begin?
Any help is appreciated.
You don't say what OS you are using and which scripting language you are thinking of doing this in…
This is a sample that may get you started done in JavaScript so it's platform independent with the exception of my 'mac style' file paths.
If your on a PC it may just be a typo to set to C drive or whatever you call them things…
If you are on the mac OS then it should just dump a load of PDF's on your desktop.
You say about a multi-page PDF but don't think Illustrator can do this unless its been added with multi-artboards in CS4?
Others would have to let you know that…
#target illustrator
var docRef = app.activeDocument;
with (docRef) {
var docName = baseName(name)
var pdfOptions = new PDFSaveOptions();
pdfOptions.pDFPreset = '[High Quality Print]';
// Turn all layers off
for (var i = 0; i < layers.length; i++) {
layers[i].visible = false;
// Turn each layer on
for (var i = 0; i < layers.length; i++) {
if (i == 0) {
layers[i].visible = true;
redraw();
var layerName = layers[i].name;
var saveAsPath = new File('~/Desktop/' + docName + '_' + layerName + '.pdf')
saveAs(saveAsPath, pdfOptions);
} else {
layers[i-1].visible = false;
layers[i].visible = true;
redraw();
var layerName = layers[i].name;
var saveAsPath = new File('~/Desktop/' + docName + '_' + layerName + '.pdf')
saveAs(saveAsPath, pdfOptions);
//close(SaveOptions.DONOTSAVECHANGES);
function baseName(fileName) {
var nameString = '';
var extOffset = fileName.lastIndexOf('.');
if (extOffset == -1) {
nameString = fileName;
} else {
nameString = fileName.substr(0, extOffset);
return nameString;
Similar Messages
-
Unable to mark the box 'create Multi-page PDF from page tiles' when saving to pdf-file
I am running Illustrator CS3 on a Mac OSX 10.5.8
I want to print a very large illustrator-file (1000 mm x 900 mm) across mutliple pages of A4-paper (5 x 5 sheets of A4-paper) by saving the file as a multi-page pdf file.
I first followed the instructions provided here:
http://helpx.adobe.com/illustrator/kb/create-mutli-page-pdf-illustrator.html
When I then tried to save the file: -> File -> Save as -> 'choose .pdf from drop-down menu'
I get to this menu:
I am unable to mark the box that says: 'Create multi-page pdf from page tiles'. I have made a red arrow pointing to the box I want to mark.
I have tried changing the other drop-down menus inside this menu, to see if the box I want to mark could become available, but without any luck.
I am not sure what I am doing wrong. I would be grateful if anyone could help me set my settings right to allow me to create such a multi-page pdf-file.
Thanks in advance for your helpYour ps file should be good, the problem likely resides elswehere. Maybe in your acrobat install, distillers settings. what error did distiller give?
Mine ran good and got a multi page document, here is a screenshot to help you troubleshoot.
On mac go to system preferences / print and fax / and change your default printer if you have another option. I know sounds like this should not help, but there are problems like Illustrator for example not making .pdfs if you do not have a printer chosen or an old or corrupt .ppd assigned. -
Creating multi-page PDF from Page Tiles
Trying to save out a page-tiled Illustrator document to multi page PDF. The "Create Multi-Page PDF from Page Tiles" is ghosted/disabled when I save out as PDF; and printing to PDF doesn't size page edges properly. I've followed all directions and re-created new docs to see if I can get this to work, no luck.
Is there a trick I'm missing? Using Illustrator CS3 13.0.2 Mac, Acrobat 8.1.3. Thanks!This would be hard to answer but you must be missing something the question is what are you doing and how is the document set up and then the really important question what are doing wrong. Which I know you want us to tell you but without knowing what that is we cannot tell you what not to do.
If there is something you can tell that might give us a clue perhaps we can help. -
Create multi-page PDF from multi-layer AI file
This is an old question, I'm sure...
I have an .ai file with 33 layers. Each layer represents an individual page of a manual. I have CS4 ... Is there a way of quickly exporting or saving the document where it creates a PDF page from each layer? Or do I have to go through and individually save each layer as a PDF and then combine them? I'm not savvy with coding, so that route probably won't work without serious hand holding (Windows XP, just in case).
Thanks in advance,
ZackCreate additional artboards and distribute the pages across them.
Mylenium -
Has anyone encountered this problem? I set my option to prompt me for more pages to scan. When the first page is done, I respond to the dialog box that there are more pages to scan. Then, Acrobat quits.<br /><br />This is the report from the error message:<br /><br />Date/Time: 2008-06-28 11:53:36.320 -0500<br />OS Version: 10.4.11 (Build 8S2167)<br />Report Version: 4<br /><br />Command: AdobeAcrobat<br />Path: /Applications/Adobe Acrobat 9 Pro/Adobe Acrobat Pro.app/Contents/MacOS/AdobeAcrobat<br />Parent: WindowServer [61]<br /><br />Version: 9.0.0 (9.0.0)<br /><br />PID: 23356<br />Thread: 0<br /><br />Exception: EXC_BAD_ACCESS (0x0001)<br />Codes: KERN_INVALID_ADDRESS (0x0001) at 0x1f711f7b<br /><br />Thread 0 Crashed:<br />0 libobjc.A.dylib 0x90a594c0 objc_msgSend + 16<br />1 com.apple.Foundation 0x92812431 __NSFireMainThreadPerform + 352<br />2 com.apple.CoreFoundation 0x90860375 __CFRunLoopPerformPerform + 82<br />3 com.apple.CoreFoundation 0x9082cf06 CFRunLoopRunSpecific + 1213<br />4 com.apple.CoreFoundation 0x9082ca42 CFRunLoopRunInMode + 61<br />5 com.apple.HIToolbox 0x92df1878 RunCurrentEventLoopInMode + 285<br />6 com.apple.HIToolbox 0x92df0eb9 ReceiveNextEventCommon + 184<br />7 com.apple.HIToolbox 0x92df0dd9 BlockUntilNextEventMatchingListInMode + 81<br />8 com.apple.AppKit 0x93276f45 _DPSNextEvent + 572<br />9 com.apple.AppKit 0x93276b37 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137<br />10 com.apple.AppKit 0x932708c4 -[NSApplication run] + 512<br />11 com.adobe.Acrobat.framework 0x7febb18c RunAcrobat + 3090<br />12 com.adobe.Acrobat.framework 0x7feba6b8 RunAcrobat + 318<br />13 com.adobe.Acrobat.Pro 0x00002e8b start + 2371<br />14 com.adobe.Acrobat.Pro 0x0000264a start + 258<br />15 com.adobe.Acrobat.Pro 0x00002571 start + 41<br /><br />Thread 1:<br />0 libSystem.B.dylib 0x900248c7 semaphore_wait_signal_trap + 7<br />1 ...ple.CoreServices.CarbonCore 0x90cb8e0d MPWaitOnQueue + 198<br />2 AdobeACE 0x7fc1dd8d ACEMPThread::Task() + 133<br />3 AdobeACE 0x7fc1dd01 TaskGlue + 17<br />4 ...ple.CoreServices.CarbonCore 0x90cb8c68 PrivateMPEntryPoint + 51<br />5 libSystem.B.dylib 0x90024227 _pthread_body + 84<br /><br />Thread 2:<br />0 libSystem.B.dylib 0x900248c7 semaphore_wait_signal_trap + 7<br />1 AdobeAGM 0x7e574984 pthread_condition_base::Wait(pthread_scoped_lock_base&) + 26<br />2 AdobeAGM 0x7e5748b5 AGMMessageQueueImpl::Pull() + 65<br />3 AdobeAGM 0x7e963fc4 AGMWorkQueueTask::operator()() + 84<br />4 AdobeAGM 0x7e96524f boost::function0<void, std::allocator<boost::function_base> >::operator()() const + 75<br />5 AdobeAGM 0x7e57476d thread_proxy + 45<br />6 libSystem.B.dylib 0x90024227 _pthread_body + 84<br /><br />Thread 3:<br />0 libSystem.B.dylib 0x900248c7 semaphore_wait_signal_trap + 7<br />1 com.apple.Foundation 0x9284f2fc -[NSConditionLock lockWhenCondition:] + 39<br />2 com.apple.AppKit 0x9334dcb4 -[NSUIHeartBeat _heartBeatThread:] + 377<br />3 com.apple.Foundation 0x927f939c forkThreadForFunction + 123<br />4 libSystem.B.dylib 0x90024227 _pthread_body + 84<br /><br />Thread 4:<br />0 libSystem.B.dylib 0x90026d5c kevent + 12<br />1 com.adobe.Acrobat.framework 0x8076aa4f CopiesPagesPDE_Open + 6578747<br />2 libSystem.B.dylib 0x90024227 _pthread_body + 84<br /><br />Thread 5:<br />0 libSystem.B.dylib 0x900248c7 semaphore_wait_signal_trap + 7<br />1 com.apple.Foundation 0x9284f2fc -[NSConditionLock lockWhenCondition:] + 39<br />2 ...adobe.acrobat.amtlibwrapper 0x0ea6b2d1 AVAMTForegroundUpdateCheckEnabled + 116699<br />3 ...adobe.acrobat.amtlibwrapper 0x0ea60341 AVAMTForegroundUpdateCheckEnabled + 71755<br />4 ...adobe.acrobat.amtlibwrapper 0x0ea69d60 AVAMTForegroundU
I don't have 9 yet. But you can try to fix permissions. If that doesn't
work you can try to work as another user. If it works now you have a
preference file problem. However, there is a remote chance that the
issue is a incomparability between Acrobat and the twain driver.
Mike -
Can I use Automator to create a multi-page PDF from a selection of images?
Well can I? I have looked at Preview extensively but found no option to create a multi-page document from all open images. I can create single-page PDF's easily, but that's not what I want.
Does it make a difference if they are TIFF, JPEG, etc?Take a look at
PDFLab
It will create a multi – page .pdf from a folder of .jpgs. I am ** guessing ** it will work with .tiffs.
No Alibi.
Back up what you can't afford to lose. Mac OS X (10.4.10) -
I know I posted this before, yet I cannot believe that I cannot somehow create Multi-Page PDF's for mailing. I'm a student working on many papers, I write in Pages (Hate Word) export to PDF and mail them separately. It is so unprofessional, I need to organize the PDF's into one document. Does anyone know a download for this? Thanks in advance.
RayRay,
This one's freeware:
http://www.versiontracker.com/dyn/moreinfo/macosx/20286 -
Hi, what are the step by step instructions for creating a multi-page pdf made from jpegs using bridge ? I can't find the insructions.
Thanks !You can find everything you want to know if you look at the Adobe Bridge
Help under the Help Menu and use PDF as search criteria.
For a contact sheet in PDF you can use the Adobe Output Module (either
choose workspace Output Module or use the right icon in the top left row in
Bridge Window.
Select the files you want and fill in the details for row and columns to
your own wishes, quality etc. There will be as many pages created as needed
with the selected files.
Hi, what are the step by step instructions for creating a multi-page pdf made
from jpegs using bridge ? I can't find the insructions.
Thanks ! -
Create continuous page PDF from webpage.
Hello, I am using Adobe Acrobat X Pro and MS Internet Explorer (FireFox is available), and I would like to create continuous page PDF files from webpages. I am taking webpage data, and making it accessible on an intranet for viewing by our technicians, and creating the PDF with standard pages is making a mess of the data. I have resorted to creating a custom sized page (ie: 8.5" x 153") for each webpage to get everything on one continuous flow. I am hoping someone can tell me a more streamlined method to do this as my current method is very time consuming.
There are plugins available for many browsers that can produce a single
image from an entire web page. You can then easily convert that image into
a single-page PDF file. -
How to create a multi-page PDF from a password protected website?
Is there an automated way to create a PDF containing multiple levels of pages from a website that requires login with username & password? I've tried the 'Create PDF from web page' function but get an authentication error every time. Even tried adding the username & password to the URL (http://username:[email protected]...), to no avail. I really don't want to PDF each page individually and then manually merge them into one PDF. Any ideas?
I'm using Acrobat Pro X on Windows 7.Unless Adobe changed something recently in the way this function of Acrobat
works, it's not possible. -
How to create multi page PDF in illustrator CC?
Hello, can anyone help with this, used to be able to do it easily in CS but doesnt seem to be available when saving a PDF file in CC?..... really frustrating!
Hi Monika,
When I open my old tiled illustrator file in CC, it asks if I want to open a legacy art board. I do this.
This then displays on screen correctly as the individually paged tiles.
This is all fine. However when I then want to save as PDF there is no option to save this PDF as a multipage document.
The saved PDF file just comes out as one long single drawing board page and isn’t split into individual pages when read back in by Acrobat
Matt Bindless
4 Randlesham Street, Prestwich, Manchester. M25 1GY
Tel : + 44 (0) 7899808096
Skype : bindless123 -
Creating single page pdfs from a brochure designed in spreads format
Hi there,
So I've been asked to take a brochure that is in spreads, and save each panel as a single page pdf. So basically, in document setup, the page size is 17.75 x 8.5). There are four panels, each panel is roughly 4.3708 x 8.5. The problem is, each panel was not created as a single page in indesign...instead, it's set up as a 17.75 x 8.5 document and the panels are created within that document size.
I guess I wanted to find out if there is an efficient way of creating these single panel pdfs from what I've been given.
Anybody know?It's either copy/paste into a properly laid out facing pages document (the best choice if it will need editing in the future), or place the pages, each one twice, into a facing pages pages doc and crop the wrong half off each page. In either case, you'll need to rearrange the pages into readers' spreads.
-
Create multi-page PDF with photoshop CS3
Hi,
I have created 8 A4-sized PSD documents in Photoshop CS3 and I would like to create a single PDF document with 8 pages.
Is there an easy way to do this?
I would really appreciate any help that people can offer, as I am stumped!
Thank you in advance,FILE> Automate PDF presentation
add open files or point it to your folder of files
after you hit save will be a dialog box to choose options
make sure to make the proper selections for quality, based on your purpose
a PDF made for commercial printing will be large
If you want to put it on internet or email you need to select the setttings
for web based doc
OR you could open acrobat and create a multipage document
I think the default is 8.5x11
(not sure) but if you have unusual size paper
make sure to change the page layout to that -
Create Multi-page PDF option is missing
Acrobat 8 professional. Strange.......One of the machines in our studio is missing this option....any ideas????
Currently when I run the following I get a single page PDF
file populated with the information from the last record of the
query. Using <cfdocumentitem type = "pagebreak"/> makes sense
but I'm not sure where it would go relative to the code below. I
also will need a <cfdocument> tag if using
<cfdocumentitem> and again I'm not sure where which tag
should sit inside which.
<cfquery name="getEmpInfo" datasource="fai">
select firstname, lastname
from employee
</cfquery>
<cfpdfform action="POPULATE"
destination="E:\www\output.pdf" source="E:\www\form.pdf"
overwrite="yes" overwritedata="no">
<cfloop query="getEmpInfo">
<cfpdfsubform name="form1">
<cfpdfformparam
name="School_Administrator_Activation_Code"
value="#getEmpInfo.firstname#">
<cfpdfformparam name="School_Code"
value="#getEmpInfo.lastname#">
</cfpdfsubform>
</cfloop>
</cfpdfform> -
How to create multiple editable PDFs from data merged Indesign file
Hi
This is quite complicated but I'm hoping someone can help me and hoping I can explain it too!
I am working on a project for a client. She wants to send 150 people a 6 page PDF with fields to complete and return to her.
She has an Excel spreadsheet with some of the fields completed already so these will be Data Merged into InDesign CS6.
The short version of the question goes like this:
Can you automate the process so that once all the data is in the InDesign file, it can then create a PDF every 6 pages all in one go?
For those still interested, the long version of the question goes like this:
I have created 3 pages in InDesign with fields to complete and used the 'Data Merge' facility to add the Excel info.
I have created 3 more pages with blank fields to fill in.
Then I have made all fields editable using the 'Buttons and Forms' facility in the Interactive menu.
Then I have created an interactive PDF. Then I have opened that PDF in Adobe Acrobat X Pro and saved it as 'Reader Extended PDF' and 'Enable Additional Features'
I now have an Editable PDF with half the fields filled in and half blank to be filled in and this can be saved and returned.
Now, this would be great if it was only one or two. But I need to create 150 different versions and this is just for the Pilot study. If all goes well, this will go to 5,000 people and I can't be creating 5,000 seperate PDFS!!
At this stage, I am just focussing on the 150. So again, going back to the original question, is there a script that could be written either to break up the 1st PDF every 6 pages into 150 different PDFS? Is there even a way of extending that script to Save as Reader Extended etc? Is there a simple idea that I'm missing? Are there any ways to do this? I can use 'Created Merged Documents' to make 150 x 6 pages in Indesign so can anything be done from there?
Any advice greatly appreciated
Thanks
GHi Akash,
1) Pass the three header data in header table. 2) Pass all the item data in item table. here explain where you struck.
Regards,
Madhu.
Maybe you are looking for
-
Follow Up Transaction Default screen in Solution Manager
SAp has provided Screen profile and Function code for creation of incident.Chnage request in Solution Manager.But when i try to create a new incident/CR from existing Incident as follow up transaction, the same screen doenot get defaulted.Item detail
-
I had to get a new ITouch and now my app Temp Magic won't work. It allows me to select the temp and music I want but when I hit play it kicks me out. Can someone please help me resolve this? Thanks!
-
2nd generation ipod touch is pretty much no good anymore? It is not able to upgrade to iOS5.1 and so will not work with many Apps in the iTunes store? Is there a way to find out if the App will work before you download?
-
Why can't I preview a book I created in iPhoto before placing the order
How do I preview a book i created in iPhoto before placing the order
-
I have a new 5s iphone my fingerprint and the password it is not accepting what to do next
I have a new iphone 5s mu touch id and the password entered is not working what to do next?