Who is Hogging My File?

After working on your PDF file for a while, you are ready to save it back to the disk, but Acrobat greets you with an error message: “The document could not be saved. The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder”.

The document could not be saved. The fiel may be read-only, or anohter user may have it open. Please save the document with a different name or in a different folder.

And sure enough, you can save the file under a different name, or using the same name in a different folder. And, you also verified that the file is not read-only. What is going on here?

Let’s take a step back: The PDF file format is a binary format, and it’s quite complex. To make access to the contents of the file as fast as possible, Acrobat is actually working with the PDF file constantly, it’s jumping back and forth in the file and reading information from all over the file in order to display a page. Because of that, Acrobat does not write to a file that is marked as in use by a different application: It could potentially corrupt the data that this other program is trying to read. So, the big question is “What application is having a lock on our file?”.

When you look around your desktop, chances are that you will find a Windows Explorer window, in which a preview of your PDF file is being displayed. That’s the culprit! In order to generate the preview, Explorer reads the file and keeps it open. If you want to save your file, all you need to do is to disable this preview behavior:

Hide the preview pane

Click on the button indicated in the screen shot and select to “Hide the preview pane”. After that, you can save your file without any problems.

Posted in Acrobat, PDF | Tagged , , , , | 39 Comments

Duplicate a Page in Adobe Acrobat

Here is a little secret: It is very easy to duplicate a page in Adobe Acrobat and most Acrobat users don’t know about this trick.

Open up Acrobat and display the Page Thumbnails pane:

HandCursor

Before we talk about how to duplicate a page, we need to spend some time to understand what we are seeing in the Page Thumbnails pane. On a very high level, all pages in the currently open PDF file are reflected as thumbnails. When you look at the active page, there are a number of different things we can do with the thumbnail view:

If not the entire page is displayed in Acrobat (e.g. we are viewing a page with a zoom level of 400%), the portion that is being shown is indicated in the thumbnail view. In the above screen shot, we can clearly see that the top of the page is brighter than the bottom of the page. The other thing we see is that the cursor is a little hand… This usually means that we can grab something and move it around. When we click on that bright portion of the page and move the cursor, we can pan around on the page. This makes it very easy to e.g. switch to a high zoom level, and by moving this box to the area of the page we are interested in. No more fiddling with the scroll bars to locate that small detail on a page.

Once we move the cursor away from that highlighted portion of the thumbnail and on to the lower part, the cursor icon changes to an arrow:

ArrowCursor

When we now click, something different is happening: The thumbnail gets selected (indicated by the blue border around the thumbnail in the screenshot). When we click on a thumbnail that is not the active page, the cursor remains an arrow, and the page gets selected. This means that if we want to select a page that is not currently shown, it does not matter where we click, but for the active page, this is important.

If we want to select the current page, we need to make sure that we click on a portion of the page that is not currently being shown (or, we can simply change which page is active in Acrobat in order to being able to select a page).

With the arrow cursor active, we can click on a page and we drag that page. This moves the selected page to a different location in the current PDF file – or it copies the page into a different PDF file if we drag it into a different “Page Thumbnails” pane. I can for example move the first page to the end of the document. The place where the page will be inserted is indicated by a blue bar:

MovePage

So here comes the trick: When we hold down the Control key (or the Option/Alt key on a Mac) before and while we drag the page, that page gets duplicated: We are no longer just moving the page, we are inserting a copy of the page. Where that page gets inserted is again indicated by a blue bar:

CopyPage

There you have it, a simple way to duplicate a page in Acrobat.

Posted in Acrobat, PDF, Tutorial | Tagged , , , | 64 Comments

Escape from Uninstaller Hell

Disclaimer: This article demonstrates how to edit the Windows Registry. This is a dangerous thing to do. If you do not feel comfortable doing these kinds of system changes, please don’t proceed. If you do proceed, you are doing so at your own risk. I will not be responsible for things that get corrupted on your system. I’ve tested this on different computers over the years, so I know that it worked for me, but you may not be as lucky…

It does not happen often, but every now and then, when you try to uninstall Acrobat, the Windows installer is not willing to cooperate. This means it is impossible to uninstall Acrobat from your Windows system, and therefore, it is also impossible to re-install. I guess it happens more often if you install and uninstall Acrobat a lot – which is what I do when I need to switch e.g. from Acrobat XI back to Acrobat 9 to support one of my customers who has not yet upgraded, so I’ve encountered this a few times over the years.

