Archive for the ‘Acrobat’ Category

h1

PDF: Corrupted image and lost links

January 16, 2013

A work colleague called me. She’d discovered that an image in the Word document she was creating a PDF from was corrupted in the resulting PDF. She tried creating the PDF using the PDF/A setting and that worked to a degree — the image was now OK, but she’d lost all her clickable links (Table of Contents, cross-references, etc.). She needed both an uncorrupted image AND clickable links, but couldn’t get both using the ‘save as PDF’ option in Word 2007.

I remembered this document — there were a couple of images in the document that weren’t really images; they were linked Visio objects. And the ‘corrupted’ image was one of these. I suspected that’s where the corruption was coming from, especially as she told me in her phone call that she’d saved the document to her desktop for the purposes of PDF’ing it (the document and the Visio diagram normally live in the client’s SharePoint site); that made me think that the link to the Visio diagram got broken in the process of creating the PDF.

I got her to save the document under a different name (just so she didn’t mess up the one she already had), then got her to copy the (Visio) image and paste it as a picture, then remove the original Visio image. Next I got her to try saving it as a PDF as normal (i.e. not PDF/A), and everything worked! The image was no longer corrupted and all her links worked.

Finally, I suggested that she speak to the author of the document to see if he really needed the linked Visio diagram — if it was unlikely to change, a static image (like the one she’d just created) would appear to be the same and wouldn’t corrupt in the PDF creation process; however, it wouldn’t be able to be edited from within the Word document.

As an aside, it’s likely she wouldn’t have had this issue if she had PDF’ed the document from within SharePoint as the links would have worked correctly. By copying the document to her desktop, it’s likely that those links got broken.

h1

Acrobat: Setting permissions on a PDF document

October 18, 2012

One of my clients asked:

I am saving a PDF file for registered users to download. I’ve set the settings so that people will not be able to edit the information. What other things should I be setting? Author’s details? I have no idea where that is located.

Here’s my response, with some instructions; .

I guess your main purpose in protecting the PDF is to prevent unauthorized copying and modifying, and to indicate authorship.

  1. Open the PDF in Acrobat Pro (these settings are the same in Acrobat 9 Pro and Acrobat X Pro, the two versions I tested).
  2. Go to File > Properties.
  3. Description tab: This picks up the title and author from the originating document (e.g. Word), but you can change that information here. Title and Author would be the main ones – personally, I don’t think you need to bother with the rest. That said, under the Additional Metadata button there are some copyright options. These don’t DO anything, expect add information that you provide about copyright. Be aware that ANYTHING published in Australia is automatically subject to copyright law, whether you have a © imprint/details proclaiming copyright or not.
  4. Security tab: Here’s where you can lock down your PDF. But be careful about locking it down too much. You may want to consider locking down Content Copying and Changing the Document.
  5. On the Security tab, go to Security Method and select Password Security. The Password Security — Settings dialog box opens.
  6. Go to the Permissions section of the Password Security – Settings dialog box and consider selecting Restrict editing and printing, then select one of the Printing Allowed options and Changes Allowed options.
  7. Consider turning off the Enable copying of text, images and other content check box, and consider leaving the Enable text access check box turned on.
  8. Add a password in the Change Permissions Password field (in the Permissions section). Make sure you note this password somewhere otherwise you won’t be able to copy the content etc. either. (Of course, you could always re-create the PDF from the original document if you forget the password.)
  9. Click OK to close this dialog box.
  10. Click OK on the warning message.
  11. Enter the document’s password you just set at Step 8 on the password confirmation popup box, then click OK.
h1

PDF won’t deal with Word landscape pages properly

October 11, 2012

One of my work colleagues sent me a Word 2007 document and its resulting PDF and asked me to see if I could figure out what was happening with two landscape sections.

Both sections looked like this in the PDF, though they looked perfectly fine in the Word document — notice how the two pages with the maps have headers and footers going off the page and that the page is the same dimensions as the Portrait-oriented page above:

I tried several things — re-creating the PDF using Acrobat, using Word’s PDF option, fiddling with the settings in Acrobat etc. all to no avail. In fact, for some tests, I just made it worse!

So I decided to take a closer look at the Word document, and there I found the problem. What appeared to be a landscape section wasn’t. It looked like a landscape section and when I checked the Orientation options on the Page Layout tab in Word, it said it was Landscape, but when I opened the Page Setup dialog box, all was revealed.

The first thing I noticed was that Portrait was selected, not Landscape, even though Landscape was showing as selected on the Orientation button on the ribbon. WTF?

