Script to remove logo on 600-page pdf

version 8 Pro
How to do; is there a script for this?
After I remove the logo, I want to add the new logo but I know I can do this via the Document, Watermark feature for all pages at once.

You might be able to remove the logos using Redaction annotations, which you can apply via JavaScript. The Acrobat JavaScript reference has more information.
George

Similar Messages

  • How to remove logo when printing a PDF without editing

    I need to recover pdf Document Management System that contains a logo and would like to remove the logo. Is there any way to remove it without editing the PDF?

    You can create a new layer that you can have the logo appearing on, and change the properties of the layer 'Not to print', then delete the layer from the base.
    I am working on the assumption that the logo is selectable on its own, you have permission to change the PDF....if not, I can't think of how you can remove something without editing it...

  • Script to remove first characters of a PDF filename?

    I know this should be easy, but I'm not a coder and don't have many occasions to write scripts.  I hope this is like a two second request for someone out there.  All I'd like to do is point a script at a PDF that will look at the filename, chop off the first two characters of the filename, and resave over the original file.  I need to do this to about 400 PDFs on a recurring basis, hence the need for a script.  So for example, if I have a file C:/temp/myFile.pdf, I'd like the script to rename the file to just "File.pdf". 
    Any help would be greatly appreciated.
    jbf

    You've both been an immense help.  Unfortunately I do have commas in my file names (which are auto-generated by another system over which I have no control).  I tried to get around this with the following, but no dice:
    var filePath = this.path.replace(this.documentFileName,"");
    var newFileName = this.documentFileName.substring(2);
    newFileName.replace(",","");
    this.saveAs(filePath + newFileName);
    What am I missing?  The console tells me the error is with the saveAs function, so if the error comes from there, it seems like one of the two replace functions isn't doing its job. 

  • How to keep a 50-page segment of a 600-page pdf?

    I want to do what the subject line asks without sacrificing the typographical and nonverbal features --- that is, like ripping the desired pages out of the book and tossing the rest.

    Not possible with Reader. You need Acrobat for that.

  • Remove one logo & some text in pdf page

    Hi, i want to remove one logo & some text in pdf page, so i have used stamp tool & done it. my problem is after saving output pdf file size is very high. so pls tell me after editing how to save in pdf format & less file size.(without loosing image quality). my pdf page i have upload to bellow link (520 kb). thanks....
    https://app.box.com/s/kn0g6kfs1pz4sjzfgmna

    You can't. PS will always rasterize a PDF and as a result when saving you effectively save a pixel image that will almost always be larger than the original.
    Mylenium

  • Creating Multi-Page PDF from a Layerd Illustrator file (script)

    Often times when designing a logo I create different versions and variable options on layers. This can result in several layers in one Illustrator file. Is there an easy way or an existing script that will allow me to (with one click) create a multi-page PDF consisting of all the layers within my .ai file? The current method is turning on each layer, performing a save-as (PDF), then turning off said layer and turning on the next layer and repeating the task and so-on-and-so-forth, etc … It becomes tedious and quite often I save over the previous version, forgetting to re-name it or forget to perform a save on a certain layer. Can anyone help with some advice? I have never written my own script before but am not opposed to trying, where do I begin?
    Any help is appreciated.

    You don't say what OS you are using and which scripting language you are thinking of doing this in…
    This is a sample that may get you started done in JavaScript so it's platform independent with the exception of my 'mac style' file paths.
    If your on a PC it may just be a typo to set to C drive or whatever you call them things…
    If you are on the mac OS then it should just dump a load of PDF's on your desktop.
    You say about a multi-page PDF but don't think Illustrator can do this unless its been added with multi-artboards in CS4?
    Others would have to let you know that…
    #target illustrator
    var docRef = app.activeDocument;
    with (docRef) {
    var docName = baseName(name)
    var pdfOptions = new PDFSaveOptions();
    pdfOptions.pDFPreset = '[High Quality Print]';
    // Turn all layers off
    for (var i = 0; i < layers.length; i++) {
    layers[i].visible = false;
    // Turn each layer on
    for (var i = 0; i < layers.length; i++) {
    if (i == 0) {
    layers[i].visible = true;
    redraw();
    var layerName = layers[i].name;
    var saveAsPath = new File('~/Desktop/' + docName + '_' + layerName + '.pdf')
    saveAs(saveAsPath, pdfOptions);
    } else {
    layers[i-1].visible = false;
    layers[i].visible = true;
    redraw();
    var layerName = layers[i].name;
    var saveAsPath = new File('~/Desktop/' + docName + '_' + layerName + '.pdf')
    saveAs(saveAsPath, pdfOptions);
    //close(SaveOptions.DONOTSAVECHANGES);
    function baseName(fileName) {
    var nameString = '';
    var extOffset = fileName.lastIndexOf('.');
    if (extOffset == -1) {
    nameString = fileName;
    } else {
    nameString = fileName.substr(0, extOffset);
    return nameString;

  • Large pdf(40MB) with 600 pages color quality is poor if i print more than 1 or 2 pages at a time.

    I have a 40MB PDF file with over 600 pages of color images. If i print each page one at a time, there is no issue whatsoever with the quality, but if i print say 5 pages, the 4th and 5th page and any subsequent page will look like rubbish. In general, just not the same color quality as before. The Konica Minolta printer doesn't seem to be at fault here because like i mentioned, this problem does not occur if i print individual sheets, just if i print more than 5 or so.
    Printing individual sheets in this instance, however, is not a real solution because in all the job will have many thousand pages. What do i do? Any one here experience a similar problem?

    You were able to catch me whilst my Konica Minolta tech was here.
    This is my take on his diagnosis,
    The c353 while capable of quality output is not exactly a robust production level machine.
    Without the aid of a RIP, all the processing needs to happen either in memory or it may have a hdd. Does the machine have a hard drive?
    In either case, you are running out of memory.
    Changing the printers properties on spooling may aid in completing the job.
    He mentioned sending the job as raster. Print as Image from Acrobat's Advanced tab would do that, but I think you would cripple your computer doing such. Try it; be prepared to go out to lunch or something while it churns away.
    hth

  • Getting Page Count for a Multi-Page PDF file using Illustrator script?

    Does anyone know how to get the page count of a multi page PDF file?  I know you can then open each page using the PDFFileOptions (pagetoopen).  But I need to know up front how many pages there are to loop thru to open each page and process each page.
    Any Ideas?

    This script i did for photoshop:
    OK so lets do it working on WIN and MAC without any shell script.
    This solution is not the best but its working.
    I used Try catch to solve it.
    Only issue is that you should at least somehow know how many pages you expect in pdf.. this mean if you are working with books or flyers...
    Then set the maxPagesCount to that number.
    I am working with pdfs with max 20pages.. so i start open the 20 then 19 then 18 and when i am success i know the amount of pages.
    Its not the quicker way but its usable.
    var maxPagesCount = 20;
    var actPagesCount = maxPagesCount;
    var opts1 = new PDFOpenOptions();
    opts1.usePageNumber = true;
    opts1.antiAlias = true;
    opts1.bitsPerChannel = BitsPerChannelType.EIGHT;
    opts1.resolution = 10; //it will load faster the test page
    opts1.suppressWarnings = true;
    opts1.cropPage = CropToType.MEDIABOX;
    myFunction = function () {
      try { 
          app.displayDialogs = DialogModes.NO;
          var fileList = openDialog();
          for (i = 0; i < fileList.length; i++) {
            actPagesCount = maxPagesCount;
            getPagesCount(fileList[i],maxPagesCount);
            alert(actPagesCount);
      } catch (exception) { 
        alert(exception);
    getPagesCount = function (checkFile, lastPageID) {
      try {          
        for (var checkPage = lastPageID; checkPage > 0; checkPage--) {
          opts1.page = checkPage;                    
          var docRef = open(checkFile, opts1, false);                  
          docRef.close(SaveOptions.DONOTSAVECHANGES);                  
          actPagesCount = lastPageID;                  
          return;                  
          checkPage=0;                              
      } catch (exception) {
        // Look for next page        
        checkPage--;        
        getPagesCount(checkFile,checkPage);

  • Need script to place multiple single page pdfs in ID pages

    Does anyone know of a script that would place a whole folder full of single page pdf files into an indesign document one per page, alphabetically by pdf file name, and ideally add new pages as needed. The last part is optional, as the ID document could already have the required number of pages, all using the same master page with the the picture frame already in place.
    In my current project, the pdfs are all the same size as the ID document page size.
    This would be along the lines of the scripts that place multipage pdfs, but for single page ones. I have tried first creating a multipage pdf by inserting a folder full of single page pdfs at the end of an initial pdf. Acrobat 8 pro does this very well indeed, but selects the pages from the source folder in random order. I need them in alphabetical order.
    Thanks for any insight,
    Al

    For this project I could equally well use a script that would place or re link to a new pdf in a single page ID document, print device independent postscript with some sort of unique or sequential filename, and repeat the process for a whole folder of source pdf files. No new pages need to be added, and the new pdf could replace the prior one.
    What I am after is a device independent ps file for these pdf files. The ones produced by batch processing from Acrobat 8 Pro do not offer enough control, as in that method I would need *only* the black separation.
    Thanks,
    Al

  • Exporting a multipage InDesign document to single page PDFs but with unique filenames using scripts

    Hi,
    I'm using InDesign 5.5.
    My goal is to export a multipage InDesign file into single page PDFs but each single PDF must be uniquely named.
    For example;
    InDesignFileName_487275123.00.pdf
    InDesignFileName_734876882.00.pdf
    ...and so on.
    I've spent a great deal of time searching online and the closest I have found is  software called Output Factory which works fine.
    The way Output Factory works is by placing a script label within a textframe on the master page in InDesign. Then whatever is typed into the text frame on each the separate pages defines the file name of each separate page.
    However if I can solve this problem without any investment costs my boss will be very happy
    I found PEU5 which works great for exporting into single pages, it's now a case of naming each single PDF but I know nothing how about to create a script but I get the gist of what they do. My understanding is that a script could solve the second half of my problem.
    Can anyone help?
    Thanks.
    S

    Thanks Peter but but I don't think this is what I'm looking for.
    I did find this post http://forums.adobe.com/thread/841982 but I can't seem to get the script to work.
    This is the error message I get when I run the script... any ideas what I'm doing wrong?

  • Open multi page pdf specific page in Illustrator CS4 with apple script

    I need to open multi page pdf specific page in Illustrator CS4 with apple script. Is it something like this:
    activate  (open file theTargetFolder as PDF with options …).
    Thank you.

    Carlos,
    Muchas Gracias por tu colaboración y excelente script, el que se abra el ESTK no tiene mayor importancia.
    El caso es que Adobe recomienda encarecidamente NO utilizar Illustrator para editar PDFs, por diversas razones, aunque cuando no hay otro remedio o herramienta disponible, o conocida ...
    Para llegar aquí, aparte de San Google, hay que ir a Adobe.es (en mi caso), pestaña de Ayuda,  ..... (hasta aqui bien),
    luego hay que bajar hasta el final y ver Comunidad y Foros...... (esto puede ser)
    al pulsar aparacen un montón de foros se supone de programas pero en inglés,
    y la última línea es de International Forums,  ya casi hemos llegado)
    pulsamos entonces, y por fin se abren cuatro palabras con idiomas, en una dice: español      (casi no me lo puede creer)
    pincho y llego por fin aquí.
    Muy poca gente sabe de la existencia de este pequeño refugio, si a esta dificultad añadimos la peculiar forma de ser de la gente, ....

  • 600-page Fm file causes script to fail

    My script goes through all files in a book to find changebars. It works fine except when it tries to process two very large FrameMaker files, each one being almost 600 pages long. When I try to run one of these large files separately, it fails by not producing any output in the separate changes file into which I am pasting changed sections. There are changebars in the large file but nothing happens.
    But if I cut out about 100 pages from the file, then the script works and produces output in the changes file. I have watched the memory usage with Windows Task Manager when I run the full large file and it does not appear to be running out of memory.
    Any idea what might be causing this?
    Thanks,
    Mark

    Mark,
    Stranger things have happened and it is tough to troubleshoot from here. I'd suggest putting in some kind of debug routine to narrow down exactly where the problem is occurring. For example, in this case I would probably have my script select each paragraph as it walks through the source file, then pop up a confirm() box which aborts the script on No. That way, you can find out exactly where the script gets lost. At first, maybe have it stop every 10 paragraphs or so, since you have such a large file. It's a bit time consuming, but often it's what you have to do in this environment. You might be surprised what you find and it is possible that the file length is a red herring.
    Russ

  • Create a single tall image from a multi-page pdf file

    I would like to take a multi-pake pdf file, and have all of the pages "appended" from top to bottom edge to create a single tall image. I am a teacher, and I currently do this by hand, I am then able to annotate the entire page and croll down an entire document inside of Photoshop.
    Here is an example: I have a pdf with 4 pages. Currently I open the pdf in PS, I end up with 4 images; I adjust the vertical canvas size of one of the images to be 4 times it's original size, then one-by-one I copy the contents of each image to that new tall image and move that layer vertically below the previous one. So the result is say a 1024x6400 pixel image.
    I would like to be able to just open the pdf with a script and get this all done in one step.
    Any help is appreciated.

    Thanks again c.pfaffenbichler. I had most of it worked out in my own way before you got back to me, but I wasn't able to get the final naming part down.
    Like I said, I am a math teacher, and I use photoshop as my whiteboard, and draw with a graphics tablet. So I can print to pdf from any program, now I can import any document into photoshop basically to write on it. So this is wonderful. I have never seen another teacher use PS as a whiteboard in class in this way, so I am most likely the only person in my county or state that would need such a script.
    After I got everything worked out, I added some things to the script. Some of my colleagues will use my files as a whiteboard if I send it to them as a tall single page pdf that they can scroll down and write over; so they don't need photoshop. So I have scripted in the saving of that pdf as well. Here are my changes; most of what I changed is in the section commented MY WORK.
    // opens all pages of pdfs cropped to trimbox with set settings and arranges them;
    // 2011, use it at your own risk;
    #target photoshop
    // dialog for pdf-selection;
    var theFiles = app.openDialog();
    if (theFiles) {
         for (var m = 0; m < theFiles.length; m++) {
              var theFile = theFiles[m];
              if (theFile.name.slice(-4) == ".pdf") {
                   var thePdf = openMultipagePDF(theFile);
              else {alert (theFile.name + " is not a pdf-file")}
    ////// function to open all pages of a pdf //////
    ////// influenced by PlaceMultipagePDF.jsx //////
    function openMultipagePDF(myPDFFile) {
    // pdf open options;
         var pdfOpenOpts = new PDFOpenOptions;
         pdfOpenOpts.antiAlias = true;
         pdfOpenOpts.bitsPerChannel = BitsPerChannelType.EIGHT;
         pdfOpenOpts.cropPage = CropToType.MEDIABOX;
         pdfOpenOpts.mode = OpenDocumentMode.RGB;
         pdfOpenOpts.resolution = 247.8;
         pdfOpenOpts.suppressWarnings = true;
         pdfOpenOpts.usePageNumber  = true;
    // change pref;
         var originalRulerUnits = app.preferences.rulerUnits;
         app.preferences.rulerUnits = Units.PIXELS;
    // suppress dialogs;
         var theDialogSettings = app.displayDialogs;
         app.displayDialogs = DialogModes.NO;
    // iterate through pages until fail;
              var myCounter = 1;
              var myBreak = false;
              var theWidth = 0;
              var theHeight = 0;
              while(myBreak == false){
                   pdfOpenOpts.page = myCounter;
                   try {
                        var thePdf = app.open(myPDFFile, pdfOpenOpts);
                        if (thePdf.width > theWidth) {theWidth = thePdf.width};
                        var offset = thePdf.height;
                        thePdf.layers[0].name = myPDFFile.name+"_"+myCounter;
                        if (myCounter == 1) {
                             var theFile = thePdf
                        else {
                             thePdf.layers[0].duplicate(theFile, ElementPlacement.PLACEATBEGINNING);
                             thePdf.close(SaveOptions.DONOTSAVECHANGES)
                        myCounter = myCounter + 1;
                        var theLayer = app.activeDocument.activeLayer;
                        theLayer.translate(0, theHeight);
                        theHeight = theHeight + offset;
                catch (e) {myBreak = true};
    // reset dialogmodes;
    app.displayDialogs = DialogModes.ERROR;
    app.preferences.rulerUnits = originalRulerUnits;
    // resize canvas;
        theFile.resizeCanvas(theWidth, theHeight, AnchorPosition.TOPLEFT);
    //MY WORK
    // merge visible layers (even if there is only one layer)
         try     {
              theFile.mergeVisibleLayers();
              }catch(e) {}
    // create layer, rename, movetobottom, fill white
         theFile.artLayers.add();
         theFile.layers[0].name = "Background";
         theFile.layers[0].move(theFile.layers[1], ElementPlacement.PLACEAFTER);
         var white = new SolidColor();
         white.rgb["hexValue"] = "ffffff";
         theFile.selection.selectAll();
         theFile.selection.fill(white);
    //rename contents layer, add "work" layer for teacher to write on
         theFile.layers[0].name = "Problems";
         theFile.artLayers.add();
         theFile.layers[0].name = "Work";
    //force 2107 width
    //     if(theFile.width != 2107) theFile.resizeImage(UnitValue(2107, "px"), undefined, undefined, ResampleMethod.BICUBIC);
    // force 2048 width
         if(theFile.width != 2048) theFile.resizeImage(UnitValue(2048, "px"), undefined, undefined, ResampleMethod.BICUBIC);
    // save psd;
        psdOpts = new PhotoshopSaveOptions();
        psdOpts.embedColorProfile = true;
        psdOpts.alphaChannels = false;
        psdOpts.layers = true;
        psdOpts.maximizeCompatibility = true;
        var filePathPsd = myPDFFile.path+"/"+myPDFFile.name.slice(0, -4)+".psd";
        if (filePathPsd.exists) filePathPsd.remove();
        theFile.saveAs(File(filePathPsd), psdOpts, false)
    // save pdf whiteboard
        var pdfOpts = new PDFSaveOptions;
        pdfOpts.downSample = PDFResample.NONE;
        pdfOpts.optimizeForWeb = true;
        pdfOpts.PDFCompatibility = PDFCompatibility.PDF15;
        pdfOpts.preserveEditing = false;
        pdfOpts.encoding = PDFEncoding.PDFZIP;
        var filePathPdf = myPDFFile.path+"/"+myPDFFile.name.slice(0, -4)+" Whiteboard.pdf";
        if (filePathPdf.exists) filePathPdf.remove();
        theFile.saveAs(File(filePathPdf), pdfOpts, false)
        theFile.close(SaveOptions.DONOTSAVECHANGES)
    //MY WORK
         return theFile

  • Spawn page, PDF template in Adobe X

    Hi all, I am working on a PDF form where the user needs to be able to add more pages if they still have info to enter.  After researching this a bit, it seems the best way to go is to define the page as a PDF template, then copy that template to a new page when the user presses a button (using javascript). I am not a programmer at all, but I found this forum post: http://acrobatusers.com/forum/javascript/duplicate-current-page-5-times
    That gave me some code to work with, but the code doesn't work for me, even with the corrections and taking out the comments.  Any advice on how I can do this?? Thanks to anyone who responds.  Here is the code I am currently working with:
    function CopyPage(nPageNum, nTimes) {
       // create template from pagevar
       t = this.createTemplate({cName:"myTemplate", nPage: nPageNum });
       // hide
       templatet.hidden = true;
       // spawn nTimes pages from templatevar
       t = this.templates;
    var T = t[0];
       // get first templage
       for (var i =0; i < nTimes; i++)  {
          T.spawn({nPage: this.numPages, bRename: false, bOverlay: false });
       // remove the template
       this.removeTemplate({cName: 'myTemplate'});
       return;
    } // end CopyPage function 
    // code to call CopyPage functionCopyPage(5, 1);

    You cannot use the createTemplate method in a script that's attached to a button. You would have to create a folder level script, or better yet, make the page a template at design time so you don't need to do so at run time. If you know in advance that you want to possible create a new page, this is what you should do.
    Also, when spawning a new page with fields, you should set the bRename parameter to true. Otherwise, the values of the fields on the different pages will be the same, which is probably not what you want.
    Let's say that you made the page on which your button is a template, and gave it the name "myTemplate". A Mouse Up script that would add a single duplicate page after it would be:
    // Get a template object from an existing template
    var t = getTemplate("myTemplate");
    // Spawn the template on the page following this one, and rename the fields
    t.spawn({nPage: pageNum + 1, bRename: true, bOverlay: false});

  • Introducing: Open Multi-Page PDF win/mac

    Hi all, many users have expressed their desire for a way to open multipage PDFs in Illustrator and for a couple of years now, mac users have enjoyed the use of a script by Shane Stanley to do just that...at first I wanted to translate his script into VB so PC users could benefit from it...since I couldn't get the source code, I decided to give my own version a try using JS....here's the result.
    Use with caution, save everything before running until you're comfortable it won't mess things up. I didn't try opening a crazy amount of pages, I "only" opened 35 in about minute and a half. Let us know how many pages you're able to open before you crash Illustrator...
    it works with CS4 and CS5 only, windows and mac
    have comments?, questions? let me know...enjoy. Carlos Canto
    Download:
    http://www.fileswap.com/dl/QDc2eDC9v4/AI_openMultiPagePDF_CS4_CS5.zip.html

    Hey Carlos!
    Thanks...:)
    I am using my Macbook Pro running Lion 10.7.2.
    I downloaded the script and added it to the JavaScript folder (is this the right folder?)
    Opened Illustrator -> File -> Scripts -> Other Scripts -> (browsed for the script)
    Opened the pdf file in preview and noticed the amount of pages. Can the script have an autodetect so it selects all the pages in the pdf?
    Went back to the script dialog box and changed the To area to the amount of pages. Clicked Open.
    (I have a few 16 page pdf files that I need to change the logo for each page)
    Gradually it opened seemingly on top of each other. Clicked ok. 14 artboards from left to right. 2 artboards below on the left. Hmm I forgot how to adjust the layout of the artboards, can anyone give me the hint on doing so?
    I tested the script with 2 16 page pdf files and it looks good!
    Now if only you could add the script to Indesign as well...:) As I noticed that Indesign can not open pdf files.
    Have a great day!

Maybe you are looking for

  • Synching to a new computer

    Hello all, I have an iPhone that I have music on synched to a Windows PC.  I just bought an iMac and want to synch my phone to the iMac instead.  However, when I plug it in to synch, it wants to wipe my iPhone and use the music from the iMac (of whic

  • This Server has no web connection defined- Problem by publishing a web repo

    Hello. My problem is that when I create a query in the Bex and want to publish it on the web I get the error message: This Server has no web connection defined. When I enter the Url of a template directly in my browser it works. Where do I have to de

  • Arno's firewall - blocking ICMP?

    Hey all, I'm trying to block my computer from responding to ping requests. I've found what appears to be the relevant syntax for iptables, but I can't use it with Arno' firewall script, which obviously is what I'm using for the rest of the firewall.

  • WORKFLOW  FOR PARKED  DOCUMENT

    Hello all,    I need to know the customising settings for workflow on parked document.how  does the subworkflow  attached to thw wf element(variant) get triggered in my main workflow for posting  of  parked document(i have  modified teh std wf for pa

  • Mail boxes not being emptied

    I get daily emails that I need to delete some emails due to full mail boxes.  I have emptied all my mail boxes but still get the notices.  What is the clue to get this corrected?