In the past, Microsoft had the “Microsoft Installer CleanUp” utility, which is unfortunately no longer available. There is a new tool, but it is also possible to fix this situation manually with a bit of Windows registry editing.

As always, when you mess with the registry, bad things can happen, so make sure that you create a backup of the registry, a backup of your system and a restore point (and whatever other safety net you can think of) first. Once that is taken care of, it’s just a matter of removing one registry key and anything that is stored below that key. Here are the instructions about how to find the correct key and how to remove it:

Bring up the registry editor by going to the Start menu and typing “regedit” into the search field. This will should up one item, double-click on that to start the registry editor:

2014 01 05 13 46 17

Once the registry editor is up, navigate to this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer:

2014 01 05 13 58 40

Once you are in the right location, right-click on the “Installer” key and select “Find”:

2014 01 05 14 00 14

To find the correct key, you need to search for something that is specific to the version of Acrobat that is installed. For Acrobat X (as in this example) you would search for “Adobe Acrobat X”, for Acrobat 9, the search string would be “Adobe Acrobat 9”, and so on.

2014 01 05 14 00 32

After the first item is found, verify that the “DisplayName” property is set to your version of Acrobat:

2014 01 05 14 01 36

If this is not yet the case, search again by pressing F3 until you find the correct DisplayName.

The next step is where we remove this Installer key from the system. The item we just found is in the InstallProperties sub key of a key that has a name that consists of numbers and letters. The previous screen shot shows how we need to go one level up to (in my case) the key 68AB67CA330… It is the next level up from InstallProperties.

Now that we’ve identified the key that needs to be removed, we can just right-click on this key and select to delete:

2014 01 05 13 49 21

After a confirmation dialog, this key will be removed from the system.

The software is still on the computer, but the installer does no longer recognize it as installed. This means that we can now run the Adobe Acrobat installer and install the same version of the software that is already on the system. It is important that it is the same version so that the next uninstall operation will remove all those files that are still there. This will create the key that we just removed again, but it will also fix anything else that was wrong with the installation.

Now uninstall the Adobe Acrobat via the Windows control panel. After this, you can install again, or install a different version of Acrobat. Both installing and uninstalling should work again.

The whole process is a bit dangerous, because it manipulates the database that Windows uses to configure the operating system and the installed applications, but as long as you have a good backup, and verify that you are indeed only removing what is supposed to be removed, you should always be able to recover from any problems. But keep in mind, that at the end, you are responsible for what you do with your system, I will not be able to help you recover your data if something goes seriously wrong.

Posted in Acrobat, PDF | Tagged , , | Leave a comment

Paddle Mini PDF Bundle – Cheap, but is it worth your money?

We all like a bargain, and PDF software is usually not cheap, so when a nice discount comes along, it’s worth to take a look. 

Paddle, the bundler of Mac applications and design resources has a PDF mini bundle for $4. It includes two applications:

I am always interested in learning about new PDF tools, so I spent some time to see if these two applications are worth the money.

The applications certainly look interesting: 

PDF Protector

This tool is marketed as a simple tool to help you to protect and unprotect PDF documents. And it certainly does protect and unprotect files, but what you end up with is certainly not your document anymore. You may remember my post about how the Mac OS Preview application destroys PDF files. PDF Protector is built on the same technology as Preview, so when you protect your PDF file, the same damage is done as would be if you would save the file in Preview. This means that interactive elements and multi-media content will get corrupted. I’ve tried to protect a file that started out as a 350KB file containing form fields, JavaScript and video content. After running it through the PDF Protector – which overrides the original file without warning, just like Preview – I ended up with a file that was “squeezed” to 61KB. And of course, all that interactive content that I added was either gone, or got corrupted. 

PDF Squeezer

The PDF Squeezer is designed to reduce “the file size of large PDF documents.”, and it is doing that by “compressing images and removing irrelevant information”. The software allows you to specify a target resolution for images. In theory, this sounds good, but again, it uses the same technology as Preview, and it causes the same problems as Preview and PDF Protector. My sample PDF file (the same as used for PDF Protector) does not contain images, and I ended up with a file that was about 76% smaller – but interestingly enough the result was bigger than the file produced by PDF Protector (82KB).

The only redeeming quality of the PDF Squeezer is that it does not overwrite the original document – the user has to click on the “Save” or “Save As” button.

The Verdict

Don’t waste your money, save yourself four bucks and keep on looking for good and cheap PDF software. 

Posted in mac, PDF | Tagged , , | Leave a comment

