Photoshop Script - save as PDF, how to programmatically use "Use proof setup" option

Hello,
I'm trying to create a jsx script for Photoshop CC that will automaitically convert the given file to PDF format. The requirement is that the PDF must be saved using two options available on "Save as" dialog:
- Use proof Setup: Working CMYK
- ICC Profile: U. S. Web Coated (SWOP) v2
(screenshot: http://screencast.com/t/hnnVejK5)
I couldn't find any examples on the Internet. I experimented a bit and created the following script, it saves the pdf, but it does not seem to use the mentioned options.
app.displayDialogs = DialogModes.NO
var fileRef = File("C:\\test\\7000_tif_colors.tif")
var docRef = app.open(fileRef)
var fileName = "C:\\test\\7000_tif_colors.pdf"
pdfFile = new File(fileName)
pdfSaveOptions = new PDFSaveOptions()
pdfSaveOptions.PDFCompatibility = PDFCompatibility.PDF14
pdfSaveOptions.downSample = PDFResample.NONE
pdfSaveOptions.colorConversion = true
pdfSaveOptions.profileInclusionPolicy = true
pdfSaveOptions.embedColorProfile = true
pdfSaveOptions.destinationProfile = "U.S. Web Coated (SWOP) v2"
pdfSaveOptions.preserveEditing = false
pdfSaveOptions.layers = false
pdfSaveOptions.outputConditionID = "Working CMYK"
docRef.saveAs (pdfFile, pdfSaveOptions, true, Extension.LOWERCASE)
docRef.close (SaveOptions.DONOTSAVECHANGES)
Thank you in advance for any help.

You may want to post over at
http://forums.adobe.com/community/photoshop/photoshop_scripting?view=discussions
Have you recorded the operation with ScriptingListener.plugin and tried using the resulting code?

Similar Messages

  • How do I activate the option "Use proof Setup"  when saving?

    I use special inks for print that are warmer than neutral but not sepia.  When i want to post the image online I would like to save the soft proof with image.  Any help on how to do this would be greatly appreciated.......

    Not used very often by me—if at all; but I found a ten-year old reference:
    From: http://www.clearps.com/photoshop-forum/index.php/t/16564/
    I hope that helps.
    >>what's the difference between checking 'Use proof setup' or not?<<
    Not sure I can do much better than the Photoshop Help file explains
    it...Specifically the "Selecting this option converts the document's colors
    to the proof profile space and is useful for creating an output file for
    print. "
    To change the embedding behavior of a profile in a document:
    1.. Choose File > Save As.
    2.. Do one of the following:
    a.. To toggle the embedding of the document's current color profile,
    select or deselect ICC Profile (Windows) or Embed Color Profile (Mac OS).
    This option is available only for the native Photoshop format (.psd) and
    PDF, JPEG, TIFF, EPS, DCS, and PICT formats.
    b.. To toggle the embedding of the document's current proof profile,
    select or deselect Use Proof Setup (available for PDF, EPS, DCS 1.0, and DCS
    2.0 formats only). Selecting this option converts the document's colors to
    the proof profile space and is useful for creating an output file for print.
    For information on setting up a proof profile, see Soft-proofing colors.
    3.. Name the document, choose other save options, and click Save.

  • Is there a way to create a contact box on photoshop and save as PDF?

    Can someone explain how or where to find a tutorial to create a contact box on photoshop then save as a pdf? Thank you!

    Contact box? Your question is not clear perhaps if there was one and only one standard contact box on planet Earth there would probably be more the one correct answer to you question.  Please describe what your desired in the PDF file. If you want something that can be filled in like a contact form you may need to use a different Adobe product like Acrobat. Or something to create an HTML Page with a contact form.

  • Open PDF in Photoshop, manipulate, save as PDF, open in Acrobat...Blurry???

    Hello,
    I have Acrobat Pro and Photoshop CS2.
    I've noticed that if I open a crisp and clean looking PDF in Photoshop, maybe delete some text (with the eraser tool), then save the document as a PDF, when I open it again in Acrobat Pro, it's now pixelated and blurry and looks awful.
    Why does this happen if it went from PDF to PDF, and how can I prevent it from happening in the future?
    Thanks,
    Justin

    Photoshop PDF format is slightly different than Acrobat PDF. Photoshop must rasterize the PDF (which is where you get the blur). In this case, it is not ideal to use Photoshop to edit PDF that was generated by another design app.
    You should delete/alter text in Acrobat Pro - - or go to the original document that generated the PDF file.

  • Re: How to Clone Using the Restore Option of Disk Utility

    This is a revision to original post:
    How to Clone Using Restore Option of Disk Utility
    1. Open Disk Utility from the Utilities folder.
    2. Select the backup or destination volume from the left side list.
    3. Click on the Erase tab in the DU main window.
    4. Set the format type to Mac OS Extended (Journaled) and click on the Erase button. Wait for volume to remount on the Desktop.
    5. Click on the Restore tab in the DU main window.
    6. Select the startup or source volume from the left side list and drag it to the Source entry field.
    7. Select the backup or destination volume from the left side list and drag it to the Destination entry field.
    8. Select the destination drive icon on the Desktop and press COMMAND-I to open the Get Info window. At the bottom in the Ownership and Permissions section be sure the box labeled "Ignore Permissions on this Volume" is unchecked.
    9. Double-check you got it right, then click on the Restore button.

    There is a checkbox option in the Restore dialog to Erase the Destination. Be sure you uncheck the option.

  • How can I use the setup utility with my gaming adapter?

    How can I use this program (the cd that came with my netgear wireless game adapter) to setup my gaming adapter? I want to configure my gaming adapter but it seems like i cannot do so? How can I achieve this?

    Hi again,
    thought a bit about this...
    This thing looks to me like a special sort of wireless router with one ethernet port, which also is a bit old I guess.
    With nowadays wireless router, the configuration usually is made using a Web-Browser like Safari or Firefox and accessing the router through a built-in webpage.
    The IP adress of the router is also usually 192.168.0.1.
    Have a look inside the Netgear-Documentation, to see if this also possible here.
    Stefan

  • Photoshop CS6 Save As PDF Creates Bad PDFs

    I'm on a MacPro using the latest version of Lion, 10.8.3.
    I'm trying to convert my .psd files (CS6 13.0.4 x64) into PDFs with embedded fonts, but if I do a Save As and select Photoshop PDF and then select High Quality Print, the resulting PDF files show text that appears to be partly corrupted, no matter what application I view them in.
    Examples, first the original PSD file:
    And here's how it looks as an exported Photoshop PDF:
    The text that looks normal (starting with Holmes) can be selected, but the rest does not act normal at all.
    Any ideas?

    http://forums.adobe.com/message/5167831

  • Creating Save As .pdf workflows to be used in the Print dialogue box

    Hi all,
    I am new to Automator, and am trying to work out how to set up workflows to print/save documents, especially emails, as .pdf in a range of different folders.
    For example, I am using Thunderbird for email and when I got to the Print dialogue box, I get the PDF drop-down menu at the bottom left. When I bring up this menu, one of the options is 'Save PDF to Web Receipts folder'.
    However, I would like to add a few more folders to speed up the process of saving emails to different places. I have tried the Edit option, and tried in Automator but cannot set up a similar workflow to create more 'Save PDF to...' options.
    Can anyone give me some tips on how to do this.
    Thanks,
    Daniel.

    Hi Dan!
    In Automator help we read:
    Print Workflow plug-in
    These workflows perform actions on files that have been saved as PDFs. They can be chosen from the PDF pop-up in the Print dialog. The file is first saved as a PDF formatted file, then the path to the PDF is passed to the first action of the workflow.
    So this means your workflow could consist of just one action: Move Finder Items. I set this up with the To: field set to my desktop, and then selected Save As Plug-in from the File menu, gave it a name, and selected Print Workflow from the drop-down box. That's it! When I went to go print something, the workflow showed up in the menu automatically. (:

  • How do I use a Select-Options field without Ranges?

    Hi,
    I understand that by using the NO-EXTENSION option on the Select-Options statement I can limit the user to entering only one line...either a single value or a range of values.
    However, is there a way to allow multiple lines of single values, but not allow any of those lines to be a range...just a series of single values only?
    Thanks!
    Andy

    Amit,
    I do not see they yellow arrow "before" "to", but I see it "after" "to".
    When I click the arrow I am able to add ranges.  I would like to prevent the user from entering Ranges.
    Did I misunderstand what you were trying to say?
    Andy

  • How can I use a setup.exe file on my mac

    I am attempting to download a demo software on my mac. It uses a setup.exe and I am unable to make it execute. I do have microsoft office on my mac.

    You need to be running Windows to use that software:
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    1. Install the Apple Boot Camp software.  Purchase Windows XP w/Service Pak2, Vista, or Windows 7.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    2. Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    3. VM Fusionand Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    4. CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    5. VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    6. Last is Q.  Q is a freeware emulator that is compatible with Intel Macs.  It is much slower than the virtualization software, Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. Boot Camp is only available with Leopard or Snow Leopard. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • How to save a .pdf

    is there a way to save a pdf i created by using one of the fileds in the form so it will use that as the name of file, so i will be able to search for it in the future. for example i created a form that has a purchase order field, i would like for the pdf to grab the information from that field(numbers) to make the file save as name for me..hope this makes sense.
    Thank you
    Mike

    Yes, it's possible, but requires installing a script on the local machine.
    See here for more information:
    http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • How to SaveAs a pdf document?

    How to SaveAs a pdf document via javascripting using "Acrobat 8.0"? Kindly advise me with examples.
    Thanks

    Look at the method saveAs in the Acrobat Javascript API Reference.

  • Prevent Insertion of Author Name in Save as PDF

    The standard Print dialogue box features a button/menu "PDF" with a "Save as PDF" choice. By default, the user account's full name is inserted in the Author field when using this option. (I shall not comment on Apple's wisdom -- or lack thereof -- in setting such a default.)
    Others have asked before how to prevent this behaviour, eg
    Save as PDF
    How to Print to PDF anonymously
    Print - Save as PDF
    and various solutions have been suggested, some more ingenious than others. However, they do not actually answer the question.
    I am aware I can use various methods to remove the metadata afterwards, or use an Automator action, or simply delete it before the PDF file is created, but any of them means more, rather than less, work. So my question is simply this:
    How can I modify the default and prevent the OS from inserting the full name in the Author field in the first place?
    Thanks.

    thanks for the reply:
    don't know if this some sort of a display redraw issue:
    but if I just hit enter I get the file saved as untitled.wav (which is floating in the middle of the screen not in the correct location)
    and the file ends up in "My Music Folder" (which I never use, but can't change folders either)
    -good grief I hate M$ for their My . . . crap folders
    the system is using similar Intel-GMA integrated graphics as my main workstation
    the only difference is processors and the chipset is one generation back
    my main workstation has 965ry and the backup has 945g

  • Save As PDF no longer an option...

    Hi!
    I recently purchased the Creative Suite (CS6 Standard for PC). I'm using Photoshop and have created a couple documents and haven't had a problem. I uploaded a file from one of my suppliers and now my ability to Save As a PDF is no longer an option. This is a huge problem. Has anyone else experienced this issue? Please help!
    Thanks!

    Check your document color mode and bit depth.
    Photoshop still saves as PDF, if you are in a color mode and bit depth that PDF supports.

  • Cannot Save as PDF

    When I try to save as PDF, the screen goes blank & Frame stops responding. When I close that window, I see the message about turning off the Rely on system fonts only in Adobe PDF. However, I already did clear that check box, both in Printer properties (Adobe PDF Printing Defaults) and in Printing Preferences. (I don't understand what the difference is between Properties and Preferences except that the same troublesome check box appears is two different locations.)
    Does anyone know what else I might do to get Frame to "accept" that that check box is cleared?
    There is another problem that might be related. I have two Adobe PDF printers listed in Printers and Faxes. One is named Adobe PDF, and the other is Adobe PDF Converter. I cannot find version information on either to decide which is the most recent. Should I delete one of them? Does anyone know which?
    I got Save as PDF to work previously, but not sure what has changed. Do I HAVE to set the PDF printer as my default printer for Save as PDF to work?
    Using Frame 9 on Windows 7.
    Thanks for any suggestions.
    John

    OK, Save as PDF works as long as the Acrobat PDF printer is set as system default. It doesn't work when another printer is set as system default and Acrobat PDF is selected as FrameMaker's printer in Print Setup. This makes no sense to me, but what do I know?
    Thanks again, Art.

Maybe you are looking for