Watermark PDF Action (Offset x,y now working)

I can create a watermarked PDF just fine, however, Automator freezes when I try to change the x and y offsets. As soon as I put the cursor in the box and try to change the value from 0, Automator will freeze.
Any workarounds?

I have played with that myself. Although it does seem to crash when you try to change those values you can still get it to work. For example, if I wanted to change the x offset to 50 I would select the current x offset then type 50. You'll see that when you type 50 it doesn't appear in the field and seems to lock up Automator... but that's OK. What you need to do after typing 50 press command-s on your keyboard to save the workflow, then press command-q to quit automator.
Now just open the automator workflow again and you will see that 50 is in the x offset field. So although it does appear to lockup, you can still save your change and quit automator. It's not a good solution but it works. You just have to save and quit and re-open the workflow every time you make a change.

Similar Messages

  • Watermark PDF action

    I am having trouble with the Watermark PDF action. Whenever I attempt to enter anything in the X or Y offset, the program locks up and I have to force quit. Anyone else experienced this?

    same problem here; this is the first time I've ever tried to use the feature, so I have no idea if it ever did work.
    The offset text boxes exhibit the problem. When I tried to reset the angle to 0 using the keyboard, once I typed "0", every key that I pressed added another zero into the box: tab, delete, return...you name it. Grumble.

  • Automator Watermark PDF Issues

    I just updated to Yosemite (OS X 10.10) and the Watermark PDF function in Automator has stopped working. Each time it gets to this function, it returns an error message. I have tried replacing the function and even rewriting the Automator sequence but have not had any luck. I have also confirmed that it is not a renaming issue with the file or a problem with the picture itself. Has anyone had this problem or could they suggest a solution?

    I have exactly the same problem!
    Upgraded to Yosemite last night (to 10.10.1 actually) and this morning the Watermark PDF does not work anymore!
    Exactly the same automator file that still worked yesterday!
    Although this is a simple automator sequence (open folder, get all the files, watermark and put the files in a different folder), it is mission critical for me.
    I'll post this problem in a few places and see if I get a response, if not its back to Mavericks tonight. Fortunately I have a Time Machine backup....

  • How can I add a picture to the Automator Action "Watermark PDF Documents.action"

    Looks like a bug: under 10.7.2 i cannot add a picture to the Automator Action "Watermark PDF Documents.action".
    Works perfectly under 10.6.8.

    Its a verified bug (Automator - Watermark PDF Documents).
    Please report to http://www.apple.com/feedback/macosx.html
    As a workaround, if you saved the Action in SL, option-click the action, navigate to the file "document.wflow", open in TextEdit, search for the key "fileNames" and replace your old image with the new

  • Watermark PDF Documents Service error

    Hello,
    I created a workflow application to watermark PDF's, and now I'm trying to create a service that does the same thing. The workflow works as an application, but the service is getting an error that reads: "The action “Move Finder Items” encountered an error." The service is included below. Please advise how to fix this, thanks!
    Watermark PDF Documents
    Compress Images in PDF Documents (as jpeg)
    Move Finder Items (to desktop, replacing existing files)
    Rename PDF Documents (replace existing files)
    Message was edited by: edawg467

    You're developing an application? Perhaps post here:
    Discussions > Developer Forums > Software Development 101
    http://discussions.apple.com/forum.jspa?forumID=728

  • Automator: Watermark PDF Documents not supplied required data?

    I want to create a letterhead background on a Numbers document so I can email a Numbers document on my letterhead. I haven't found an easy answer so far until I came across the Watermark PDF Document feature in Automator. That would work perfectly, problem is, I can't get it to work at all. No matter what I have added, subtracted or rearranged I get the same results....The action "Watermark PDF Document" was not supplied with the required data. I'm really not sure what I'm doing wrong. Can someone walk me through what it is suppose to look like? I want it as a printer workflow so I can just take the document I'm working on in Numbers, go to the print menu, as if I was going to "print" it in to Preview, and it will convert it to PDF then put the watermark on it. I have done lots of research to try and figure out what I am doing wrong...and I hope it's something really silly because I am getting so frustrated.
    Thanks!

    I couldn't find the QuickLook folder but I took a screen shot.
    What I am asking for is someone to tell me what the workflow should look like.
    I have tried
    -Get Specified Finder Items
    -Launch Application (Preveiw)
    -Watermark PDF Documents
    -Move Finder Items
    -Rename Finder Items/Rename PDF Documents
    -View Results
    ..and all combinations of those items. I tried Watermark PDF Documents by iteslef as a Print Plugin...it gets to Preview but there is no watermark.
    No matter what I try the same result happens "The action 'Watermark PDF Documents' was not supplied with the required data."
    I have tried JPEG and PNG images, several different files with different sizes, shapes and colors. I even tried the images you supplied above. It never works.
    I'd love for someone to be able to make it work on their computer then tell me how they did it so I can duplicate it. If if still doesn't work for me then I'll know it's something to do with my computer.

  • Configuration hint for PDF Action in 12.0.3 / 12.0.4

    A few hints how to configure the PDF Actions in xMII 12.0.3 and 12.0.4 because there are different confusing information around.
    There is an older note [1022113 |http://service.sap.com/sap/support/notes/1022113]for 12.0 - but don't make the mistake to use it. The attached .jar file makes problem in 12.0.3 / 12.0.4 and the information to use the current release of iText is also wrong.
    There is a newer note [1109054|http://service.sap.com/sap/support/notes/1109054] for 12.0 SP2.
    The attached PDFActions.jar file (as .zip) is correct.
    1) Download the .jar file
    2) Be sure to use the version 1.4.5 from iText: [http://downloads.sourceforge.net/itext/itext-1.4.5.jar|http://downloads.sourceforge.net/itext/itext-1.4.5.jar]
    3) Rename the file itext-1.4.5.jar to iText.jar
    4) Open a browser window and navigate to the SAP xMII Administration Menu at http://<server>:<port>/XMII/Menu.jsp.
    5) On the SAP xMII Administration Menu, choose System Management -> Custom Actions. The Custom Actions screen appears.
    6) To upload the .jar files to SAP xMII, click Upload. PDFActions.jar is the assembly .jar file, and iText.jar is the dependency .jar files.
    12.0.4
    This is ok for 12.0.3, but after an upgrade to 12.0.4 you cannot open the workbench because of a missing iTextAsian.jar. To avoid this you have to download [http://prdownloads.sourceforge.net/itext/iTextAsian.jar|http://prdownloads.sourceforge.net/itext/iTextAsian.jar].
    If you do it before step 6 above you have to use iTextAsian.jar as second dependency file.
    If the PDF actions are already deployed (for example in 12.0.3), you have to delete (don't forget to deploy after that) and to upload and deploy the three files again.
    Now it should work. Try the function "Generate Documentation" in a transaction in the workbench to test it.
    Regards,
    Markus

    Hi Markus Seeger 
    Thak-s for your little manual!
    It works also for SAP xMII 12.0.6!!!
    Does anybody know if its possible to send and email with more than one attachments?
    Thanks in advance.

  • Automator Watermark PDF Document

    WIth Lion I'm unable to add a .png file (or any image file) as a Watermark in the Automator action: PDF->Watermark PDF Document.
    This Worked for me in Snow Leopard.
    Can someone see if they get this to work?
    Tony

    Thanks.
    I already filed a bug report. 
    If you would like to also: http://www.apple.com/feedback/macosx.html

  • Automator - Watermark PDF Documents

    Since Lion, I'm unable to use the Auromator Action "Watermark PDF Documents"
    I can select a .png file for the watermark, but it does not list in the action (see below)
    Can someone confirm that they are also unable to get this action to work, as I would like to isolate this as a Lion issue and not a system issue on my end.

    The answer to your problem is also on this page:
    http://superuser.com/questions/384967/add-a-header-to-every-page-in-a-pdf
    You can use the Watermark PDF documents action in Automator to add an image on every page of a PDF file. You can specify location, scale, rotation, and opacity.
    Manually fixing the workflow for Mac OS X Lion
    Set up the entire automator workflow as you would, but skip adding the watermark image (you can't). Save the workflow to a file. Right-click the workflow in Finder and select Show Package Contents and navigate into Contents. Opendocument.wflow in a text editor, e.g. TextMate.
    The actual parameters and their values are stored in the ActionParameters dictionary. The relevant key isfilenames. By default, it looks like this:
    <key>ActionParameters</key> <dict> <key>angle</key> <integer>0</integer> <key>fileNames</key> <array/> <key>onePDF</key> <false/>
    Just edit the <array/> declaration and add all files as <string>s, like so:
    <key>fileNames</key> <array> <string>/Users/danielbeck/Desktop/test.png</string> </array>
    Save the file, and reopen the workflow in Automator. The image will be correctly listed, and you can fix its position and other properties, before you apply it.
    Remember that the workflow does not replace the input file as many others do, the output is written to a temporary file. Use the Move Finder Items action afterwards.

  • Automator Watermark PDF Workflow

    Seems with every major upgrade, Apple breaks the Automator Watermark PDF Workflow.
    Can someone test this workflow in Yosemite so I know if the problem I'm having is with OS X 10.10.

    Hello
    Under 10.6.8, Watermark PDF Documents.action/Contents/Resources/tool.py works happily without any errors when invoked as follows with a.pdf and watermark.png in ~/desktop/test/ :
    #!/bin/bash
    py='/System/Library/Automator/Watermark PDF Documents.action/Contents/Resources/tool.py'
    cd ~/desktop/test || exit
    args=(
        --input     a.pdf
        --output    a_wm.pdf
        --verbose
        --over
        --xOffset   0.0
        --yOffset   -150.0
        --angle     300.0
        --scale     0.3
        --opacity   0.1
        watermark.png
    "$py" "${args[@]}"
    If the said error – ValueError: depythonifying 'pointer', got 'str' – is raised at the line:
    provider = CGDataProviderCreateWithFilename(imagePath)
    I'd think it is because imagePath is not a C string pointer which the function expects but a CFStringRef or something which is implicitly converted from python string. Since I don't get this error with pyobjc 2.2b3 & python 2.6 under 10.6.8, it is caused by something introduced in later versions.
    Anyway, the statement in question may be replaced with the following statements if it helps:
    url = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, imagePath, len(imagePath), False)
    provider = CGDataProviderCreateWithURL(url)
    I modified the tool.py with these changes along with other minor fixes and run it successfully under 10.6.8. I'm not sure at all whether it works under later OSes as well. And even if it does, editing tool.py will require the Automator action to be re-codesigned.
    Here's the revised tool.py.
    #!/usr/bin/python
    # Watermark each page in a PDF document
    import sys #, os
    import getopt
    import math
    from Quartz.CoreGraphics import *
    from Quartz.ImageIO import *
    def drawWatermark(ctx, image, xOffset, yOffset, angle, scale, opacity):
        if image:
            imageWidth = CGImageGetWidth(image)
            imageHeight = CGImageGetHeight(image)
            imageBox = CGRectMake(0, 0, imageWidth, imageHeight)
            CGContextSaveGState(ctx)
            CGContextSetAlpha(ctx, opacity)
            CGContextTranslateCTM(ctx, xOffset, yOffset)
            CGContextScaleCTM(ctx, scale, scale)
            CGContextTranslateCTM(ctx, imageWidth / 2, imageHeight / 2)
            CGContextRotateCTM(ctx, angle * math.pi / 180)
            CGContextTranslateCTM(ctx, -imageWidth / 2, -imageHeight / 2)
            CGContextDrawImage(ctx, imageBox, image)
            CGContextRestoreGState(ctx)
    def createImage(imagePath):
        image = None
        # provider = CGDataProviderCreateWithFilename(imagePath)    # FIXED: replaced by the following CGDataProviderCreateWithURL()
        url = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, imagePath, len(imagePath), False)
        provider = CGDataProviderCreateWithURL(url)
        if provider:
            imageSrc = CGImageSourceCreateWithDataProvider(provider, None)
            if imageSrc:
                image = CGImageSourceCreateImageAtIndex(imageSrc, 0, None)
        if not image:
            print "Cannot import the image from file %s" % imagePath
        return image
    def watermark(inputFile, watermarkFiles, outputFile, under, xOffset, yOffset, angle, scale, opacity, verbose):
        images = map(createImage, watermarkFiles)
        ctx = CGPDFContextCreateWithURL(CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, outputFile, len(outputFile), False), None, None)
        if ctx:
            pdf = CGPDFDocumentCreateWithURL(CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault, inputFile, len(inputFile), False))
            if pdf:
                for i in range(1, CGPDFDocumentGetNumberOfPages(pdf) + 1):
                    image = images[i % len(images) - 1]
                    page = CGPDFDocumentGetPage(pdf, i)
                    if page:
                        mediaBox = CGPDFPageGetBoxRect(page, kCGPDFMediaBox)
                        if CGRectIsEmpty(mediaBox):
                            mediaBox = None
                        CGContextBeginPage(ctx, mediaBox)
                        if under:
                            drawWatermark(ctx, image, xOffset, yOffset, angle, scale, opacity)
                        CGContextDrawPDFPage(ctx, page)
                        if not under:
                            drawWatermark(ctx, image, xOffset, yOffset, angle, scale, opacity)
                        CGContextEndPage(ctx)
                del pdf
            CGPDFContextClose(ctx)
            del ctx
    def main(argv):
        verbose = False
        readFilename = None
        writeFilename = None
        under = False
        xOffset = 0.0   # FIXED: changed to float value
        yOffset = 0.0   # FIXED: changed to float value
        angle = 0.0     # FIXED: changed to float value
        scale = 1.0     # FIXED: added
        opacity = 1.0
        # Parse the command line options
        try:
            options, args = getopt.getopt(argv, "vutx:y:a:p:s:i:o:", ["verbose", "under", "over", "xOffset=", "yOffset=", "angle=", "opacity=", "scale=", "input=", "output=", ])
        except getopt.GetoptError:
            usage()
            sys.exit(2)
        for option, arg in options:
            print option, arg
            if option in ("-i", "--input") :
                if verbose:
                    print "Reading pages from %s." % (arg)
                readFilename = arg
            elif option in ("-o", "--output") :
                if verbose:
                    print "Setting %s as the output." % (arg)
                writeFilename = arg
            elif option in ("-v", "--verbose") :
                print "Verbose mode enabled."
                verbose = True
            elif option in ("-u", "--under"):
                print "watermark under PDF"
                under = True
            elif option in ("-t", "--over"):    # FIXED: changed to "-t" from "t"
                print "watermark over PDF"
                under = False
            elif option in ("-x", "--xOffset"):
                xOffset = float(arg)
            elif option in ("-y", "--yOffset"):
                yOffset = float(arg)
            elif option in ("-a", "--angle"):
                angle = -float(arg)
            elif option in ("-s", "--scale"):
                scale = float(arg)
            elif option in ("-p", "--opacity"):
                opacity = float(arg)
            else:
                print "Unknown argument: %s" % (option)
        if (len(args) > 0):
            watermark(readFilename, args, writeFilename, under, xOffset, yOffset, angle, scale, opacity, verbose);
        else:
            shutil.copyfile(readFilename, writeFilename);
    def usage():
        print "Usage: watermark --input <file> --output <file> <watermark files>..."
    if __name__ == "__main__":
        print sys.argv
        main(sys.argv[1:])
    All the best,
    H

  • I've recently noticed that since the last upgrade any links to pdf files on websited no longer work. All I get is a blank white page or a blank black page when I click on these links. Can I fix this?

    I've recently noticed that since the last upgrade any links to pdf files on websited no longer work. All I get is a blank white page or a blank black page when I click on these links. Can I fix this?

    YAY!! I have Safe mode!!
    um, now what?

  • Problem with PDF Actions in SAP MII 12.2

    hi all,
    I'm trying to generate PDF documentation work in 12.2 version of MII. Below are the steps followed as per note 1325997
    I've downloaded the PDF Actions files:
    Downloaded the iText.jar and iTextAsian.jar files.
    Custom action updated with PDFActions.jar as the assembly .jar file, and iText.jar and iTextAsian.jar as the dependency .jar files and Deployed the custom action.
    Workbench does show up with PDF action blocks like PDF Document, PDF Table...etc but seems to be an issue as these do not look like the standard actions with no icons attached to them.
    I've tried to create a new transaction and include any actions to the sequence, but no luck as it doesn't assigns the PDF action
    i've downloaded iText.Jar and iTeaxtAsian.jar files from iTEXT website. please inform if exact version i-e 1.4.5 files
    are available on SAP downloads (if any).
    Is anything missing..?
    Appreciate any efforts.....
    Regards,
    Zaigham

    Hi Zaigham,
    Follow the steps as mentioned below.
    1. Download PDFActions.jar as per SAP Note 1109054.
    2. Download iText 1.4.5 from http://www.java2s.com/Code/Jar/i/Downloaditext145jar.htm
    3. Download iTextAsian (Latest Version) from http://sourceforge.net/projects/itext/files/
        extrajars --> extrajars 2.0.zip
        After you unzip the files take only itext-asian.jar
    4. Rename itext-1.4.5.jar to iText.jar
    5. Rename itext-asian.jar to iTextAsian.jar
    6. Zip all the three files (PDFActions.jar, iText.jar and iTextAsian.jar) to one zip file and name it PDFActions.zip
    Final Step --> upload and deploy the zip file PDFActions.zip in MII custom Actions.
    Hope it solves your problem.
    Regards,
    Firoz.

  • How can I export to PDF for Offset printing including color and grayscale photo's?

    After reading dozens of forum, I still don’t found the answer.
    I made a photobook with full-colur and B/W photos for Offset printing. I want the B/W to be in grayscale to avoid color possible color shades. It seems InDesign doesn’t support grayscale, the images become way to dark. Even with exporting without any colour conversion or destination and/or including original colour profiles, the grayscale pictures are being exported to dark to PDF.
    How can I export to PDF for Offset printing including color and grayscale photo’s?

    Yes, the Photoshop & ID CMYK working spaces are the same
    This can get difficult because the 3 programs handle soft proofing differently.
    The working spaces don't matter, it's the document profile(s) that manage the preview. So here is the same grayscale image placed in ID on top and PS on the bottom. I've set my Photoshop info to show the doc profile in the lower left corner. I can see my InDesign's Document CMYK profile in my Proof Setup (the Working CMYK is different and isn't being used). Both profiles are effectively the same Coated FOGRA39 (Black Ink FOGRA in the case of PS).
    But the previews don't match because I have Overprint turned off, so the InDesign preview is Gamma 2.2 or a "screen" media preview.
    If I turn on Overprint preview I get a match because I'm soft proofing for print:

  • PDF Action configuration window is not opening

    Hi ,
    I am working on xMII 12.0.In the Logic editor PDF Action blocks when i click on configuration , window is not opening.But the Link editor is opening.It is only for PDF action blocks.can any one tell me the solution for this.
    Thanks&Regards
    Guru.

    I have sorted it. I played about with the apps window and found that PDF files were listed seperately to other adobe types in the list.
    With a bit of trial and error, I discovered that by setting the download window to open and save file in c:users/user/downloads, along with setting PDF files to 'always ask' in the apps tab - it worked again.
    Still don't know how it managed to change itself in the first place though!

  • Problem using Automator to create "Watermark PDF Documents"

    After having updated our macs from Mavericks to Yosemite, the "Watermark PDF Documents" using Automator is no longer working.

    Hi Miykael,
    Do you have flash player installed on your system for that browser? Did you tried accessing that pdf file from a different browser?
    I would also recommend you to refer this KB Document : https://helpx.adobe.com/acrobat/using/display-pdf-browser-acrobat-xi.html
    Regards,
    Rahul

Maybe you are looking for

  • Custom generic-column layout for entire workspace

    Hi, Currently, I use a generic-column layout (XSL-FO) for PDF printing in one of my applications. Is it possible to publish it so that it will be available to all applications in the same workspace? I use Apex 3.2.0.00.27. Also, I found that the same

  • Problems with OCI without an environment (ORACLE_HOME not set)

    System: Solaris 9, Sun-Fire-V440 Our application has Oracle 9i as one of the possible persistence backends. Oracle is not always available at all clients sites so we use dlopen/dlsym to access the required OCI functions in clntsh on demand. Moreover,

  • How to make multiple repeating pages for XML child nodes

    I have a schema that has many levels, and I am trying to have some of the child data print on separate pages. <As> <A id=1> <Bs> <B id=1 name="B1"> <Cs> <C id=1 name="B1C1" /> <C id=2 name="B1C2" /> <C id=3 name="B1C3" /> </Cs> </B> <B id=2 name="B2"

  • JCO Exception error

    Hello All, The below error comes very inconsistently in my portal system. It doesnt appear everytime. "Could not create JCoConnnection for logical system: WD_membercreatiion_MODELDATA_DEST - Model class..................................... Please ass

  • What are the possible LdapException.ErrorCode values when using System.DirectoryServices.Protocols?

    When making Ldap calls using the System.DirectoryServices.Protocols Namespace classes and a request generates an LdapException the ErrorCode property contains a numeric value describing the error. However, I cannot find any documentation describing w