No Signature Requred – The Mac Edition…

I’ve written about a solution for suppress the green “Signature field(s) detected” bar for Windows before. Adobe finally released some information about how to get rid of this bar on the Mac too:

Disable EchoSign Detection

This article shows how to apply the registry settings for Windows, but it also lists a way to modify the Feature Lockdown file to remove the green bar. The instructions only talks about Adobe Reader, the same change can be applied to Adobe Acrobat using the same instruction, but with “Adobe Acrobat XI Pro” (or Standard) in the first step. 

It is important to follow step 4 exactly, the new line needs to be inserted just before the final “>>” in the file. You can add line breaks to make things look better, or easier to insert the new content. Spaces, tabs and linefeeds will be ignored when this file gets processed. 

Posted in Acrobat, Apple, PDF | Tagged , | Leave a comment

Convert Documents to Grayscale in an Acrobat Action

Let’s assume you have a color document that needs to be converted to grayscale. The reason for this can be that it’s cheaper to print a grayscale than a full color document, or OCR results may be better when working with a grayscale document.

Acrobat Pro XI has all the tools to do that with one document using the “Convert Colors” tool, but how do you apply this change to e.g. all the documents in one directory?  Continue reading

Posted in Acrobat, PDF | Tagged , , , , | Leave a comment

Preview.app – Killer of PDF Files

How do you feel about an application saving changes to your files without you knowing? How about if that application is not just saving harmless changes, but in the process of doing so also rewrites the file and removes important information and corrupts the document?

I would say that this behavior is unacceptable. Continue reading

Posted in Acrobat, Apple, PDF | Tagged , , , , | 22 Comments

No Signature Required!

Update: Adobe released information about how to hide the green bar on the Mac as well, see this post for more information: http://khkonsulting.com/2013/07/no-signature-requred-the-mac-edition/

Adobe released the 11.0.3 update for Acrobat and Reader a few days ago, and ever since the complaints about a new green signature banner started to appear. It took me a while to figure out what’s actually going on here (especially since I had not yet seen that green bar with any of the documents I’ve opened). Here is what it looks like:

Sign here

Every now and then, it actually helps to read the documentation 🙂 – or, the release notes in this case: “11.0.3 Planned update, May 14, 2013Acrobat and Adobe Reader Release Notes” Continue reading

Posted in Acrobat, PDF | Tagged , , , | 14 Comments

The Trouble with Updates – Adobe Acrobat Updater Security Error

Have you seen this “Adobe Acrobat Updater” security error on your Mac running Mountain Lion?

SafariScreenSnapz031 Continue reading

Posted in Acrobat, Apple, mac, PDF | Tagged , , , , , , | 1 Comment

End of Life for Adobe Acrobat 9 Approaching Fast!

This is not really “news” – Adobe announced this in June last year – but in case you’ve missed this so far, here is a reminder: Adobe is ending support for Acrobat 9 and Reader 9 on June 26th, 2013. This is just a few weeks away…

What exactly does this mean?

  • no more technical support
  • no more product updates
  • no more security updates
  • no more updates to support new or modified operating systems

You may think that you can live without technical support (“Hey, it’s been years since I had to call Adobe support, I have a buddy who knows this stuff…”) or product updates (“Acrobat 9 has every feature I want and need…”), but you really should consider upgrading because of the last two bullet points: Security updates are important to not compromise your system and your documents. The bad guys know that there won’t be any more updates for Acrobat and Reader 9, so if somebody finds a security leak, they can exploit this without any risk of anybody shutting down this leak. And, because Adobe has no control over what Microsoft and Apple have up their sleeves, they cannot prepare for any OS updates that can potentially harm a perfectly fine Acrobat installation.

You may not think that you need to upgrade, but you should take a long and thorough look at what you risk by running a system that is no longer supported. If you have a licensed copy of Acrobat 9, you are eligible for the upgrade discount when you upgrade to Acrobat XI. That does not make it cheap, but certainly cheaper than having to deal with just one major problem you could have avoided by running the latest version of Acrobat.

If you are running Reader 9, there really is no reason to not upgrade: It’s a free download, so all you have to invest is some time and bandwidth. And, you are getting a bunch of new features that are well worth that time. For example, Reader XI lets you save a modified PDF file, so now you can fill in a form and save it locally, without that form being Reader enabled. You can also add text to a document, even if the document author did not enable the Typewriter tool.

So, be safe and upgrade.

Posted in Acrobat, PDF | Tagged , , | 4 Comments