Sitemap

Amicuk Programming Answers

BUG: FatalError when exporting layer comps to pdf file in PhotoShop CS6

2015-10-11   Views:4

Advertisement

I've been starting to use the File -> Scripts -> Layer Comps to... frequently--it is great for sharing files with clients. When I used File -> Scripts -> Layer Comps to Files (type: pdf, "selected layer comps only" with about 6 of 12

I've been starting to use the File -> Scripts -> Layer Comps to... frequently--it is great for sharing files with clients.
When I used File -> Scripts -> Layer Comps to Files (type: pdf, "selected layer comps only" with about 6 of 12 comps selected) today I got the following error:
"FatalError: General Photoshop error occurred. This functionality may not be available in this verison of Photoshop. - <no additional information available>"
The only other notification I get for this document is a missing font upon opening, which I do not imagine would be a problem.
I am on the latest version of PhotoShop CS6 as confirmed by my CreativeCloud app.
My MacBook Pro is pretty generously outfitted and updated: OS 10.9 (latest update), 16GB RAM, over 100GB free HD space, 1GB VRAM.
I haven't had a chance to do repeated tests to get it to fail like this again as I'm on a deadline so I had it do the same process but exporting ALL layer comps and I removed the unwanted pages in Acrobat Pro.

The replay answer
Advertisement
So I've found a bit in the script that I think might be it (below).  Can I remove that whole bit?  Or would changing the 4 to a 0 do the trick (I tried and it didn't do anything)... Sorry, but I'm not a coder so don't really know if I'm barking up the wrong tree or not.
Thanks
for ( compsIndex = 0; compsIndex < compsCount; compsIndex++ ) {
                var compRef = docRef.layerComps[ compsIndex ];
                if (exportInfo.selectionOnly && !compRef.selected) continue; // selected only
                compRef.apply();
                var duppedDocument = app.activeDocument.duplicate();
                var fileNameBody = exportInfo.fileNamePrefix;
                fileNameBody += "_" + zeroSuppress(compsIndex, 4);
                fileNameBody += "_" + compRef.name;
                if (null != compRef.comment)    fileNameBody += "_" + compRef.comment;
                fileNameBody = fileNameBody.replace(/[:\/\\*\?\"\<\>\|\\\r\\\n]/g, "_");  // '/\:*?"<>|\r\n' -> '_'
                if (fileNameBody.length > 120) fileNameBody = fileNameBody.substring(0,120);
                saveFile(duppedDocument, fileNameBody, exportInfo);
                duppedDocument.close(SaveOptions.DONOTSAVECHANGES);

Go to See the other 8 answers

BUG: FatalError when exporting layer comps to pdf file in PhotoShop CS6

Category:DefaultRelease time:2015-10-11Views:130

I've been starting to use the File -> Scripts -> Layer Comps to... frequently--it is great for sharing files with clients. When I used File -> Scripts -> Layer Comps to Files (type: pdf, "selected layer comps only" with about 6 of 12[More]

Photoshop CS5 export layer comps bug / issue

Category:DefaultRelease time:-0001-11-30Views:130

I'm experiencing a problem with CS5 that didn't happen in CS4. For some weird reason, when I use the export layer comps script, it won't let me choose a destination for the jpgs that is the macintosh HD. It will only work if I export to an external d[More]

Layer Comps to PDF -- Gone? Bridge not working correctly.

Category:DefaultRelease time:2015-10-11Views:130

I never needed this feature, but decided that it would be handy for a  project that I am doing. I have a set of powerpoint slides that are all  layer comps (6 slides). I went Export Comps to JPG to get the slides to  build my powerpoint, but I also w[More]

Exporting Layer Comps to Files

Category:DefaultRelease time:-0001-11-30Views:130

I am trying to Export Layer comps to file to make a pdf of a 38 page document. When try to export to jpg or png the files are too small, even on the highest setting. When I try to export to tiff or psd, it doesn't flatten the files and gives me files[More]

Why do vector lines appear different in my Photoshop document compared to the PDF that was created using "Scripts Layer Comps to PDF"? And how do I get them to look the same?

Category:DefaultRelease time:2015-10-11Views:130

Why do vector lines appear different in my Photoshop document compared to the PDF that was created using "Scripts > Layer Comps to PDF"? And how do I get them to look the same?BOILERPLATE TEXT: If you give complete and detailed information ab[More]

When using the Save Layer Comps to PDF Script, can you change the PDF settings. I need both Smallest File Size and Press Quality?

Category:DefaultRelease time:-0001-11-30Views:130

When using the Save Layer Comps to PDF Script, can you change the PDF settings. I need both Smallest File Size and Press Quality? Thanks in advance to the group for assisting with this matter. - JohnNo, there isn't. The way you're using the file is n[More]

How do you remove the number sequence when exporting layer comps to files? CS6. Windows 8.

Category:DefaultRelease time:-0001-11-30Views:130

Hi I remember in CS5 there was a script you could change, but I can't remember what it was called or where it was saved.  Can anyone help please? I would like to stop Photoshop automatically adding a number prefix to exported layer comps. ThanksSo I'[More]

No link after exporting Crystal report as pdf file

Category:DefaultRelease time:2015-10-11Views:130

Hello,           If my Crystal Report contain link to the .avi file saved on the local hard disk and if I export the Report as .pdf file, pdf file does not contain that link. Why? The overall scenario is like- My application fires a query on SQL Serv[More]

Keynote exports to low quality PDF file

Category:DefaultRelease time:-0001-11-30Views:130

I exported my presentation to PDF file which looked perfect on my laptop screen. But when the presentation was projected on a large conference screen it looked awful - not contast and not well-readable. Does anybody know how to increase the quality o[More]

How to Export multiple photos from pdf files?.

Category:DefaultRelease time:-0001-11-30Views:130

Good day. How to Export multiple photos from pdf files?. Thanks.Hello how to reach from file menu ?. Running Adobe reader 9 version 9.3.0 Thanks again.Read other 5 answers[More]

Intermittent Bug when saving pdf files in Illustrator CS6

Category:DefaultRelease time:2015-10-11Views:130

I save a pdf file in Illustrator CS6 with a specific art board size. When I open it in Acrobat the size is off. When our print's RIP's the file, it is off the same amount. I will re-open it in Illustrator and re-save it and just change the name, the[More]

Hot
HI! I use bank account 193200 as a clearing account to clear open items. I have made two postings on this account in different currencies. Now I wan't t o clear this items in f-03, and the difference of apprix 10 EUR is to be posted on an exchange ra [More]
Hi All, When an analysis is exported to Excel, some of the values are showing some strange behaviour i.e. some values are multiplied by some huge number as you can see in the excel screenshot below. BI Analysis Screenshot: http://i44.tinypic.com/331e [More]
I have a report that if formated for 8.5 x 11 paper and has an address at the bottom of the page. When the report is generated as a pdf the address is in the corrent postion. When the report is sent directly to a printer from the report server the bo [More]
I have an Airport Extreme Base Station connected to a cable modem and I want to open the ports for the two Playstation 3's I connected to the Airport Extreme via Cat 6 ethernet cable. The first Playstation 3 will be used to play Call of Duty Modern W [More]
Hi,    When I export the INDD to JPG/EPS, I want to set the file name with pageNumber  for JPG/EPS files using javascript. For Example If I set the file name as EPSFile.eps, after exporting the indd(with 2 pages) to eps ,files are generating in the f [More]
I am having problems exporting images to ePub and get a different result from the same file depending on whether I export directly from the .indd file or from the .indb file. When I export to ePub from the individual chapter (.indd) file, everything [More]
I'm trying to get the windows7 ati driver to work. Loaded the bootcamp drivers but the display driver is just the generic monitor resolution 1280 x 1024.sorry its Nvidia and I finally got it working. Had to remove and then reinstall bootcamp drivers. [More]
Have a query that returns a time/date field, and I want to eliminate the time, because its not necessary select distinct c.short_name as client, c.client_id, p.list_id, p.entity_id, e.aid, a.first_name, a.last_name, p.sf_completed_date, p.email_sent, [More]
Is there an easy way to put work constructed in Pages (ver. 2.02) up on a .Mac web site? Saving the pages in HTML doesn't retain tabs, headers, etc. And the only other option I see is pasting pages into blank iWeb pages, but that is a hassle and slow [More]
Ok, so when I pass in a user:pass with the url, it works inside Eclipse, HOWEVER when I export my project and run it from it's exported location (on my local box and the server), I get the following error: faultCode:Channel.Security.Error faultString [More]