Convert PS to PDF file in Adobe Distiller using javascript

Hi scripters,
I have created some PS files from Indesign using javascript. Files are d:\test\1.ps,2.ps
Now I want to convert this ps files into pdf files uisng javascript?(I am not comfort to use export as PDF option for this job)
how I can do this?
Thanks in advance
regards
a r u l

Hi arul
Firstable, you may not need to create PS files as Indesign is able to produce PDF files natively. I was told that it was more reliable to do so using a certification profile such as PDFX.
You will find a lot of PDF export script everywhere.
However, if you want to go that way (PS to PDF). I did that once.
First you determine into distiller a hotfolder where you ps files wille be generated. Then in the hotfolder options, you precise the profile you want to use. Otherwise, distiller may be using low quality PDF as default and your PDF may not be as good as you want.
var distiller = File("c:/xxx/yyy/zzz/distiller.exe"); //the path to your distiller app.
distiller.execute();
Here you are !
Loic

Similar Messages

  • How to open a pdf file in Adobe Reader using URL scheme on iOS devices

    To open a pdf files in Adobe Reader on iOS devices,
    I created url links as follows:
    com.adobe.Adobe-Reader://mysite.com/myfile.pdf
    com.adobe.reader.request://mysite.com/myfile.pdf
    But none of these does work.
    Adobe Reader starts up but never opens pdf files.
    Does anyone know how to write URL scheme?
    Thanks in advance.

    Sorry. Wrong category.

  • Allowing only pdf files in document library using Javascript

    HI,
    I have a document library in sharepoint 2013, where i want only pdf files to get uploaded in it. I have created event receiver for the same and it is working fine. but i want to restrict the files using javascript on
    the page itself, since, In event receiver, after the file is getting uploaded, it is checking and throwing error. So, is there any way to check for the file type before uploading the file and show error message if wrong file is uploaded?
    Harikrishna Baskaran

    Bind event to the upload button and add jquery to validate the file extension. Refer to the following posts for more information
    http://stackoverflow.com/questions/13124950/change-onclick-event-input-type-button-in-ie-8-9-ff-with-jquery-won%C2%B4t-wo
    http://stackoverflow.com/questions/4234589/validation-of-file-extension-before-uploading-file
    --Cheers

  • Trying to drag pdf files i have and combine them into one pdf file in the account i just purchased with Adobe. when i drag a pdf file over Adobe doesn't accept it. says it can not convert this type of file. but it is an Adobe file. Do I need to change it?

    Trying to drag pdf files i have and combine them into one pdf file in the account i just purchased with Adobe. when i drag a pdf file over Adobe doesn't accept it. says it can not convert this type of file. but it is an Adobe file. Do I need to change it in some other form befor dragging it?

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

  • I have Adobe Photoshop Elements 10 plus I create PDF files for work some are scan pdf docs. When I install Photoshop Elements 10 it DOES convert all the PDF files to Photoshop Elements-10 Docs. it even changes and shows the PSE-10 Icon. So I am alway inst

    I have Adobe Photoshop Elements 10 plus I create PDF files for work some are scan pdf docs. When I install Photoshop Elements 10 it DOES convert all the PDF files to Photoshop Elements-10 Docs. it even changes and shows the PSE-10 Icon. So I am alway installing PSE-10 or uninstalling it. If I send the  PDF file that has been automatically converted to a PSE-10 the person I send the file to can not open it because they do not have PSE-10. What can I do to stop PSE-10 from converting my PDF files? Don't tell me to upgrade PSE-10 I tried their on-line program and  it is too advance for a hobby photographer like myself and their Help Desk is impossible to reach.

    Hi,
    Can you please share the logs?
    You can use the Adobe  Log Collector tool (Log Collector Tool) and share the corresponding zip file @ [email protected]
    Thanks,
    Shikha

  • I have Adobe Photoshop Elements 10. However it converts all my pdf files to Photoshop Elements 10 so I can not email them?

    I have Adobe Photoshop Elements 10. However it converts all my pdf files to Photoshop Elements 10 so I can not email them because no one can read them they are not pdf files anymore. What do I do?

    photoshop elements and pd
    If your program is Photoshop Elements (any version), you have posted in the wrong forum. Somehow your thread was posted in the Adobe Premiere Elements Forum (video editing).
    Please re-post your thread in the Adobe Photoshop Elements Forum or wait for a moderator here to see your thread here and move it from here to there.
    Photoshop Elements
    But wherever your thread ends up, please give more details of your situation. I am not understanding "it converts all my pdf files to Photoshop Elements 10". You control the Save As.
    ATR

  • I have Adobe Photoshop Elements 10. However it converts all my pdf files to Photoshop Elements 10 so I can not email them because no one can read them they are not pdf files anymore. What do I do?

    I have Adobe Photoshop Elements 10. However it converts all my pdf files to Photoshop Elements 10 so I can not email them because no one can read them they are not pdf files anymore. What do I do?

    Nothing has been converted. You first need to convince yourself of this.
    Start Adobe Reader (or Adobe Acrobat, if you have it). Use Open from the File menu. Pick one of your PDF files. Does it open OK? If not, what happens?
    Ok, these emails. What exactly happens when trying to open them?

  • ?  Printing a PDF file to Adobe PDF messes up everything

    Here are three questions that may be related to each other.  I've wanted to ask them for a long time but kept hoping they would somehow resolve themselves.  Any advice would be appreciated.
    1. When I print a PDF file to Adobe PDF as an image, the black color (even the fonts) becomes gray and blurry.  The selection to print as an image is made in Print (to PDF) - Advanced Print Setup - Settings Custom / Print as Image (resolution 600 dpi, which is the highest available choice).  This happens regardless of what settings I choose  in Print - Properties (Standard, High Quality Print, etc.).
    2. Running OCR on occasion does something similar.  The letters become blurry and grayish.  Everything is more difficult to read after OCR. It's as if Adobe has chosen to substitute the font or color for something blurry.  It's strange. 
    3. Sometimes OCR doesn't make things worse.  The quality doesn't deteriorate.  In this case I wonder whether the quality should actually improve rather than stay as is.  If a letter is recognized despite the fact that its image is not perfect, shouldn't it be substituted in the document by a perfectly solid letter with no defects by using one of the regular Adobe fonts?  Should a real font be used instead of an image of the letter that has been recognized in OCR?
    Are my settings wrong or am I doing something wrong?  I'm using Adobe Acrobat X Pro.
    Thanks in advance.

    What version of Acrobat? What OS? What are your choices when creating the OCR? Without knowing how you are doing things, it is hard to answer.
    It is not clear why you want to create images in a PDF from a current PDF. For a black type style, it is probably better to use a preflight script to convert to gray-scale first and then do your graphic conversion (I am not asking why you want to do this, but just trying to address your question).

  • How do I convert my exsisting nitro files to adobe ?

    how do I convert my exsisting nitro files to adobe ?

    A PDF should just be a PDF. What makes you feel your files need to be converted "to Adobe"? And what do you really mean by "Adobe"?

  • Why can't I copy and paste portions of the Word document that I just converted from a PDF file?

    Why can't I copy and paste portions of the Word document that I just had converted from a PDF file on your site?

    Hi,
    I am moving your posting to Adobe CreatePDF forum.
    Hisami

  • Multiple files are bound together in this PDF Package. Adobe recommends using Adobe Reader or Adobe.

    Multiple files are bound together in this PDF Package.
    Adobe recommends using Adobe Reader or Adobe Acrobat version 8 or later to work with documents contained within a PDF Package. By updating to the latest version, you’ll enjoy the following benefits:
    • Efficient, integrated PDF viewing • Easy printing
    • Quick searches
    Don’t have the latest version of Adobe Reader?
    Click here to download the latest version of Adobe Reader
    If you already have Adobe Reader 8, click a file in this PDF Package to view it.
    Get this message when trying to open some docs. Link goes nowhere and nothing to click on.

    When you use Acrobat to convert emails it makes a special kind of PDF called a PDF package. This cannot be viewed on iOS and never will be able to be. I don't think Adobe really thought it through...

  • Convert an attached pdf file

    how do i convert an attached pdf file in an email?

    Good day,
    You'll need to save the PDF file to your hard drive first.  Then you can submit it to the ExportPDF service.  To use the ExportPDF service, simply visit http://exportpdf.acrobat.com and click 'Sign in' at the top right corner.  Enter your Adobe ID (email address) credentials to log into the service.  As ExportPDF is web-based, you simply utilize the tool through your web browser.  After you're logged in, you should see the ExportPDF interface, with a button saying 'Select PDF file..' to get the process started.
    Please let us know if you have any questions.
    Kind regards,
    David

  • How could I convert a locked PDF file to Microsoft Word file?Uergency for exam!Need help!

    How could I convert a locked PDF file to Microsoft Word file? Because of locking, I could not print it. Uergency for examination! Need help from veteran!

    Adobe do not offer any products, or help, in hacking protected files.

  • When I try open a .pdf file my Adobe Reader 11 only allows the download / save opening the related window and don't show me both options 1) open with ... and 2) save as.... probably someone flagged the choise... always perform this way ....

    When I try open a .pdf file my Adobe Reader 11 only allows the download / save opening the related window and don't show me both options 1) open with ... and 2) save as.... probably someone flagged the choise... always perform this way ....
    Could some one give help and let me know where I can probably find the settings option that allows me to change and switch to previous situation where it was possible to decide time to time how to proceed either opening the file or saving it ??
    Thanks in advance
    David

    What is your operating system?
    Open a PDF from where?  If online, in what browser?

  • I'm not able to open PDF files in Adobe Reader XI.

    I recently updated to Adobe Reader XI and now I can't open any of my PDF documents or PDF e-mail attachments.  When I click on a document I now get a window that asks if I want to allow this file to open.  I click yes and get a monstrousity the likes I've never seen.  It blacks out my screen for a couple seconds and then I get a mixture of my desktop, task bar, and a window wanting to know if I want to open this with Protected Mode disabled.  It only fills 3/4 of the screen, the items all all blown-up in size, and are distorted.  In playing with this I have gotten notes that I have an "Incompatable Application" and "Acrobat failed to connect to a DDS Server".  On occasion I will get an Adobe Reader screen that is completely greyed out with no content in it and after a couple of seconds it goes off.  Other times I got the window about Protected Mode and I've clicked on to disable it but that doesn't work either.  I removed Adobe Reader XI and re-installed Adobe Reader X and I still have the same problem which I did not have before.  I 'm running Windows 7 Professional and have McAfee anti-virus, which I have disbled on one occasion during download and that I still had the same problem.  I went to program files to find the End User License Agreement and try to see if I needed to click on 'Accept" but it tells me the file does not exist.  I even tried using System Restore to take me back to before I did the upgrade to Adobe Reader XI and I still have this problem.  I'm at the end of my knowledge level and because these files are needed in my business I'm only able to operate at about 50%. 

    From: Test Screen Name [email protected]
    Sent: Sunday, August 04, 2013 11:32 AM
    To: gunner0490
    Subject: I'm not able to open PDF files in Adobe Reader XI.
    Re: I'm not able to open PDF files in Adobe Reader XI.
    created by Test Screen Name <http://forums.adobe.com/people/TestScreenName>  in Adobe Reader - View the full discussion <http://forums.adobe.com/message/5565198#5565198

