PDA

Click to See Complete Forum and Search --> : Print in batch??


MrNorth
Feb 16th, 2004, 05:57 AM
I have a very tricky problem... I have a datagrid which displays orders. There is also a checkbox on each row for printing these orders. If the user checks the boxes for 3 orders, I want to print the information on 3 separate print jobs(or else they will ignore page breaks and I get details from two orders on one page.

I understand how to create a "printer friendly" version of one order and then just call window.print() and print it. But how to print 3 orders in a row??



I don'r expect and a swer... but anyways, thanks in advance

kind regards
henrik

hellswraith
Feb 16th, 2004, 10:22 AM
I use crystal reports now for showing stuff like that over the web. I can create a three page pdf document that when printed, looks much better than page output.

Other than that kind of solution, I wouldn't know how to do that unless you do some tricky javascript type work that will pause long enough for the first one to be printed, then go to the next.