Help formatting WEb pages for print

This is a discussion on "Help formatting WEb pages for print" within the Classic ASP section. This forum, and the thread "Help formatting WEb pages for print are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 29th, 2004, 14:18
New Member
Join Date: Apr 2004
Location: Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Help formatting WEb pages for print

I have a web application that creates legal documents. When printed it is about 65 pages. The clients want to have each page numbered. Aside from hard coding the page numbre 65 times(yeah right!) I need away to increment the page numbers at the bottom of each page.

I can use <tfoot> to place the numbers on each page but I can;t get them to increment. Can someone help, PLEASE!

Thanks,
Justin

  #2 (permalink)  
Old Apr 29th, 2004, 18:49
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I'm pretty sure you can't do this with code.

If using IE your client would need to go to: File>Page Setup...
Then for Footer put in something like "Page &p of &P", or just "&p"

A list of the codes for use in the header and footer can be found at:
http://www.pcabcs.com/realtour/page_setup_ie.htm
  #3 (permalink)  
Old Apr 29th, 2004, 19:10
New Member
Join Date: Apr 2004
Location: Canada
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks,

I was afraid of that! I found an article that said that about 30 minutes ago ... sigh!

Have to do something else
  #4 (permalink)  
Old Apr 29th, 2004, 19:27
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Depending on your hosting you might be able to generate a PDF file of the document that includes page numbers.
  #5 (permalink)  
Old May 1st, 2004, 19:28
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,952
Blog Entries: 7
Thanks: 7
Thanked 4 Times in 4 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Cant you use server side code to generate the printable version??

The server side code could place page numbers on there (ok, they'll be slightly above the footer, but does that matter)
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
  #6 (permalink)  
Old May 1st, 2004, 21:01
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
CSS2 has the functionality to do this I believe, but browser support is very limited.
  #7 (permalink)  
Old May 3rd, 2004, 19:32
New Member
Join Date: Oct 2003
Location: United Kingdom
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
You can force page breaks in CSS, from my experience it's not perfect though

http://www.htmlgoodies.com/beyond/css_print.html
http://www.w3schools.com/css/pr_print_pageba.asp
Closed Thread

Tags
help, formatting, web, pages, print

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Without Prompt chrisgeast JavaScript Forum 2 Sep 7th, 2007 10:34
Javascript - Updating web pages with snippets from other pages Ydot JavaScript Forum 3 Jul 10th, 2007 14:38
Designing Print Freindly Pages pa007 Website Planning 7 Apr 29th, 2007 22:13
Print ClaireB JavaScript Forum 2 Sep 9th, 2005 18:52
Scripting Needed(adding pages to pages) Amari Classic ASP 1 Sep 4th, 2004 18:06


All times are GMT. The time now is 15:43.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43