[JS] [CS3] Saving to PDF with restricted printing "PRINT128LOWRESOLUTION"

Hi All,
This is my first JavaScript. Trying to create a script which will save the active illustrator document to PDF with the following:
a) sets permission password
b) restricts printing to "Low resolution" only.
I was able to get the script to do everything, except restricting printing to "Low resolution". Though i have set it to low resolution (PDFPrintAllowedEnum.PRINT128LOWRESOLUTION), it seems, illustrator ignores this statement, and set it to "high resolution" (PRINT128HIGHRESOLUTION).
See my code below:
var curDoc = app.activeDocument;
var destName = "~/Desktop/Testpassword1.pdf";
saveFileToPDF(destName);
function saveFileToPDF (dest) {
var doc = app.activeDocument;
if ( app.documents.length > 0 ) {
var saveName = new File ( dest );
saveOpts = new PDFSaveOptions();
saveOpts.requirePermissionPassword = true;
saveOpts.permissionPassword = "test1";
saveOpts.pDFAllowPrinting = PDFPrintAllowedEnum.PRINT128LOWRESOLUTION;
doc.saveAs( saveName, saveOpts );
Any advise will be much appreciated.
JaiSanM

Hi
I see the same thing with Reader, seems they've chosen to restrict it in that fashion.
Preview works ok, but sure, doesn't open some pdf's.

Similar Messages

  • AcroPro9, snow leopard, "Saving a PDF file when printing is not supported"

    Hi,
    I have AcroPro9.1.3 (and 8 and 7 and Dreamweaver CS3, and probably other stuff too) on Snow Leopard (10.6.1).
    I've read about de-installing the Acrobat printer and using "save as Adobe PDF" from the PDF button on the print menu.  However, when I try this, I'm told "Saving a PDF file when printing is not supported".  Note that this is AcroPro9, not AcroReader.  I get the same message when I try any of the other options under the PDF menu on the printer menu in Acrobat.  In other applications, tho, (eg powerpoint), the PDF button works fine.
    Before the upgrade, the PDF button on the print menu didn't work either (same message), so I used the Adobe printer, but now I can't.  I had always assumed that AcroPro was stopping me from using Apple's PDF generator in favour of the Adobe one.  But maybe some of my settings are wrong.
    I now cannot print to PDF from Acrobat.  Help.  There are 120 fourth year software engineering students who will appreciate any help I get, as I can then post my recent lecture notes for them.
    (What I really want to do is to take my powerpoint slides and print 4-up versions directly.  But the PPT idea of 4up wastes a lot of space, so I generate 1up PDF, and the 4up PDF from that using Acrobat.  At least, I used to.  It was so much easier in the old days with Latex and psnup ...)
    -- Mike G.

    My current solution is to print from Preview instead (which will let me use the Adobe print facility, unlike Acrobat itself).
    In fact, I pretty much have no need for Acrobat at the moment.
    Adobe and Apple between them seem to have some real problems with Snow Leopard.  I can't get Dreamweaver to run anymore without immediately crashing (yes I looked through the help forums, deleted settings, etc etc).  So I'm now looking for a replacement tool for Dreamweaver and will likely use that from now on.
    Adobe is not looking very good to me at the moment.  YMMV.
    -- Mike

  • Print to PDF - using Snow Leopard (Saving a PDF file when printing is not supported. Instead, choose

    i have a PDF form that i created that is used as a custom proposal that my company sends out to potential clients. the form in its editable state is only used internally. we recently upgraded to snow leopard, but prior to the upgrade, we were able to fill the custom proposal form out using adobe reader, and, as you well know, we weren't able to save that edited document as a PDF with the custom form fields filled out. our work around using adobe reader was to print to a pdf using the adobe pdf printer in the printer dialog. with the addition of snow leopard, however, instead of choosing the adobe pdf printer, we were to choose PDF from the bottom left corner, then Save As PDF, and it would spit out an uneditable pdf that then allowed us to email it to the potential client without them being able to edit it as well as have an internal, digital copy for our records instead of having lots of paper floating around (i know this is also doable using security that disallows the client certain editing privileges, but printing to a pdf is much quicker and more efficient, and the pdf security isn't really that secure at its best).
    in any case, i came across this gem of a post here on the support forums that installs another option from the PDF drop down on the bottom left of the print dialog menu that reads Save As Adobe PDF and is supposed to do exactly what i am trying to get it to do...print to a pdf file from adobe reader.
    http://kb2.adobe.com/cps/509/cpsid_50981.html    
    once i updated to acrobat 9.2 (as the link above suggests 9.1), however, the Save As Adobe PDF does appear in the print dialog menu, but it still gives me the same error that acrobat 8 - 9 gave me while using Snow Leopard — Saving a PDF file when printing is not supported. Instead, choose File > Save — and as i've already explained, you can't save an edited pdf form in reader (as i am the only one in the office with acrobat) and still keep the fields as you've entered them in. the only work around is to print to a pdf but is apparently having some recent problems.
    using acrobat, however, i know that i can save the editable pdf as a new file with the fields customized as i have left them, but it still saves it as an editable pdf and the print to a pdf option still remains the best option...that way we have digital copies internally that are uneditable that can be printed at any time or emailed to the client.
    how can i do print to a pdf, based on what i've written above, using snow leopard and acrobat and reader?

    A simple way is to flatten the form fields, which converts the field appearances to regular page contents. You can do this with JavaScript or PDF Optimizer (Advanced > PDF Optimizer > Discard Objects > Flatten form fields). A very nice script that adds a custom menu item can be found here: http://www.uvsar.com/projects/acrobat/flattener/

  • Saving a PDF file when printing is not supported. Instead, choose File Save.

    I am using Mountain Lion (10.8.2) and I was using Adobe Reader version 9. In the past, I've always been able to print to file using the File -> Print dialogue but all of a sudden it stopped working. I read somewhere that installing the latest version of Adobe Reader (version 11) would remove the old printer, so I did so. It took me about an hour on version 11 to even find the pdf print to file option, but I am getting the same message. For what it's worth, when I try print to file from Microsoft Word, I have no problem. I have no idea why things changed all of a sudden, but does anyone have any idea how I can get this working again?

    I checked with Adobe.  No luck. 
    Allow me to clarify my problem: 
    I have Adobe Reader XI. I also use a Mac--imac and a MacBook Pro.   My adobe was updated on 12/24.  Prior to that point, I could open my print dialogue box and there was a PDF tab on the bottom left.  In the drop down menu there were many choices, including but not limited to Open in PDF Preview, Print PDF, Save PDF, email PDF.  If I selected one page of 30 pages from a document saved in Adobe, I could extract just that one page and save it or email it, without having to send the entire document.   After the update, when I open a PDF file using ADOBE READER XI, and then open the print dialogue box, and follow those same steps, I get the message "Saving a PDF file when printing is not supported. Instead, choose File > Save."   My question is why is this feature now unavailable and is there a way to fix it? 
    The answer I got from Adobe was that Adobe never had this function, so it must have been via my print or preview programs..which are apple.  Does anyone have any thoughts?
    Thank you.
    https://forums.adobe.com/message/7124567 

  • Saving a PDF file when printing is not supported.

    Hi Guys,
    I upgrade from leopard to snow and now I don't have the possibility anymore to to print PDF as a PDF.
    Before I was going to print and then choose save as a pdf and everything ok.
    Now after the upgrade to snow every time that I am going to print a pdf from a pdf (acrobat 9 and X) I received this msg "Saving a PDF file when printing is not supported. Instead, choose File > Save "
    Why that happened ? how can I fix it?
    The thing is that I have a pdf form (contract) that I have to fill up and print it as a pdf.
    Now I can't do that I can save only the form with the fields unlock.
    thanks you in advance for your help.
    Xoxo
    Fotis

    Ah.. this is so annoying filled in a long form.. which doesn't allow saving.. I assumed as normal with this type of form I could print to PDF and at least get a electronic copy.. but no, I made the mistake of installing Adobe Reader.. and it has screwed up the print options.. when I try to save as PDF from the print menu I get the helpful suggestion
    "Saving a PDF file when printing is not supported. Instead, choose File > Save."
    When I do as suggested.. it helpfully tells me that it will only save a "blank form"..
    Adobe has badly messed up their reader.. I now need to print out and then scan this document to get the electronic copy I need.. I will be uninstalling promptly after this fiasco..

  • Message error: "Saving a PDF file when printing is not supported. Instead, choose File Save."

    I have 2 problems creating a .ps file.
    As i know, there are 2 ways of creating a Postcript file from a PDF.
    The first is from the Print monitor. I go through menu File/Page Setup i give the exact dimensions from my spreaded pages and after that i go to Print and when this window opens,
    i go down and left and i open the pop-up menu on"PDF" and i choose "Save PDF as Postscript"
    There is where i get the above error message :
    "Saving a PDF file when printing is not supported. Instead, choose File > Save."
    And the second scenario, i get an equal problem.
    If i go to Page setup and give the right dimensions of my spreaded document, after that i go to the File/Save as command, there is choose from the bottom pop-up menu, the option at Format: Postscript
    If i do that i get the following message:
    "The document could not be saved. An internal error occured."
    What is wrong with all this?
    Can anyone help me out?
    System preferences.
    Mac OS X 10.4.11
    Acrobat professional 8.1.2
    Thank you

    Jon Bessant asked:
    "Does this occur on every PDF file? The internal error message that is ..."
    Yes, it happens on every PDF

  • Converting WordPerfect to PDF with desktop printer tool: Not working

    I have been a monthly subscriber to Adobe CreatePDF for many years! I work mainly with Correl WordPerfect, but with the change to the Pack version it is not supported. I downloaded the desktop printer tool; it is installed. However, when I follow instructions and print, I get nothing. Where does the PDF go? What can I do? Please help! I cannot continue to pay monthly if I don't get service.

    Thank you very much. I have uninstall adobe desktop printer tool and my wordperfect. Next step is follow your suggestions but I am no computer anything, lol. 1. How do I know if I have a win 7 sp1? I have win 7 that much I know. 2. Where can download the hotfix? 3. With adobe createpdf, I didn't need adobe ps printer setup, I don't have a laser printer at home, I have an hp inkjet printer.
    Please help again and soon, :).
    Date: Tue, 7 Jan 2014 11:52:08 -0800
    From: [email protected]
    To: [email protected]
    Subject: Converting WordPerfect to PDF with desktop printer tool: Not working
        Re: Converting WordPerfect to PDF with desktop printer tool: Not working
        created by H.Spector in Adobe PDF Pack (formerly CreatePDF) - View the full discussion
    Please do following
    (A). If your system is Win 7 SP1 then install a hot fix to correct inetpp.dll version at C:\Windows\System32 folder.After installing the hot fix version will be 6.1.7601.21819 from 6.1.7601.17514.
    Note please uninstall CreatePDF Desktop printer then reinstall after applying the hot fix
    (B). If you have not installed Adobe Postscript driver yet then please install one as below:
    How to Install PS printer:
    1. Open Start menu > Devices and Printer ( or from control panel) and select "Add a printer"
    2. Select "Add a local printer"
    3. Select "Use an existing port: LPT1: (Printer port)
    4. Select any company and any PS printer with Adobe PS printer driver(not clone) such as Xerox and Xerox Phaser 6120PS
    Adobe PS driver files:
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5989811-532123/450-202/PagesfromHowToInstall_PS_PrinterDriver_onWin7.jpg
    (C) Go to the printer configure port and verify your Adobe ID and password
    1. Goto Start> Devices and Printers > Adobe CreatePDF Desktop Printer
    2. Click right mouse to open “Printer properties”.
    3. Select “Ports” tab
    4. Select ”Internet Port: Adobe CreatePDF Desktop printer”
    5. Click “Configure Port…” button at the bottom
      http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5989811-532115/410-417/IPP_Scr eenshot.png
    When printing to PDF you will see below and an email is delivered to your email inbox.  The converted PDF file will be stored at https//files.acrobat.com.
      http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-5989811-532116/395-199/IPP_Scr eenshot_Queue.png
    Thank you
    Hisami
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5989811#5989811
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5989811#5989811
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5989811#5989811. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Adobe PDF Pack (formerly CreatePDF) at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Illustrator CC 2014- Unknown error when saving as PDF with Printer's Marks

    I've been getting an error message (bellow) when I save a ANY of my AI file as PDF with Printer Marls (Trim Marks etc).
    All fail attempts were files with: No transparencies - No effects - Simple Type (tried outlined and live) - Simple shapes.
    I tried:
    - Trash the Adobe Illustrator Settings folder
    - Reboot the application
    - Reboot computer
    - Rebuild file
    - Replace fonts
    Please help. I'm a print designer and that's vital for my line of work.

    Without system information and details like what PDF preset you use nobody can even begin to guess.
    Mylenium

  • Print PDF with special print options of Canon IR printer

    Hi,
    We have a collection (db driven) of PDF documents that we want to send to our network printers. Some document need a hole punch of some other specific printeroptions of a Canon IR printer.
    The ideal solutions is a windows application where i could define virtual printers with their print options (pdf and printer specific).
    Eg:
    A user creates in a the windows app a virtual printer with name and print options
    - FastPunch: Printer IR5570 with hole punch
    - Fast: Printer IR5570
    - Color: IR C4080
    - ColorBooklet: IR C4080 with booklet options
    When the app starts its batch it will look at de db and find rows with an PDF and the name of a virtual printer. The documents are printed with specific printer preferences.
    Does someone has experience with such an solution? Tips?
    Someone wants to make this in vb.net (or c#)? What cost?
    gtx, Pierre

    I have downloaded the Acrobat SDK but I haven't really waded through the documentation or samples yet. I've only been working on this project for about 3 days now and not full time. This isn't the highest priority at work. I've worked a bit with the adobe reader control and that looks like it has some promise.
    I have two significant problems:
    1) I don't want the user to see any windows appear other than my console application. That way I have it working right now, Acrobat is required and appears minimized while the file is spooled and then is closed after spooling completes. Not so horrible but I'd like to get away from it if possible. To print the file right now I'm using the startprocess module or something (new version of shell I think). I'm starting the pdf with the verb "Printto" and that tells Acrobat to print to a printer that I specify.
    2)Biggest problem. I have no reliable way to change the number of copies or any other print settings. I am not willing to write a program that spools a single copy multiple times just to get multiple copies. Currently my program uses rundll to open a printer preferences dialog, and SendKeys to modify the print settings. This means that the computer cannot be used while automated printing is occurring.
    Right now the program's only saving grace is that it allows the user to be ignorant of the job settings so that all the user has to do is indicate an item number and quantity and walk away (hoping nothing changes the focus and derails SendKeys - but we know that kind of thing never happens in XP :P )

  • Saving a pdf with seperate colors

    Hello guys,
    I'm new in here, so i hope my thread is on the right place. If not, please correct it.
    I need to know, if it is possible to save a .pdf file (with some printing documents on it: with CMYK colors and PANTONE colors) with seperate colors.
    I tried my best but i didn't find something. Google and other websites didn't help me.
    I have the Adobe Acrobat Vers. 8
    It's no problem to have a look at the seperat colors, but i don't know how to safe it, that the costumer can have a look at those seperat colors too.
    So i need a .pdf file with x-sites (for every color a site)
    Maybe you can help me.
    Thanks in advance and sorry for my bad english
    regards
    phil

    What program are you using to create the original file? You should have options from there when you make it a pdf to print to plates (as .ps for distilling, or as .pdf), or change the color mode to "separations" instead of "composite"  under the color options, or something similar. The details depend on what program you're using to create the file.

  • Saving as pdf with pages in correct order.

    my magazine is 40 pages, i want to perfect bound this . so obviously i will be only printing 36 pages as a magazine, Then the other 4 pages will be the front/back cover to be attached afterwards.
    when i print in indeisgn for perfect bound to my printer, indesign re-arranges the pages in the correct oder so when i fold them they match up.
    e.g (4,1 / 2,3 / 8,5 / 6,7 ect) and when its folded up it reads ( 1 / 2,3/ 4,5 / 6,7 / 8 ect)
    but since im not using my printer i need the magazine to be printed from a PDF file.
    when i save as a pdf it just saves in order (1-36) so when it goes to print its not in the correct order that my magazine needs to be.
    could anyone tell me how i can save this in the correct order for perfect bound as a pdf.
    if i cant do it so simply could anyone tell me the easiest way to get these pages in the correct order.
    thanks

    When you send out for commercial printing, that's what you want -- an unimposed PDF consisting of the individual pages. It's the Printer's job to impose them for his equipment, especially for perfect binding which requires a grind-off at the spine.
    Most likely the cover (which will need a spine panel) is going to be printed separately on differnt stock, and should probably be prepared as a separate file, but check with the printer.

  • Open a pdf with out print or save button

    Hello,
    Is there any way to open pdf with out using save or print and also make other users to not to open the file.
    thanks

    Hi,
    My understanding is that you have a PDF document in a document library and you want to open the PDF in one click.
    If my understanding is right, then you can set the default open behavior to ”open in the client application”.
    Also, please install the corresponding software to  the default program of opening the PDF.
    About making others not to open the file, you can set the Library permission for specific user to achieve it.
    Here is a detailed article for your reference:
    http://blogs.technet.com/b/officeasia/archive/2013/01/09/configure-sharepoint-server-to-open-office-documents-in-client-application-by-default.aspx
    https://support.office.microsoft.com/en-us/article/Manage-permissions-for-a-list-library-folder-document-or-list-item-9d13e7df-a770-4646-91ab-e3c117fcef45?CorrelationId=46b5ab40-7045-4790-96d1-159b8afbf672&ui=en-US&rs=en-001&ad=US
    Thanks
    Best Regards
    Jerry Guo
    TechNet Community Support

  • HP Laserjet 4250 - While Printing PDFs with Watermark, Prints images as scrambled

    Hi,
    I am using HP Laserjet 4250 printer. While Printing PDFs with Watermark, the printer prints images as scrambled. It prints the part of the image as scrambled which is overlapped by the Watermark. The other part of the image is printed fine. When seen on the screen, it shows up the image with the watermark properly. Could you please suggest how to arrive at a solution for this problem. Thanks in advance.

    Hi @Sebastian43 
    I suspect your question would be better answered in the HP Enterprise Business Community,  as the HP LaserJet 6L is a commercial model.
    My technical expertise is with consumer products and software, I am sure the commercial folks would be happy to help if you re-post your question for them to answer. The HP Enterprise Business Community is an HP Forum designed for the Commercial and Enterprise customers to help one another. I am sure you will find some HP folks there to help too.
    Click here to view the Printing and Digital Imaging.  When the page opens you will see the option to 'Log in' or 'Register Now' on the right. The commercial forums are separate from the consumer boards, thus you will need to register if you don't already have a commercial account.
    You may find the HP LaserJet 6Lse Printer support page helpful while you wait for somebody in the commercial Forum to respond to your inquiry.
    Best of luck.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Open a PDF with restricted tools

    I heard that there is a lot what can be done with a PDF via scripting (restrictions in the PDF itself, not an extra viewer application) .
    What we should like to do in the PDF itself:
    - Use Local Fonts (disabled and not possible to enable)
    - Formfields allowed
    - Digital signatures allowed
    - Only the following commenting tools allowed
    - Rectangle Tool
    - Line Tool
    - Overprint option (enabled and not possible to disable)
    - Print menu Advanced
    - Enable "Simulate overprinting" and not possible to disable
    - Printer profile "Same as source (no color management)" and not possible to disable.
    - PDF should be compatible with Acrobat 5, 6, 7 and 8 (also for Acrobat Reader)
    If this all is possible how can we add the script in the PDF ?

    I´m looking for some of this, too. E.g. I want to have a button
    in a PDF that toggles the "Overprint" option, I want to read out settings of "Use Local Fonts" and set it ---
    Setting Overprint works with a
    app.execMenuItem("Overprint");
    in Acrobat 7 -- however in Acorbat 8 it fails due to security restrictions ?
    Is there a way around this? (trustedFunctions only work on initializing the applications, batch and... )
    Regards
    Werner Frank

  • Trouble saving certain pdfs with Adobe x

    I have just upgraded to Adobe x and am now unable to save certain pdfs (eg journal articles). They are not protected files and I was able to do this with the previous version. Same issue as previously asked and also running Windows 7:
    "I am unable to save copies ofcertain pdfs in Reader X (10.1.1). The pdf (from an academic journal) opens without problem but when I click on the Save a copy icon in the tool bar nothing happens.  I'm told to click Shift+Ctrl+S and then get a "Bad Parameter " message.  If I click on the Print icon there is no problem.  I'm running Windows 7"
    Help would be great - needing to get study done!!
    Thanks
    Kelly

    After installing Reader 10 (aka Reader X), I had exact same problem --trying to save multiple documents via Firefox browser (up-to-date version 3.6.13), only first document can be saved -- attempts to save 2nd document results in nothing happening.  Uninstalled and reinstalled Reader 10, problem same.  After closing browser, waiting a couple of minutes, could then save 2nd file -- but then could not save 3rd file right away, etc.   Gave up -- uninstalled Reader 10 and went back to Reader 9.4 -- no problems with old version.  Based on other comments on this forum, it seems like Reader 10 is not ready for prime time.

Maybe you are looking for

  • Error : Old and new exceptions cannot be used at the same time.

    HI ALL, i build a new exception class with message class and i want to replace the old exception that i had in the method ,what i did is delete the exception from the method signature and add the exception class . the problem is that when i try to ac

  • HT1338 I have a new mac and I want to get mountant lion, my Q is how I get it free?

    I have a new mac and I want to get mountant lion, my Q is how I get it free?

  • Need Function Module or Bapi....

    Can you please tell me function module or bapi which can create RFQ (Request for Quotation) from PR(Purchase requisition) thanks and regards, Hetal

  • SUP 2.2 SP4 iOS client exception

    Hi  When i try to retrieve data from SUP, an exception occurs "<Warning>: [SQL TRACE][ERROR] {thread:0x175cf770}: fail to get connection: -840, -840 (ERROR)" Registration, login etc works fine. The above exception happens when i save personalization

  • Selection of Infoobject

    Hello, in update rule PPROC_RU_TARGET_VALUE for InfoCube PPROCTSC I want to assign the InfoObjects in the cube to the ones in the update rule. This I can't do because I cannot see the proper InfoObjects in the update rule for selection . Can you help