Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 06:40 PM
Dustin D.
Guest
 
Posts: n/a
Default displaying page numbers on html

If a user prints an html file, is there a way to display page numbers
on the document using cascading style sheets or something of that
sort? I have a document that is generated dynamically by form data
using Perl, and would like some sort of page numbering system on each
page. It seems like some browsers have the option to print page #'s,
but at least Netscape 7 doesn't (and most of my users are primarily
unix-based).

I realize printing a document is somewhat outside of the realm of
HTML's grasp, but I was hoping maybe someone had a clever solution.
Since the content of the html is dynamic, formatting it so I know
where the page breaks occur is not easy. Not to mention, each version
of Netscape prints using a different font apparently.

Thanks,
Dustin
  #2  
Old July 20th, 2005, 06:41 PM
kaeli
Guest
 
Posts: n/a
Default Re: displaying page numbers on html

In article <7259a2ce.0402171429.566f22dc@posting.google.com >,
blackened@austin.rr.com enlightened us with...[color=blue]
>
> I realize printing a document is somewhat outside of the realm of
> HTML's grasp, but I was hoping maybe someone had a clever solution.
> Since the content of the html is dynamic, formatting it so I know
> where the page breaks occur is not easy. Not to mention, each version
> of Netscape prints using a different font apparently.
>[/color]

There is a way to control the font when printed (see stylesheet media
param). As to the page numbers, I don't think so.
http://www.meyerweb.com/eric/article...ev/200001.html


Asking this in comp.infosystems.www.authoring.stylesheets might be
fruitful.

--
--
~kaeli~
Who is General Failure and why is he reading my hard disk?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

  #3  
Old July 20th, 2005, 06:45 PM
Stan Brown
Guest
 
Posts: n/a
Default Re: displaying page numbers on html

It seems "Dustin D." wrote in comp.infosystems.www.authoring.html:[color=blue]
>If a user prints an html file, is there a way to display page numbers
>on the document using cascading style sheets or something of that
>sort?[/color]

No.

Most browsers do this, usually with information like date and URL.
It is a browser setting by the user, not anything set by the
document author.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles