Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using a feature in Word that has worked for me for more than a decade: in the Footer, I select "Insert", "Quick Parts", "Field..." then Field names: "Page". I type "of", then insert the "DocProperty Pages" field. Now, in the footer of page 3, for example, I see 3 of 5 (if the document has five pages). If the document grows, I "Select All" (Ctrl+A), then "Update" (F9).

In my current document, all works great until I print. The "Pages" field gets reset to 1 before it prints. After this, if I select it and update, it reverts to the correct value, but printing always resets it to 1. Anyone have an idea what could be going on?

share|improve this question
    
Does this (strange) behaviour apply to a document that was previously compliant and has not been changed recently? Has your printer changed? –  pnuts Jun 12 '13 at 20:51
    
Would you mind testing without Ctrl+A and F9 but by selecting "3 of 5" and Update Field? –  pnuts Jun 12 '13 at 21:02
    
@pnuts: This is a document I created from scratch. I'm working in a corporate environment, and there are a couple of laser printers I'm linked to more or less "permanently". As a test, I tried "printing" to a PDF document: same results. –  CHOeld Jun 13 '13 at 13:26
    
@pnuts: As for selecting "3 of 5" instead of Ctrl+A, that works, too. I can just select the "Pages" field by itself and update. That has all worked correctly. It's the resetting to "1" when I print that I don't understand. It must be something about this environment. –  CHOeld Jun 13 '13 at 13:29
1  
@CHOeld, Does this document differ in any way to the others? For example do you have a header/footer structure that is different to your other documents? –  Adam Jun 14 '13 at 0:15

1 Answer 1

Well, I seem to have a solution, even though some of this still doesn't make sense:

Someone here suggested I might be using the wrong field code for the number of pages in the document, so I went looking again through the field codes and Voila! There's one in the "Document Information" category called { NumPages }. As a test, I stuck it in the footer beside { Pages }, printed, and Lo and Behold, it doesn't get reset. Success. I'm guessing that this is the field code I've always used before, but didn't completely remember.

But the really weird thing is, with { NumPages } in there, { Pages } doesn't get reset. Go figure.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.