[whatwg] [html5] window.print() undefined

On Tue, 19 Jul 2005, Dimitri Glazkov wrote:
>
> a) my invoice format requires a timestamp that says something like this: 
> printed by [person] on [timestamp].

This use case is being dealt with in the CSS paged media and CSS generated 
content specifications.


> b) To capture the essence of the browsing session, I would like to build 
> a breadcrumb at the bottom of the printed page, displaying titles and 
> urls of pages the user have visited on the site during this visit.

That seems like something that would be useful regardless of the medium. 
Put it in the content, and then hide it in the media you don't want it 
visible for, e.g.:

   @media screen {
      footer .breadcrumbs { display: none; }
   }


I agree that your use cases are real, don't get me wrong. I just don't 
think that it makes sense to consider them as being something you would do 
upon entering a print mode.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 19 July 2005 07:08:39 UTC