remove footer line on printed pages

  • Gasolene
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Nov 17, 2003
  • Posts: 39
  • Status: Offline

Post January 19th, 2004, 12:56 pm

We have a online web application that prints invoices/reports.

on the bottom of all pages there is a web address and the date printed,
is there a way to remove this?

I just use a simple javascript function to print
Code: [ Select ]
<a href="javascript:print();">print this page</a>


thnx[/code]
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 19th, 2004, 12:56 pm

  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Joined: Jan 14, 2004
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada
  • Status: Offline

Post January 19th, 2004, 2:28 pm

That will definitely be user-agent specific. IE may have something for this in an ActiveX control...

Why not use PDF technology? Check out APToolkit.Object for ASP. PHP has a number of great utilities, it would be better to search Google for them rather than me mention just a few.
  • Gasolene
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Nov 17, 2003
  • Posts: 39
  • Status: Offline

Post January 19th, 2004, 2:55 pm

thnx,

the problem is that this invoice page is dynamic, users see a sortable editable table. They can also update certain info.

a static pdf would probably not be what I am looking for.

I'v found alot of php print utilities that convert pages for printing, but none of them remove the browser added footer.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jun 15, 2003
  • Posts: 4583
  • Loc: Maryland
  • Status: Offline

Post January 19th, 2004, 3:49 pm

The reason you won't see any php scripts that will remove the browsers footer, is because the footer is client side, while PHP is server side. There is no way to do this besides disabling it in the print properties.
Pixel Acres V2
  • Gasolene
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Nov 17, 2003
  • Posts: 39
  • Status: Offline

Post January 19th, 2004, 4:15 pm

thnx,

I didn't even know you could disable it in page setup.
  • b_heyer
  • Web Master
  • Web Master
  • User avatar
  • Joined: Jun 15, 2003
  • Posts: 4583
  • Loc: Maryland
  • Status: Offline

Post January 19th, 2004, 7:51 pm

Well who knows about IE, but you can in Mozilla. Depending how "live" this stuff is you might be able to create the PDF's on the fly with PHP.
Pixel Acres V2

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: Kurthead+1 and 145 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.