Hello all, I am using what might be a "poor mans" reporting... html -> print. Who knows a way to hide the browser-included header and footer of the print? thanks. -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer ------------------------------ Peter Fitzgibbons -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060210/5e2815a4/attachment.html
define <divs> arround your header and footer parts, and include a css file for print media... <LINK rel="stylesheet" type="text/css" media="print" href="/prntfriendly.css"> and define those div''s to be hidden on the printer friendly css file. JY On 2/10/06, Peter Fitzgibbons <peter.fitzgibbons@gmail.com> wrote:> > Hello all, > > I am using what might be a "poor mans" reporting... html -> print. > > Who knows a way to hide the browser-included header and footer of the > print? > > thanks. > > -- > ------------------------------ > Forget the icing. Bake the Cake! > - the epi-centered developer > ------------------------------ > Peter Fitzgibbons > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060210/a683a889/attachment.html
On 2/10/06, Joe Youngquist <joemanfoo@gmail.com> wrote:> > define <divs> arround your header and footer parts, and include a css file > for print media... > > <LINK rel="stylesheet" type="text/css" media="print" > href="/prntfriendly.css"> > > and define those div''s to be hidden on the printer friendly css file. > > JY > > > On 2/10/06, Peter Fitzgibbons < peter.fitzgibbons@gmail.com> wrote: > > > Hello all, > > > > I am using what might be a "poor mans" reporting... html -> print. > > > > Who knows a way to hide the browser-included header and footer of the > > print? > > > > thanks. > > > > -- > > ------------------------------ > > Forget the icing. Bake the Cake! > > - the epi-centered developer > > ------------------------------ > > Peter Fitzgibbons > > > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >What I meant was: The browser prints page-title and Page x of y on the "header" fo the printed page, outside of the content HTML, and prints the URL and Date on the printed "footer" outside of the content HTML. I''m looking for "generic" browser instructives to hide those browser-inserted elements. Any ideas? -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer ------------------------------ Peter Fitzgibbons -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060210/ecb17c4b/attachment.html
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: printsetup.png Type: image/png Size: 8228 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060210/96e8d1c6/printsetup.png
On 2/10/06, Joe Youngquist <joemanfoo@gmail.com> wrote:> > I''m pretty sure that those items are set up on the user''s end when > printing HTML pages...look in the properties of the print dialog it should > have some check boxes that ask to print the url of the page and page > numbers, etc. > > Attached is the dialog for Firefox 1.5+ print options...as far as I know, > there is no way to programically control with HTML the print options a user > has set for printing. > > JY > > On 2/10/06, Peter Fitzgibbons <peter.fitzgibbons@gmail.com> wrote: > > > > > > On 2/10/06, Joe Youngquist <joemanfoo@gmail.com > wrote: > > > > > > define <divs> arround your header and footer parts, and include a css > > > file for print media... > > > > > > <LINK rel="stylesheet" type="text/css" media="print" > > > href="/prntfriendly.css"> > > > > > > and define those div''s to be hidden on the printer friendly css file. > > > > > > JY > > > > > > > > > On 2/10/06, Peter Fitzgibbons < peter.fitzgibbons@gmail.com> wrote: > > > > > > > Hello all, > > > > > > > > I am using what might be a "poor mans" reporting... html -> print. > > > > > > > > Who knows a way to hide the browser-included header and footer of > > > > the print? > > > > > > > > thanks. > > > > > > > > -- > > > > ------------------------------ > > > > Forget the icing. Bake the Cake! > > > > - the epi-centered developer > > > > ------------------------------ > > > > Peter Fitzgibbons > > > > > > > > > > > > _______________________________________________ > > > > Rails mailing list > > > > Rails@lists.rubyonrails.org > > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > > > > > > > > > _______________________________________________ > > > Rails mailing list > > > Rails@lists.rubyonrails.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > > What I meant was: The browser prints page-title and Page x of y on the > > "header" fo the printed page, outside of the content HTML, and prints the > > URL and Date on the printed "footer" outside of the content HTML. I''m > > looking for "generic" browser instructives to hide those browser-inserted > > elements. > > > > Any ideas? > > > > -- > > ------------------------------ > > Forget the icing. Bake the Cake! > > - the epi-centered developer > > ------------------------------ > > Peter Fitzgibbons > > > > > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > >Thanks for the PNG. At least now I can suggest this for users. Once I use PDF I won''t have this issue. -- ------------------------------ Forget the icing. Bake the Cake! - the epi-centered developer ------------------------------ Peter Fitzgibbons -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060210/65d54987/attachment.html