So I checked the Paper tab settings. One of the authors had set a Custom size for the paper size and defined a width and height that matched a landscape A4 page, thinking they were doing the right thing, but in hindsight they weren’t — it was a case of a little knowledge is a dangerous thing!

Just in case this custom page size was the cause of the odd PDF, I changed the page orientation setting on the Margins tab to Landscape.

I then went to the Paper tab to change it back to A4, but it had automatically changed to A4 after I switched to Landscape:

The next test was to save the document and re-create the PDF. The landscape section that was misbehaving now worked fine! So I changed the other incorrectly defined landscape section in the document and re-did the PDF.

Everything was right with my world again! ;-) And my work colleagues were very happy.

Actually, it wasn’t quite right… I found that the PDFs I generated had a lot of excess space above the headers and below the footers throughout the document no matter which PDF creation method I used. I only did a couple of tests to see what was causing it. But I just didn’t have the time to investigate, so I opened the document on my other computer in Word 2010 and re-created the PDF from the default settings and it worked — all that excess space disappeared. I still don’t know what caused that space issue — maybe I’ll have time to investigate the reason next week when some of my deadline pressure is off.

Update: The excess space above/below the headers and footers was related to the track changes view. The document had Final Showing Markup selected on the Review tab in Word as the authors need to show the readers the tracked changes. When I changed the view to Final and re-created the PDF, all that excess space above/below the headers/footers disappeared (as of course, did the excess space on the right for the tracked change markups). But of course, the track changes weren’t visible now. I know that most of the PDFs created by my client have track changes showing and DON’T have this issue with excess space about the headers/footers, but I haven’t yet figured out why it did it with this document. More investigation required…

Update 2: Gerald (comment 1, dated 18 Oct 2012 below) suggested turning off the balloons for comments and formatting in the Track Changes settings in Word. I did, and it worked — the excess space above the headers and below the footers disappeared! This was in Acrobat Pro X and Word 2007. On my other computer, I have Acrobat Pro 9 and Word 2010 and I didn’t get the excess space issue; however, on checking my Word 2010 Track Changes settings, I saw that they were set to show balloons Never, so it looks as though that’s the critical setting. That said, why does Acrobat add space above/below the headers/footers when the Word setting for the balloons is 6.5 cm right (or left; there are no options for top/bottom)? Interestingly, I used the ruler in the PDF to measure the space above/below and both were about 3 cm, so it looks as though Acrobat is not only adding a 6.5 cm space to the right to accommodate the comment balloons, but also adding a combined 6.5 cm to the length of the page too. As a side note, when I turned off the balloons, any comments in the document remained hidden in the PDF — there was a marker to indicate there was a comment, but the comment wouldn’t display in the PDF at all.

h1

Inserting a ‘This page intentionally left blank’ message

October 3, 2012

