Page 1 of 1

Need to print with a twist

Posted: Wed Feb 13, 2008 5:35 pm
by micknc
I have created a script that querys mysql into a neatly aligned report for printing. This works great when I want to print one form at a time but I really need to add the ability to print multiple reports at one time.

For the example my report uses a GET function to access the proper records. I want to keep this form for printing single records but i would also like to add the ability to print all records between (lets say) 100 and 150 with one form submission. I could use a between variable in the my query but I think that would result in a mess with the form.

Currently I submit the form and use the browsers print option. I have been trying different things including the printer_open function but I think I need a new approach. I am not against using Java or even active X because this is an intranet site that we are using locally.

I have been at this form all day so there could be a very easy way to accomplish what I want but my brain is taxed.
Thanks for the advice,
Mick

Re: Need to print with a twist

Posted: Wed Feb 13, 2008 11:23 pm
by califdon
You'll need to give us a better idea of what sort of a report layout you now have and what you would like to have for a range of records and what would determine which records you would want for a particular report (probably not sequential, like 100 to 150, I should think).