header and footer question

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.

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
 
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
 
normanstrong said:
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.

&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.
 
Shenan Stanley said:
&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.

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
 
normanstrong wrote:
Shenan Stanley wrote
normanstrong said:
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.
&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.
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."

*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.
 
Back
Top