When you have odd/even pages set for a Word document, and new sections or chapters starting on an odd page, you may get a blank page for a preceding even page (see here for a full explanation as to why this is so: http://cybertext.wordpress.com/2012/08/14/word-blank-pages-when-document-is-printed/).

Unfortunately, you can’t see the blank page in Word — you only see it when the document is printed, including ‘printed’ to PDF. In some situations (such as for legal or regulatory documents), you may want to indicate to the reader that the blank page is deliberately blank and that it’s not an omission.

There are a couple of ways you can add a ‘This page intentionally left blank’ type of message in Word, using VBA code or fields, but neither is particularly easy to implement, especially if you’ve already set up odd page section breaks:

However, if you have Adobe Acrobat (NOT Adobe Reader) there is a super easy way to insert such a message into a PDF of the Word document. And you can save the message for later use in the same document or other documents too.

The instructions below are for Acrobat Pro X — earlier versions of Acrobat also insert watermarks, but you may have to look under different options for that functionality (e.g. Acrobat 9 has it under Document > Watermark).

  1. Save the Word document as a PDF.
  2. Open the PDF in Adobe Acrobat (NOT Reader).
  3. Go to View > Tools > Pages (or click the Tools text on the right of the menu bar and then expand the Pages option).
  4. Click Watermark.
  5. Select Add Watermark.
  6. On the Add Watermark window, choose your settings. In the example below, I’ve entered ‘This page intentionally left blank’ as the watermark text and set the font, font color, and font size. I only wanted to put this watermark on a single page in the document (page 2), so I clicked the Page Range Options link (top right of the window), and set the page. I left all other settings as they were, then clicked OK. I could have saved this message and all its formatting for use later in this document, or in other documents.
  7. I now had a document with a message on the blank page:

No, I won’t comment on the absurdity of the page no longer being blank as now there is some text on it! The reality is that this is a convention that has been used for several decades at least, and is a known convention in legal and regulatory circles, and possibly military and other technical documents where it is important that the reader understands that nothing has been omitted inadvertently.

[Links last checked October 2012; thanks to Matt H for alerting me to this simple solution]

h1

Acrobat Help? Not very helpful

July 19, 2012

I needed to find something in the Acrobat Pro X online help, but instead of the Help loading and offering me a search function, I got this message:

Acrobat Help isn't very helpful if it requires internet access

I *was* connected to the internet, and I could access all sorts of sites. But no matter what I did, I kept getting this message and the Help never displayed.

Why oh why isn’t there an option to search the Help on my computer (assuming there’s a Help system for this application stored on my computer)? Why does the Help need to access the internet before it displays? Why didn’t it work even though I had access to the internet? What do people do who aren’t connected to the internet at the time they want to get Help (e.g. at a remote location, in a plane, in an area where access is unreliable, etc.)?

I’ve ranted about Adobe’s shifting of Help to ‘the cloud’ before (the horrible ‘Community Help’ used in Captivate 5: http://cybertext.wordpress.com/2010/12/06/captivate-5-first-experiences-of-using-community-help/), but this situation of not even being able to choose whether to view the locally installed Help or the Help available on the internet is doing a disservice to users.

While Microsoft also has internet-based Help as the default for their Office programs, you can change the option to search the locally installed Help instead.

Did I find my answer? Sort of, via someone’s blog via an internet search external to Acrobat. But it’s not the official Help, which is what I wanted.

[Link last checked 18 July 2012]

h1

How to find out author and date details for a PDF

July 13, 2012

Peter, a work colleague, wanted to know how to reference a PDF he’d located on a government website. There was no identifying information on the PDF — there was a date, a semblance of a title, but no authoring body, and the headers and footers offered only a variation of the title. He couldn’t guess the authoring body from the website address as this government department had changed names several times over the years since the publication date.

Here’s the top of page 1 of the PDF so you can see his dilemma:

No author information on the document

Fortunately, I was able to help him. By looking at the Document Properties for the PDF, I identified the author and the correct title for this document and Peter was able to complete his bibliography.

How?

First, right-click anywhere in the PDF and select Document Properties.

Open the PDF's Document Properties

Then check the details on the Description tab.

The Document Properties show the authoring body and the full title

In this example, the full title was listed (1), along with the correct authoring body at the time the document was created (2), and the date it was created (3).

By the way, I’m pretty sure that this information comes from the metadata of the original software that was used to create the document (e.g. Microsoft Word), so while it’s good that it’s available in the PDF’s document properties, don’t rely on it 100%.

h1

What was Adobe thinking?

January 13, 2012

What on earth was Adobe thinking when they decided to remove the search from the Adobe Reader toolbar (and Acrobat too, for that matter)?

Someone, somewhere decided that Adobe Reader X (that’s 10 for those of you counting) wouldn’t have a search box (or Find in their terminology), as previous versions of Adobe Reader did.

Here’s what you got in Adobe Reader 8:

And in Adobe Reader 9:

And here’s what you get in Adobe Reader X:

That’s right, NO search/find box or icons!! Nada. Nothing. Nil. Zip.

While you can get these search icons back on to the toolbar (see below for how), Adobe Reader is a ubiquitous program used by millions of people worldwide. Therefore, the user base is extremely varied and CANNOT be assumed to know how to put an icon back on a toolbar or to know about Ctrl+F! Geeks, nerds, techies, those angry/frustrated enough to search the internet will either figure it out or find it out. But what do the ordinary people do — those who aren’t big computer users or who aren’t very computer savvy beyond what they do on the computer regularly? People like my husband (who alerted me to the issue as he had downloaded Adobe Reader X, while I still had the older versions), my parents, my quilting friends?

PDFs aren’t the easiest things in the world to navigate and having a search facility on the toolbar is essential, in my opinion.

Well, the good news is that the search functionality hasn’t gone — it’s only the Find box that’s gone from the toolbar. You can get search icons back on the toolbar… (keep reading for how) and you can get the Find box back (Ctrl+F, or Edit > Find)  but you can’t put the Find box back on the toolbar. Instead, it hovers at the top of the viewport, just below the toolbar.

And it’s a pathetic excuse for a search box too. Why?

  • You can only move it sideways at the top of the viewport, but you can’t drag it onto the toolbar. You can’t move it up or down or dock it anywhere.
  • The area you type in is very narrow. Yes, it will take a long string of text, but you won’t be able to see it all. Ever.
  • The Previous and Next buttons are miniscule! I get heartily sick of programs that are designed for 20-year-old eyes. No-one is getting any younger and these tiny buttons are very hard to see and even harder to click correctly.
  • It’s in a pale, transparent blue so it could easily be missed by someone who doesn’t have 20/20 ‘normal’ vision.

Getting the search icons on to the toolbar

To add the basic search (Find) icon to the toolbar:

  1. Right-click in any blank area on the Adobe Reader toolbar.
  2. Select Edit > Find.

The Find icon is added to the toolbar. And no, you can’t shift it elsewhere on the toolbar — where it goes is where it stays.

To add the Advanced Search icon to the toolbar:

  1. Right-click in any blank area on the Adobe Reader toolbar.
  2. Select Edit > Advanced Search.

The Advanced Search icon is added to the toolbar. And like the Find icon, you can’t shift it elsewhere on the toolbar — where it goes is where it stays.

And while I’m having this little rant about Adobe, what’s with the inconsistent terminology? A basic search is called a ‘Find’ and an advanced search is called… an ‘Advanced Search’. Why not use ‘Search’ instead of ‘Find’? Two of the biggest search engines both use ‘Search’ and ‘Advanced Search’, so it’s not like it’s a hard term to understand or misinterpret. It’s harder to deal with inconsistent terms like ‘Find’ and ‘Search’ in the one menu list, in my opinion.

See also:

[Links last checked January 2012]

h1

Acrobat: Strange Word document header behaviour

August 18, 2011

Here’s a strange one that my client had today. Kate (not her real name) was trying to PDF a Word 2007 document, something she’s done hundreds, if not thousands, of times before. The Word document was based on our project’s template — again, something we’ve used thousands of times. So there was no reason why something would go wrong between saving the Word document and generating the PDF. But it did.

Here’s what Kate got on every odd page — the header was spread vertically much wider than it should have been ([1] in the screenshot below):

A further — unrelated — complication was that all the ‘Arial Bold’ fonts were rendered as some sort of serif font in the resulting PDF ([2] in the screen shot). I’ve dealt with that issue in this blog post: http://cybertext.wordpress.com/2010/08/09/default-vista-fonts-not-available-office-2007/ so I won’t discuss that further here.

I had no idea what was causing the headers to be messed up on all odd pages in all sections (and there were quite a few landscape/portrait sections in this 120p document) of the generated PDF. I had a quick glance at the Word document but as Kate had mentioned in her email, the document and its Print Preview view looked fine. It was only when she created the PDF that it got all messed up.

Without doing anything, I tried creating a PDF from the document too — I had full Acrobat installed on my computer, whereas Kate was using the Save As PDF option in Word. That made no difference.

Next, I selected the entire borderless table in one of the odd page headers. I noticed that the font size in a single cell was set to 7 pt Arial (as expected), but when I selected the entire table, the font size was blank, which told me that various font sizes (and perhaps styles) were applied to the different cells and end of row markers.

Once I selected the entire table, I manually changed the font to 7 pt for all elements of the table, then generated the PDF to see if that made any difference. I had no expectation that it would — but it did! Suddenly, the header displayed as it should in the PDF. That was a surprise.

So I went to the next section’s odd page header and reapplied 7 pt font size to its table and created the PDF again. Voila! It displayed correctly too, so then it was a case of going into every odd page header, selecting the header’s table and reapplying the 7 pt font size to the entire table. Finally, I created the PDF again, and it was all correct.

I sent back the revised Word document to Kate — along with the nice clean PDF — and she was very happy. She was on a deadline to get this PDF to the State and Commonwealth government regulators by tomorrow, so I saved her skin.

However, I really don’t know what caused the problem in the first place, and why reapplying a font size (NOT a style) fixed it. It was also one of those things where I really had no clue what had caused it or how to fix it — it was just a serendipitous fluke that I tried the font size. And that it worked.

h1

Word: Insert a multi page PDF

August 8, 2011

Word is kludgy (that’s a technical term!) when it comes to inserting objects from other applications — including from other Office apps. When you insert a file as an object, only ONE page of the file is displayed in Word. Too bad if your file has multiple pages… as most do.

Carol’s problem was with a multi page PDF she had created from Excel (the original was a large text table — nothing fancy). The spreadsheet was fairly wide, and she had created the PDF using an A3 paper size. The resulting document was seven pages long. She wanted to insert it in her Word document as an Appendix but to date it had beaten her. So she asked me for help.

And that’s when I discovered that Word’s ‘Insert Object from file’ function only inserts the first page of the file. Which is just stupid. And is just useless for most people in the business world where multiple page documents are the norm. (The links below this post  confirm that only one page is inserted — most of the information in these links is from Microsoft Word MVPs, people who have much more knowledge about this stuff than I do.)

I tested several options — I was able to get the PDF into the Word document, but not without a fair bit of trial and error. In essence, you’ll save the PDF pages as images, then insert those images into Word. I told you it was kludgy!

I’ve documented some methods below — the method YOU use will depend on the software you have. If you have full Acrobat (NOT Adobe Reader), then you have a better chance of getting a decent result, than if you don’t (use Method 1). If you don’t have full Acrobat, but have graphics software that will take screen captures, then use Method 2. And if you have neither full Acrobat nor a screen capture program, then you’ll have difficulty achieving your goal of inserting a PDF file into Word (see Other Options).

Method 1: Using full Acrobat

  1. Open the PDF in Acrobat (NOT Adobe Reader).
  2. Select File > Save As from the menu (I’m using Acrobat Professional 9, but later versions should work similarly).
  3. Click the drop-down arrow next to Save as type to see the available file types.
  4. Select one of these: JPG, PNG, or TIF.
    In my testing, the results from each file type were similar — TIF had a *slightly* crisper text quality and added about 700 KB to the Word document for EACH page saved from the PDF; JPG and PNG were similar in text quality (and only marginally fuzzier than TIF in the printed output) — they added about 900 KB and 150 KB respectively per page to the Word document’s size. I suggest you do your own testing of the on screen and printed resolutions of the various file formats to find the best for you.
  5. Click Save. Acrobat will create a separate image for each page in the PDF in the folder specified on the Save As dialog; e.g. <name of document>_Page_1.png etc.
  6. Open the Word document and insert the images into the document as you normally would. If the images are large (as Carol’s were), add an A3 landscape section for the images.

Method 2: Using a screen capture program

If you have a screen capture program such as SnagIt, you can ‘print’ to it from the PDF to create the individual images. If you know the output file type you want and if want SnagIt to sequentially number the files create, set up your printer output parameters in SnagIt beforehand (this is not essential).

  1. Open the PDF. You don’t need full Acrobat for this — Adobe Reader is fine.
  2. Select File > Print from the menu.
  3. Select the SnagIt printer drive from the list of printers on the Print dialog.
  4. Select the page range (it’s All by default).
  5. Click OK.
  6. An image of each page is captured according to your SnagIt printer defaults (if you set them), and the images are sent to SnagIt Editor, where you can modify them or save them as something else.
  7. Open the Word document and insert the images into the document as you normally would. If the images are large (as Carol’s were), add an A3 landscape section for the images.

Other options

Some other options for getting a PDF into Word include:

  • Wait until your Word document is PDF’ed, then add the pages of the existing PDF into it using Document > Insert Pages from the Acrobat menu.
  • Copy and paste the Excel table directly into Word — see http://cybertext.wordpress.com/2009/06/05/word-2003-import-an-excel-2003-table/
  • Select the text in the PDF, then copy/paste it into Word, OR save the PDF as a *.txt or *.rtf or *.doc file. Note: With any of these methods, you’ll lose some or all formatting, so only do this if the PDF is small and uncomplicated.
  • Insert the PDF as an object (linked or not) with an icon. However, it won’t print out the text when you print the Word document — you have to double-click the PDF icon first to open the PDF, print it out separately, then print the Word document.

See also:

Related:

[Links last checked August 2011]

h1

Acrobat: Reduce the file size of a scanned PDF

February 22, 2011

My friend and ex-roomie, Kristin, emailed me with a problem. She had a couple of large PDF documents and she wanted to know if I could reduce them in size without them ‘going fuzzy’.

The documents were a 2-page statement of academic and extra-curricula record from her son’s school, and his end of Year 12 school reference (1 page). Both had been scanned as images from the originals, and both were well over 4 MB in size, even though they were small in their number of pages.

I tried several methods using screen capture tools without much success, then remembered reading about something in Acrobat that compresses or reduces a file’s size. A quick hunt in the menus and I found it (in Acrobat 9 Professional, it’s PDF Optimizer under the Advanced menu).

I ran PDF Optimizer, leaving all the default settings as they were, and it reduced the file size for both documents to just over 200 KB each.

I was happy, Kristin was happy, her son was happy, and I didn’t even have to fiddle with any settings!

Follow

Get every new post delivered to your Inbox.

Join 228 other followers