Maybe you are looking for

  • Foreign Currency

    Hi guru's Pls give suggestion I posted  foreign Currency Invoice 100 Eur 50 At the time of payment this parital Payment 50 EUR 52 How it is possible . when i try system is not showing foreign Currency Differnce system showing vendor 50* 52 Bank of in

  • HT4623 how to update itunes version on iphone5?

    I recently updated the OS in my iphone5 to 6.1.4. So now when i tried to transfer music from my macbook pro to iphone5, it said iphone should have itunes version of 10.7.1 or higher for the sync. When i tried to update itunes software, by checking if

  • Decimal marks in Photoshop

    Dear fellow users, I am using the german edition of Photoshop CS5 (same issue with CS4, however). Is there a way to set the decimal mark from "dot" to "comma"? It is a german standard to have a comma as separators - and in Illustrator and InDesign it

  • WM: LX02 / LQ02 - Blocking reason field

    Dear All, While displaying stocks in LX02 I have noticed  "Blocking reason" column. This column is empty for all positions but I would like to make use of it. Whenever we block material / move to Q we would like to mark the reason of blocking / movin

  • HT4061 hi,i,m having trouble charging my iphone 5 can you help me please

    hi,i,m having trouble charging my iphone 5.it got down to 17% before i realised it but it would not charge from my wall plug and cable.i,m now using the cable direct from the phone to my pc.i,ve read this is a common fault but i need it fixed can any