Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Basics / November 2006

Tip: Looking for answers? Try searching our database.

header and footer question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
normanstrong@comcast.net - 29 Nov 2006 20:04 GMT
I would like to center the following text when I print out a web file:

                                                            Page 1 of 3

According to the instructions, I should open File | Page Setup, then type in
this code:

&c Page &p of &P.

This should center the text in the middle of the page to look just like the
above.  It doesn't.  Instead it prints

c Page 1 of 3

left justified.

What am I doing wrong?  Also how come the instructions don't say anything
about using a capital letter P for the total number of pages?  I got that
info from an example in another document.

Thanks,

Norm Strong
Malke - 29 Nov 2006 21:05 GMT
> I would like to center the following text when I print out a web file:
>
[quoted text clipped - 18 lines]
> about using a capital letter P for the total number of pages?  I got
> that info from an example in another document.

I assume the program you are using is MS Word. If this is correct, you
should post in the Word newsgroup where you'll get the attention of the
Word experts (not me, sorry). None of the newsgroups to which you
crossposted are the right ones.

Of course there is the possibility you'll get an answer here, but you
have a greater chance of getting the help you need in the Word group.

Here is a list of all the MS newsgroups so you can find the one for
Word:

http://aumha.org/nntp.htm

Malke
Signature

Elephant Boy Computers
www.elephantboycomputers.com
"Don't Panic!"
MS-MVP Windows - Shell/User

Alan Edwards - 29 Nov 2006 21:09 GMT
What browser and what version?
I am using IE6 and it makes no mention of &c and it clearly states &P
for "Total number of pages"

...Alan
--
Alan Edwards, MS MVP Windows - Internet Explorer
http://dts-l.org/index.htm



>I would like to center the following text when I print out a web file:
>
[quoted text clipped - 19 lines]
>
>Norm Strong
Shenan Stanley - 29 Nov 2006 21:14 GMT
normanstrong wrote:
> I would like to center the following text when I print out a web
> file:
[quoted text clipped - 15 lines]
> anything about using a capital letter P for the total number of
> pages?  I got that info from an example in another document.

&b Page &p of &P.

not &c...
And they do tell you about the &P...

At least when you go into Page Setup, use the "?" in the top right corner to
get help in the header or footer areas...

Provides a space for you to type header text that will appear at
the top of the page, or footer text that will appear at the bottom
of the page.

To print specific information as part of the header or footer,
include the Following characters as part of the text.

Type this  To print this
-----------------------------
&w            Window title
&u            Page address (FJRL)
&d            Date in short Format (as specified by Regional Settings
                in Control Panel)
&D            Date in long Format (as specified by Regional Settings
                in Control Panel)
&t            Time in the Format specified by Regional Settings in
                Control Panel
&T            Time in 24-hour Format
&p            Current page number
&P            Total number of pages
&&            A single ampersand (&)
&b            The text immediately following these characters as
                centered.
&b&b        The text immediately following the First &b as centered,
                and the text following the second &b as right-justified.

Signature

Shenan Stanley
    MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html

normanstrong@comcast.net - 29 Nov 2006 23:28 GMT
> normanstrong wrote:
>> I would like to center the following text when I print out a web
[quoted text clipped - 50 lines]
> &b&b        The text immediately following the First &b as centered,
>                 and the text following the second &b as right-justified.

I got it to center.  I used the following:   &b Page &p of &P &b

It was necessary to use both &b.  Using only the first one right justified
everything.   This is contrary to the instructions.
So here's how it works.  With no &b, we get left justification; with a &b in
front we get right justification; with one before and one after we get it
centered.  e.g.  Page &p of &P left justifies everything.  &b Page &p of &P
right justifies everything.  &b Page &p of &P &b will center everything.
Adding &d to the end will give the date, right justified.

Thanks for your info, and I recommend changing the description following &b,
which should read "The text immediately following these characters is right
justified."

Norm Strong
Shenan Stanley - 29 Nov 2006 23:46 GMT
normanstrong wrote:
Shenan Stanley wrote
normanstrong wrote:
> I would like to center the following text when I print out a web
> file:
[quoted text clipped - 14 lines]
> anything about using a capital letter P for the total number of
> pages?  I got that info from an example in another document.

> &b Page &p of &P.
>
[quoted text clipped - 30 lines]
>                 centered, and the text following the second &b as
> right-justified.

> I got it to center.  I used the following:   &b Page &p of &P &b
>
[quoted text clipped - 9 lines]
> following &b, which should read "The text immediately following
> these characters is right justified."

*grin*
Don't recommend to me.
I didn't write them nor do I have any pull to do anything with Microsoft
products (especially older ones like Windows XP and IE 6. heh)

You are welcome.  Glad it helped.

Signature

Shenan Stanley
    MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.