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
I have a Lenovo X200 with an Intel WiFi Link 5300 AGN wireless adapter. I have it hooked up to a Netgear 802.11n access point that operates in the 5Ghz band. The Netgear access point acts as one side of a bridge too, and I can consistently get ~90mbi [More]
Hi, I am going to purchase Leopard soon and wanted to ask this question. I have a few programs that have not been updated for Leopard and are a little old, so they probably won't receive an update. Can I: 1. Partition my hard drive and install Leopar [More]
Hi, I have requirement like below Check issued for vendor for down payment Check was cashed on 01.01.2008 Check was voided on 15.05.2008 So how to reverse that and it should be normal check How to do this please help me i will assign points Thanks Ra [More]
I've made a MDB,it works fine in WLS7.0, but when I upgraded the server from WLS7.0 to WLS8.1, I found this error:           java.sql.SQLException: Cannot call Connection.rollback in distributed transaction. Transaction Manager will commit the resour [More]
The problem with the scanner Scanning in black and white - all excellent Scan in color - black background and [email protected]  ‎Thank you for using HP Support Forum. I have brought your issue to the appropriate team within HP. They will likely reque [More]
All,           When GI is done against order in MB1A using 261 it will be posted as Reservation but when I try to post (261) it in Goods Movement screen of CO11N it is posting as Unplanned GI.I want system to reduce the reservation when i posting GI [More]
In OS X.3.9 I was able to adjust the load order of log in items. I can't do this in OS X.4.11. I would like to adjust two items Mozy and Yahoo! Widgets so that they load last. Although all my log in items including them load they hesitate while Mozy [More]
I have a problem.When I executing main process flow,after restarting database, the first,second and third are finishing sucessfull.But when I'm executing this process flow fourth time it shows the error: RPE-01003: An infrastructure condition prevent [More]
Hi I'm new to audition and havwe a problem - probably something I'm doing wrong. I am in multi track mode and want to record from my Røde Podcatser. I arm the track I want to record to and place the playhead I press record and do the speak. The probl [More]
Hi Team, Scenario is , via sm59 we are connecting https URL  to third-party using a proxy server within our network  , and https port also opened in proxy server. Is there any configurations required in sap for https communication with third party UR [More]