Secured PDF from Illustrator CS6

I've been banging my head against the wall on this for awhile and I can't figure out what I'm missing. My script updates the filename and date on an Illustrator file and exports a secured PDF that will not allow anyone to edit or print the pdf. I can get it secured and but I can not figure out how to disable printing.
Here is my scritp as it stands:
-- System Date
tell (current date) to get (it's month as integer) & "/" & day & "/" & (it's year as integer)
set mgDate to the result as string
tell application "Adobe Illustrator"
  -- Filename
          tell application "Adobe Illustrator" to set mgName to (name of document 1)
          set theFilePath to file path of document 1 as string
          set the oldDelims to AppleScript's text item delimiters
          set AppleScript's text item delimiters to ":"
          set thePathItems to text items of theFilePath
          set AppleScript's text item delimiters to the oldDelims
          set parsedPath to items 1 thru ((count of items of thePathItems) - 1) of thePathItems
          set AppleScript's text item delimiters to ":"
          set parentPath to parsedPath as string
          set AppleScript's text item delimiters to the oldDelims
          set text item delimiters of AppleScript to ""
          if mgName contains ".ai" then
                    set aCount to count every character of mgName
                    set aCount to aCount - 3
                    set mgName to characters 1 thru aCount of mgName as string
                    set mgName to mgName as string
          end if
          set savePDFPath to parentPath & ":" & mgName & ".pdf"
  -- Date
          set contents of text frame "date" of document 1 to mgDate
          set contents of text frame "filename" of document 1 to mgName
  --PDF Save Options
          set pdfSaveOptions to {class:PDF save options, compatibility:Acrobat 8, enable access:false, require doc password:true, require perm password:true, preserve editability:false, permission password:"Test", allow printing:pdf 40 print none, changes allowed:pdf 40 no changes}
  save current document in file savePDFPath as pdf with options pdfSaveOptions
end tell
It will create the pdf and it is secured but the printing is still enabled and I can't figure out how to disable it and help would be appreciated. I have included a screen shot of the security panel in Acrobat showing that printing is still allowed. All I want the end user to be able to do is view the pdf.

I tried with javascript and it didn't work either, I also found a post that went unanswered
http://forums.adobe.com/message/2306439#2306439

