• Post Reply Bookmark Topic Watch Topic
  • New Topic

large document printing

 
�yvind Valland
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I am currently writing a web application where I need to be able to provide a printing facility for orders that have been placed with the system within a specific time interval. As I would like to use the web-browser's print function, I wonder how I can organise the orders (on a web page) so that each begins at the top of a new page?
There are probably better ways of handling this, such as writing the orders to a file and then printing this instead... however, I really have no idea how to best handle this problem. Any suggestions? The basic requirement is that each order starts on a new page when printed.
Cheers,
�yvind
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most modern browsers will let you request new pages via CSS. Try googling css print page break or something like that.
 
�yvind Valland
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Duh!
In the words of T.H. Huxley (Colleague of Darwin): "How extremely stupid not to have thought of that!"
Thanks for your help!
�yvind
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!