Similar Messages

  • Why does the image go blurry when I export my file to jpeg from Illustrator CS6?

    Hi,
    I have created an image on illusrator CS6 and am ready to save it.
    I have saved it as a pdf format and the image stays as a sharp vector image and not blurry at all.
    But I also want to keep the image as a jpeg. So when I go to export the image from illustrator CS6 as a jpeg, the end result comes out blurry and not sharp anymore, but more jagged on the edges of the image.
    Is there anything I can do to keep my file as a jpeg with it staying as a sharp crisp image?

    The image above is a screenshot of the ai.file
    Above - second image is the screenshot of my export settings
    the 3rd image above is a close up zoomed in part of the image - the edges are jagged and blurry

  • Too long export to PDF from Indesign CS6

    When I exporting PDF from InDesign CS6 takes too long. For example, a few minutes (5minutes). In InDesign CS3, which I used earlier, the file is exported immediately (few seconds). It is a problem in setting or higher hardware requirements?
    I use laptop 2GB dual processor, 8GB RAM, Windows Vista 32 bit. You have a similar experience?

    It is strange that CS6 supports Windows XP and Windows7 and Vista does not support. I use 8GB RAM because I bought a laptop so. There for me any solution, how to enable CS6 InDesign with the 32 bit system Windows Vista?

  • Having trouble exporting to pdf from InDesign CS6

    When I attempt to export to pdf from InDesign CS6, the application crashes. Apparently there is some phantom plug-in issue.
    I need to get this resolved asap.
    Thank you,
    Marissa

    Have a look at this generic document to help you troubleshoot: http://helpx.adobe.com/indesign/kb/troubleshoot-printing-pdf-export-indesign.html
    Could you also provide details about what you've tried, and what errors you encountered? Is this problem limited to a particular document, or all documents?

  • Creating a correctly separated PDF from Illustrator in Acrobat Reader 7,8,9

    I work in an organisation with users having various versions of Acrobat Pro and Acrobat Reader.
    We need to create a PDF from Illustrator, I guess by using 'save as', that can be correctly displayed in Acrobat 7 onwards.
    A flattened PDF views correctly in all versions, but doesn't allow some users to view separations as it converts to CMYK.
    My understanding is that PDF-X could ensure overprint is on, so the PDF will display correctly.  But, for versions 7 and 8 overprint preview will need to be activated in order for the PDF to be correctly displayed.
    Does anyone know of another solution, in that we could create a PDF, correctly separated and viewable in Acrobat Reader 7, 8, 9.
    Thanks

    Why are your Reader users using different versions? It's a free download. Get them all on the current version.
    JET

  • Unable to save a 'smallest size file' pdf from illustrator 5.5

    We recently insalled Adobe Standard 5.5
    I often save PDF files from Illustrator using the built in PDF options available from the PDF drop down menu bar when saving files. Usually I will save a visual as a 'smallest file size' or make use of the 'high quality print' option for other files etc.
    Why cant I do this on CS5.5?
    In addition, the colour is not acurate at all!
    Please help

    Hi Scott - I found the following thread on the net. So I had a look on my time machine back-ups and copied the files from there, which I then pasted into my Settings folder as you suggested.
    Ta da!! All working again!
    Any idea how I could restore these settings from a backup?
    Thanks!
    The PDF presets reside in Root/Library/Application Support/Adobe/Adobe PDF/Settings/
    After I had installed 10.6.5, 6 preset files were removed from the Settings folder. The folder tree itself remained, it was just that some of the contents of "Settings" were deleted. I have fixed the problem by copying the deleted settings files from a backup.
    These are the files which were deleted:
    Smallest File Size.joboptions
    Press Quality.joboptions
    PDFX4 2008.joboptions
    PDFX3 2002.joboptions
    PDFX1 2001.joboptions
    High Quality Print.joboptions
    These files were not deleted:
    Standard.joboptions
    PDFA1b 2005 RGB.joboptions
    PDFA1b 2005 CMYK.joboptions
    Oversized Pages.joboptions
    Somebody at Adobe community support for Indesign directed me to restore these files from a backup, which solved the problem.
    Re: Unable to save a 'smallest size file' pdf from illustrator 5.5 

  • How to export or print PDF from Illustrator with crop and reg marks?

    Hi all,
    I realise this is probably a very obvious question, but I've just upgraded from CS3 to CS5.5, and I'm tearing my hair out with the loss of Adobe PDF printer driver. I've looked on forums and can't find this question - prob. so obvious that no one else has asked it.
    Can't seem to export as PDF from Illustrator ,only 'save as'. This doesn't give me my crop marks. I've tried putting in crop marks - Effects/Crop Marks - but this places the marks outside my trim, at the edges of my background image, which comes out 2mm all round for bleed purposes.
    How can I set crop marks to denote the dimensions of the page size, regardless of how much crap I've got spilling out over the edges for bleed?
    Any help would be greatly appreciated.
    Cheers!
    PS: Bring back the PDF Printer Driver pleeeease!

    You can turn on crop & trim marsk when doing a save as to PDF. But turn on some bleed values greater than 0 (not  as in my screenshot) or you will not get any bleed of your artwork, just the marks then.

  • Copy/Paste From Illustrator CS6 to Photoshop CS6 Issues

    Hi.
    When copying a gradient filled shape from illustrator CS6 to photoshop CS6 an outline "halo" appears in the photoshop image although the shape has no outline to begin with. Is this a clipboard issue? Is it an anti-aliasing setting I can change? Apparently it isn't as noticeable when I drag the shape from illustrator to photoshop as it is when using the copy/paste command. But in both situations there seem to be issues in the border when gradient filled shapes touch other shapes. Please help if you know how.
    Thank you.

    gd2012 wrote:
    Hi.
    When copying a gradient filled shape from illustrator CS6 to photoshop CS6 an outline "halo" appears in the photoshop image although the shape has no outline to begin with. Is this a clipboard issue? Is it an anti-aliasing setting I can change? Apparently it isn't as noticeable when I drag the shape from illustrator to photoshop as it is when using the copy/paste command. But in both situations there seem to be issues in the border when gradient filled shapes touch other shapes. Please help if you know how.
    Thank you.
    In Illustrator, try a blue shape underneath the butted-together rotated rectangles so seams do not become apparent when rasterized.

  • Exporting to PDF from Illustrator ... a problem

    Hi All,
    I'm writing you as I have a small problem  when I export to PDF from Illustrator.
    In Illustrator the size of the page is 21,51X34,71 ... but when I save in PDF the size of the page is 13X14
    I have to save in PDF as the printer is waiting for the file.
    Any help?
    thanks a lot

    thanks for your answer and ... please, sorry me about my less of information.
    I'm using the illustrator CC and the operating system is Os X Yosemite.
    I'm doing exactly .. like that: save As a copy >> PDF
    and I'm using the Adobe Reader ... when the reader opens the file the property of the size page and the drawing change.

  • How to Create PDF from Illustrator CS3 by using applescript?

    Hi Guys,
    Do some one knows how to create PDF from Illustrator CS3 by using apple script. If know, please give me the scripting.
    HARI

    Have you tried File>Scripts>SaveDocsAsPDF? There should be a folder of sample scripts installed in your AICS3 folder and a folder of documentation which contains an Illustrator AppleScript Reference which has examples.

  • When I save a PDF from Illustrator the art board is cropped or has moved. How can i stop this from h

    When I save a PDF from Illustrator the art board is cropped or has moved. How can i stop this from happening?

    What is your operating system?
    Can you open that PDF with a text editor and check that the first four characters are '%PDF'.

  • Pdfs from illustrator in photoshop

    whenever i open up a pdf i saved from illustrator in photoshop in appears all pixelated. but open it in acrobat or anythin else it opens up grand. these would be all vector based designs so should all be smooth n crisp. ant ideas on how to remedy this?

    these would be all vector based designs so should all be smooth n crisp.
    No, you just have a wrong understanding of the process. Just because something is vector based doesn't necessarily mean it has infinite resolution. As explained by the previous poster, PS exclusively operates on pixels, meaning that vector art is rasterized to the document resolution. It will look smother in large documents with higher DPI settings, but that's where it ends. The same logic applies to vector smart objects - scaling them re-rasterizes at the new size, but always to the fixed pixel pattern. Other than that PS has no preview function that responds to zoom levels and always stays sharp. It is however to pass on certain vector elements natively to PDFs or send them to the printer that way.
    Mylenium

  • Question about making pdfs from Illustrator files

    Hi, can someone tell me how to solve the following problem? I am preparing pdfs that will be loaded onto a website. At the moment, I make pdfs of each Illustrator file (corresponding to each page of the document). Our current IT guy then processes the pdfs so that when someone accesses them on the website, they can simply scroll down from one page to the next. We are changing our IT set up, however, and our new IT guy suggests that it would speed things up if we could prepare a single pdf file that contains all the pdfs relating to a single document. Does anyone know if there is the facility to do this within Illustrator? (We seem to remember it could be done in the old Freehand software.) Many thanks

    Since artboards were introduced in CS4 you can create multipage pdfs directly from Illustrator.
    Tiling pages in Illustrator makes a single page pdf of all your pages, so stay away from that.
    Otherwise you would go into acrobat and stitch them together in either a pdf or pdf portfolfio file.

  • Secure PDF from Crystal Reports

    What's the best way to secure a .pdf from Crystal Reports? I'm using reportdocument.exporttostream(ExportFormatType.PortableDocFormat) in vb.net(VS2005) to create an IO.MemoryStream which is then sent via email. I'd like to add a password to this file before it's sent by email.....is it possible?

    At least one of the 3rd-party Crystal report Desktop Scheduling tools listed at: http://www.kenhamady.com/bookmarks.html
    provides this functionality.  It even allows you to dynamically control the password via a field/formula inside the Crystal report. It can also take care of the emailing part.  You can call and request the processing from your own application (via a command line API).

  • Error message when exporting to pdf from illustrator

    When I transfer from ILLUSTRATOR to pdf I get an error message saying no program associated with PDF but I have already set acrobat pro as the default program.  I can click close and it will download the file; however, once it is downloaded I cannot open the new PDF file.  This is very frustrating.

    Hi,
    I am moving your posting to Illustrator Forum from Acrobat.com Forum.
    Thank you
    Hisami

Maybe you are looking for

  • Fail to lookup jndi in EJB

    Hi, My application failed to lookup a JMS Object using JNDI lookup in EJB. The actual application flow is that a Servlet receive a request which then calls to an EJB where it loop up the JMS object to establish the message queue connection. It works

  • Same request with different Author

    Hi,       I have created the program ,the request created for the same . But after sometime, I got a call that the program is changed.While watching the versions ,  it was found that, same request is created with different author. Now my problem is i

  • Double directory?

    Hi, I created an iPhone directory in my pc with a few photos that I have sync with my iPhone. I then used these photos as avatars for some of my contacts. So for so good. Now when I select "photo albums" inside iPhone I have two directories: Photo Li

  • Product Name in Multi Lingual

    Hi Gurus, In our project we have a requirement to show the product name according to application locale's language.i.e if ENU object manager is being used the multilingual name created with ENU should be displayed, and if ARA OM is used ARA name shou

  • Syncing information to an ipod classic

    Hi, I have a problem in that when I try to Sync Address Book contacts (in iTunes) or Sync my iCal Calendars to my Ipod Classic I am allowed. Instead I am informed that, 'The settings were not saved for the ipod because it could not be found' and, 'No